I created a Stored Procedure that will restore a database backup with a new name.
I can run the SP successfully with Query Analyzer (it is fast, around 10 seconds).
When I trigger it in my ASP page, it runs for about 30 seconds then I got the error message:
"Microsoft OLE DB Provider for ODBC Drivers error '80040e31'
[Microsoft][ODBC SQL Server Driver]Timeout expired "
I ran the following command in Query Analyzer:
exec sp_configure 'resource timeout', 150
RECONFIGURE
But this doesn't help.
Also In my connection string, I set "connectionTimeout=100".
Can anyone tell me how to solve this problem?
I can run the SP successfully with Query Analyzer (it is fast, around 10 seconds).
When I trigger it in my ASP page, it runs for about 30 seconds then I got the error message:
"Microsoft OLE DB Provider for ODBC Drivers error '80040e31'
[Microsoft][ODBC SQL Server Driver]Timeout expired "
I ran the following command in Query Analyzer:
exec sp_configure 'resource timeout', 150
RECONFIGURE
But this doesn't help.
Also In my connection string, I set "connectionTimeout=100".
Can anyone tell me how to solve this problem?