I\'m making a request from an UpdatePanel that takes more then 90 seconds. I\'m getting this timeout error:
Microsoft JScript runtime err
The problem you are facing is when your application runs into a timeout on a SQL database query. It's taking more time than the default to return the output. So you need to increase the ConnectionTimeout property.
You can do it in several ways:
A connection string has a ConnectionTimeout property. It is a property that determines the maximum number of seconds your code will wait for a connection of the database to be opened. You can set connection timeout in connection string section in web.config.
in .aspx page
You can set timeout in SqlCommand, where you are calling the stored procedure in .cs file.
command.CommandTimeout = 30*1000;
Hope you have a solution!