VBdotnet2005
asked on
Getting System.Runtime.InteropServices.COMException
One of my windows app keeps getting this error below. Is it on just a sql time out right? Could it be anything else?
System.Runtime.InteropServ ices.COMEx ception (0x80040E31): [Microsoft][ODBC SQL Server Driver]Timeout expired
at ADODB.RecordsetClass.Open( Object Source, Object ActiveConnection, CursorTypeEnum CursorType, LockTypeEnum LockType, Int32 Options)
System.Runtime.InteropServ
at ADODB.RecordsetClass.Open(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry, you did not specify anywhere that you were working with a web application. I have no idea how to deal with these things in ASP.
ASKER
cmd.commandtimeout = 30 for 30 seconds?