Jump to content
Sign in to follow this  
Girish Dubey

System.FormatException with ScriptManager

Recommended Posts

String was not recognized as a valid DateTime.

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: String was not recognized as a valid DateTime.Source Error:

Line 68: <body onload="changeHashOnLoad();"> Line 69: <form id="form1" runat="server" class="w-wppr">Line 70: <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true"> Line 71: <Scripts> Line 72:

 

Share this post


Link to post
Share on other sites

we usually get "System.FormatException" when we call first time if we try again we get ok result. i am not able to understand how to manage this time of exception.

Share this post


Link to post
Share on other sites

Well, all I can say from what you posted is that something is expecting a DateTime but isn't getting it. I don't know which piece of code it's referring to, but a stack trace or something would probably help you narrow that down.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...