Click here to Skip to main content
15,914,327 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
iam using ASP.net4 with SQLserver 2008r2 database.

i have designed a registration form in Asp.net FormView . the problem when arises
when i start debugging(F5), after i press the submit button to insert data to my
database this MessageBox appeares with 3 button (Break ,Continue , Ignore).
and the content of the MessageBox is in below:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.

of cource this message comes up in the page : ScriptResource.axd
Posted
Comments
DamithSL 1-Jul-12 5:20am    
Can you update the question with code sample on your submit button click?
mohammad ehsan 2-Jul-12 1:22am    
hi.sorry for being late , i didn't have access to internet
not only i can not update the question but ofcourse any data are not inserted into the database.

1 solution

Since you have not troubleshooted much (like any control existence or runtime data assignment, etc is causing it), have a look at these similar issues discussed and resolved:
http://forums.asp.net/t/1560074.aspx[^]
http://forums.asp.net/t/1299518.aspx[^]

Make sure any integer value if present/used is having a valid value and not an empty string.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900