I am having some real problems with MSSQL2K and ASP (VBScript).
I have the following connection string:
oCon.Open "Provider=SQLOLEDB;Server=" & Session("ServName"
& ";Database=" & Session("DbName"
& ";User ID=" & Session("UserName"
& ";Password=" & Session("UserPwd"
& "; Connect Timeout=3600"
However, a few seconds into the script execution, it timesout with the error:
Microsoft OLE DB Provider for SQL Server error '80040e31'
Timeout expired
/ipc_dev/CloseRevisionAction.asp, line 79
The ASP has a timeout value of 3600, and so does the connection. I know the stored procedure runs fine, and it does take a while (copy databases, large scale updates etc).
Does anyone know how I can stop this annoyance? --BB
I have the following connection string:
oCon.Open "Provider=SQLOLEDB;Server=" & Session("ServName"
However, a few seconds into the script execution, it timesout with the error:
Microsoft OLE DB Provider for SQL Server error '80040e31'
Timeout expired
/ipc_dev/CloseRevisionAction.asp, line 79
The ASP has a timeout value of 3600, and so does the connection. I know the stored procedure runs fine, and it does take a while (copy databases, large scale updates etc).
Does anyone know how I can stop this annoyance? --BB