Illegal operation error in SQL Server with VB component under MTS 
Author Message
 Illegal operation error in SQL Server with VB component under MTS

Hii    

I am using MTS transaction server with Visual Basic 6.0 to create a
sample application. I have made a ActiveX Dll component which sends a
message in a message queue and after that it opens a SQL connection and
does some work on it.The ActiveX Dll is a apartment threaded. The
interface is marked as multiuse and requires transaction.The MSMQ
message sending works fine but after that if i open SQL Connection using
ADODB recordset Open method i get the error :[Microsoft][ODBC Driver
Manager] Illegal operation while in a transaction server component
transaction, Error Number = -2147168246. If i remove the MSMQ code than
it works fine. I have made a client Standard Exe which just calls this
interface method.

Hope I m clear. Thanx
Pinakin Shah



Sat, 22 Jun 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Illegal operation error with VB OCX in dialog

2. Illegal operation error with VB OCX in dialog

3. MTS Components can't see remote SQL server

4. Cancel button gets Illegal operation error--Word 97

5. Error handling and Illegal Operation

6. Illegal Operation Errors(Crystl32.ocx and dbgrid.ocx)

7. Error 656 Operation illegal on linked parameter

8. Error : pvbload.exe performed illegal operation!!

9. Trapping error number from MTS VB component

10. VB MTS Component error 429 and 0x80004015

11. Trapping error number from MTS VB component

12. IE illegal operation after installation of Vb Package

 

 
Powered by phpBB® Forum Software