Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi-Step Operation Error on MTS

Status
Not open for further replies.

Hagop

Programmer
Mar 15, 2001
4
CA
Hi,

We are using a vb application to connect to MTS server that uses a DCOM object that's developed in VB. One of our classes on the MTS Server is bahaving kind of wierdly. When we try to save a transaction the server is returning an error: "Multi-step operations generates error, check status value" error #: -2147217887

We tried every trick in the book still the same problem...

Thank you for your help!

Hagop Hagopian
hhagopian@gsi.ca
 
Does the class contain a ADODB.recordset with an Update method??

Jordi Reineman
 
I have the same problem when connected to MySql!

The class does contain an ADODB.recordset with an Update method.

Can anyone help ?

Dominic
 
Client creating the adodb.recordset and passed it to dll reside in the MTS. Please make sure, the adodb.recordset field type doesn't have adBSTR defined, instead use adVarChar with appropriate length. I face the same problem when trying to construct the SQL statement.
The best way is to get the Database structure by executing this SQL and asigned to recordset - select * from <tablename> where 1 = 2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top