Click here to Skip to main content
15,881,764 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

I'm working on voucher entry form in asp.net in ajax(using pagemethods, update panel, script manager), while click on save button it will show the connection was reset.

The connection to the server was reset while the page was loading.
* The site could be temporarily unavailable or too busy. Try again in a few moments.
* If you are unable to load any pages, check your computer's network
connection.
* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
plz help me

now in my web.config file I used
---<appsettings>
      <add key="ConnectionInfo" value="Data Source=PENTIUM-SERVER\SQL2005;UId=lotus;Database=lotuscurrent;password=123;Max Pool Size=300" /></appsettings>
Posted
Updated 26-Oct-10 21:58pm
v3
Comments
Sunasara Imdadhusen 27-Oct-10 3:08am    
Send complete exception detail. and provide more details if possible
Mohd Wasif 27-Oct-10 3:27am    
U might be having problem in connection.Provide the code u so that to be answerable.
Brij 27-Oct-10 3:48am    
There is problem in exception. try ddebug and check. Also post the details of exception
Dalek Dave 27-Oct-10 3:59am    
Edited for Grammar and Readability.
Also improved Code Block to actually show the code used.
ShashankSinghThakur 27-Oct-10 4:30am    
i think do u have some connectivity issue with sqlprovider

In connection string give the connection timeout = 0

SqlConnection conn = new SqlConnection("connectionstring");
conn.ConnectionTimeout = 0;

that mean unlimited timeout
 
Share this answer
 
Maybe this error message is not becuase of SqlServer conncetion and it is related to Ajax ,
first you must test your app without Ajax , and after that use the ajax tools in Asp.net to ajaxify your app.
 
Share this answer
 

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



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