Getting error with VB program

Asked By 0 points N/A Posted on -
qa-featured

Hi Experts,

I was testing my program using Microsoft Visual Basic with Microsoft SQL as the database. My code used ADO transactions. I then encountered this error, see the message below. I went to the Microsoft Support website but not sure how to follow the resolution.  

I hope experts from this site will guide me to resolve the problem.

Thanks.

Microsoft Visual Basic

Run-time error ‘-2147408113 (8000fff)’:

ITransaction::Commit or ITransaction:: Abort was called, and object is in a zombie state.

SHARE
Answered By 0 points N/A #91620

Getting error with VB program

qa-featured

Hi Dear,

When you  registering out the different versions of controls Visual Basic may give some errors when you want to load your projects. Do like these statements and test after each.

Visual Basic may be using a Type Library cache file which refers to the wrong version of the control. These files have the extension OCA. Delete all the files having OCA files and preferably clean up the registry using RegClean from Microsoft. It will regenerate the OCA files as needed.

If you have like "License not found…"  and the VB installation is not working. The installation will not overwrite the files and does not install the licenses either. Than unregistered  the controls and remove them from the system folder. Now reinstall VB and try again, the control OCXs and licenses should have been installed. You can now replace them by new versions  of the controls if you want.  See this link Download Link

Related Questions