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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MTS/SQL/ADO Error

Status
Not open for further replies.

gliderjockey

Programmer
Sep 14, 2000
2
US
Hi,

I have an installation running VB6, ADO 2.5, SQL Server 6.5, and MTS. I am getting a wierd error from a VB6 business object that tries to add a record to a SQL table: The error message states:

The request for procedure XX failed because XX is a table object.

I get this error often, but eventually the record gets added to the database. Has anyone received this error or know how to fix it?

Thanks in advance! [sig][/sig]
 
This error message typically appears when you try to perform an EXECUTE on a table. Is it possible the business object is, under certain conditions, trying to issue an EXECUTE against a property that it expects is an SP, but sometimes is a table? [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href= - Visual FoxPro Development</a><br> [/sig]
 
Thanks for the reply. Unfortunately, I'm not calling the .Execute method. Instead, i open a connection using the ADODB.Connection object, and then open an ADODB.Recordset object can call the .AddNew and .Update methods.

Eventually I would like to use .Execute for all data access methods, but unfortunately the application is too big to modify all of it that quickly.

Any other ideas?
[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top