Monday, October 18, 2010

SQL ERROR: Cannot create new transaction because capacity was exceeded

PROBLEM:
I get this error: Cannot create new transaction because capacity was exceeded. when I do an ADODB BeginTrans.

SOLUTION:
I do not understand why, but apparently, it is because the cursor adUseServer doesn't seems to support it. I have to switch to adUseClient for the purpose of the BeginTrans/Commit; and later switch back to adUseServer for regular statements.

ENVIRONMENT:
I uses MDAC 2.8 on Microsoft SQL Server 2008 and ASPX. I notice this happens after I apply some patch on the Windows 2008 Web Edition.

No comments:

Post a Comment