Link to home
Start Free TrialLog in
Avatar of FineticSpeller
FineticSpeller

asked on

SharePoint 2007 Edit Form Error

I have two heavily customized lists in a SharePoint 2007 MOSS Standard environment. Both lists were working fine for awhile then some users started to report an error when they tried to edit an existing list item. (I'll paste the error received below). The error is very much intermittent, sometime it happens and sometimes it won't. I've notice that the error most frequently occurs when either one of the list is first opened. I can open an item, put it in edit mode, click "OK" (with or without actually making a change to the item) and it may or may not throw the error below. Sometimes, if the error is thrown, if I go back to the All Items list view, open the SAME list item in edit mode, click ok, the action goes through and returns me to the All Items list view.
Also, I've disabled any workflows associated with the lists and removed the javascript I added to the Editform for more form validation.

I can't find any information about this on the internet and its had me stumped for some time now as its been difficult to troubleshoot what needs to be changed since sometimes the error happens and sometime it doesn't.
Please Help!!

This is the Error Received:

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) +7471479
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
   System.Convert.ToInt32(String value, IFormatProvider provider) +48
   Microsoft.SharePoint.WebControls.ItemHiddenVersion.OnLoad(EventArgs e) +293
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Version Information: Microsoft .NET Framework Version:2.0.50727.3623; ASP.NET Version:2.0.50727.3618
ASKER CERTIFIED SOLUTION
Avatar of Guru Ji
Guru Ji
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of FineticSpeller
FineticSpeller

ASKER

Thanks so much!!! That solved the issue!!