Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

FF opens all sites save one which opens with Chrome; FF in another machine opens up site normally "Input string not in correct format".

  • 6 个回答
  • 3 人有此问题
  • 4 次查看
  • 最后回复者为 FredMcD

more options

I scrapped Chrome and moved to FF. All book marked sites work save one. However this works on the same machine using Chrome. It also works on another machine which has FF installed. The problem must lie with a config file on this machine. I have tried re-setting FF - no change. Stumped!

The message presented is as follows:-

Server Error in '/' Application. Input string was not in a correct format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FormatException: Input string was not in a correct format.]

  System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7476535
  System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
  System.Int32.Parse(String s) +23
  net.johnhenry.website.SiteBasePageClass.<get_recently_viewed_navigation_tree_codes>b__1d(String c) in C:\Users\Choo\Desktop\JOHNHENRY\projects\rac_external_promotion\root-mainsite\common\template\classes\SiteBasePageClass.cs:91
  System.Linq.WhereListIterator`1.MoveNext() +84
  System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +7674568
  System.Linq.Enumerable.ToList(IEnumerable`1 source) +61
  net.johnhenry.website.SiteBasePageClass.get_recently_viewed_navigation_tree_codes() in C:\Users\Choo\Desktop\JOHNHENRY\projects\rac_external_promotion\root-mainsite\common\template\classes\SiteBasePageClass.cs:91
  net.johnhenry.website.SiteBasePageClass.AddCurrentPageToRecentNavigationTreeCodesAndSetCookies() in C:\Users\Choo\Desktop\JOHNHENRY\projects\rac_external_promotion\root-mainsite\common\template\classes\SiteBasePageClass.cs:317
  net.johnhenry.website.SiteBasePageClass.Page_PreInit(Object sender, EventArgs e) in C:\Users\Choo\Desktop\JOHNHENRY\projects\rac_external_promotion\root-mainsite\common\template\classes\SiteBasePageClass.cs:262
  System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
  System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
  System.EventHandler.Invoke(Object sender, EventArgs e) +0
  System.Web.UI.Page.OnPreInit(EventArgs e) +8781854
  System.Web.UI.Page.PerformPreInit() +31
  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282


Afraid well beyond my pay grade!

Thanks Mouson

I scrapped Chrome and moved to FF. All book marked sites work save one. However this works on the same machine using Chrome. It also works on another machine which has FF installed. The problem must lie with a config file on this machine. I have tried re-setting FF - no change. Stumped! The message presented is as follows:- Server Error in '/' Application. Input string was not in a correct format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.FormatException: Input string was not in a correct format. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [FormatException: Input string was not in a correct format.] System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7476535 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119 System.Int32.Parse(String s) +23 net.johnhenry.website.SiteBasePageClass.<get_recently_viewed_navigation_tree_codes>b__1d(String c) in C:\Users\Choo\Desktop\JOHNHENRY\projects\rac_external_promotion\root-mainsite\common\template\classes\SiteBasePageClass.cs:91 System.Linq.WhereListIterator`1.MoveNext() +84 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +7674568 System.Linq.Enumerable.ToList(IEnumerable`1 source) +61 net.johnhenry.website.SiteBasePageClass.get_recently_viewed_navigation_tree_codes() in C:\Users\Choo\Desktop\JOHNHENRY\projects\rac_external_promotion\root-mainsite\common\template\classes\SiteBasePageClass.cs:91 net.johnhenry.website.SiteBasePageClass.AddCurrentPageToRecentNavigationTreeCodesAndSetCookies() in C:\Users\Choo\Desktop\JOHNHENRY\projects\rac_external_promotion\root-mainsite\common\template\classes\SiteBasePageClass.cs:317 net.johnhenry.website.SiteBasePageClass.Page_PreInit(Object sender, EventArgs e) in C:\Users\Choo\Desktop\JOHNHENRY\projects\rac_external_promotion\root-mainsite\common\template\classes\SiteBasePageClass.cs:262 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Page.OnPreInit(EventArgs e) +8781854 System.Web.UI.Page.PerformPreInit() +31 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282 Afraid well beyond my pay grade! Thanks Mouson

被采纳的解决方案

Nice building.

Many site issues can be caused by corrupt cookies or cache.

  • Clear the Cache and
  • Remove Cookies Warning ! ! This will log you out of sites you're logged in to.

Type about:preferences<Enter> in the address bar.

  • Cookies; Select Privacy. Under History, select Firefox will Use Custom Settings. Press the button on the right side called Show Cookies. Use the search bar to look for the site. Note; There may be more than one entry. Remove All of them.
  • Cache; Select Advanced > Network. Across from Cached Web Content, Press Clear Now.

If there is still a problem, Start Firefox in Safe Mode {web link} While you are in safe mode;

Type about:preferences<Enter> in the address bar

Select Advanced > General. Look for and turn off Use Hardware Acceleration.

Poke around safe web sites. Are there any problems?

Then restart.

定位到答案原位置 👍 2

所有回复 (6)

more options

Hi I went on the MS site and saw KB article about using aspnet_regiis -ir to install ASP.NET (again) but that didn't work. I then looked at Private New Tab and it worked - I managed to get on to the website. But it still doesn't work going in the regular way. Hope this helps someone to explain what to do. Mouson

more options

Please post the web link. Also, open that bookmark properties and make sure the link is not corrupted. You can also try to create a new bookmark after going to the site manually.

more options

Hi FredMcD - Thanks, Bookmark: http://www.royalautomobileclub.co.uk/index.asp Direct: http://www.royalautomobileclub.co.uk/index.asp

Both ways do not work on this machine But same Direct Entry into another browser on this machine or another machine works.

An addition puzzle is that by saying "open as a private window" works... I have gone to the site as a "private window" opened the site successfully and book marked the page. But after closing and trying to reopen I get the same error.

Mouson

more options

选择的解决方案

Nice building.

Many site issues can be caused by corrupt cookies or cache.

  • Clear the Cache and
  • Remove Cookies Warning ! ! This will log you out of sites you're logged in to.

Type about:preferences<Enter> in the address bar.

  • Cookies; Select Privacy. Under History, select Firefox will Use Custom Settings. Press the button on the right side called Show Cookies. Use the search bar to look for the site. Note; There may be more than one entry. Remove All of them.
  • Cache; Select Advanced > Network. Across from Cached Web Content, Press Clear Now.

If there is still a problem, Start Firefox in Safe Mode {web link} While you are in safe mode;

Type about:preferences<Enter> in the address bar

Select Advanced > General. Look for and turn off Use Hardware Acceleration.

Poke around safe web sites. Are there any problems?

Then restart.

more options

Hi Fred McD - Thanks very much - all working normally now. It is a beautiful building, the last exhuberent display of the Edwardian era - built before the Great War in an epoch that is so different to this... A lot of French influence, one of the architects was in fact French - maybe the most exciting things come out of Anglo-French cooperation... Concorde, The Tunnel and so on... Thanks again. Mouson.

more options

Glad to help.