Sign in to follow this  
Followers 0
Girish Dubey

System.FormatException with ScriptManager

4 posts in this topic

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

Which piece of code expects a DateTime object?

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0