This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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 replies
  • 3 have this problem
  • 5 views
  • Last reply by 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

Chosen solution

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.

Read this answer in context 👍 2

All Replies (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

Chosen Solution

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.