Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

OLE DB provider 'MSDASQL' reported an error.

Posted on 2003-02-19
2
Medium Priority
?
2,188 Views
Last Modified: 2012-05-04
Hi All,

I have MS SQL 7 server named Financial with Linked Server(AUTHTEST) pointing to an Informix Dynamic Server(named Authority) using MSDASQL as the provider therefore I am connecting via ODBC. I want to achieve automatic data transfer through these two different databases.

Through Enterprise Manager I can see the Linked Server and its tables. I can also through Query Analyser do a Select on the tables in the linked server and retrieve the data. I can also run updates and deletes on the tables and its data. However when I run an Insert on the tables I get the following Error....


Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSDASQL' reported an error. The provider reported an unexpected catastrophic failure. [OLE/DB provider returned message: Query cannot be updated because the FROM clause is not a single simple table name.]

The Insert syntax is ...
INSERT into AUTHTEST.Authority.auth.Nar(NameId, Contact)
Values('Name1', 'Testing')

This happens with all tables in the linked server. Can anyone help with this one?? Or is there a way to debug this and get a more detailed error message?? Or can just someone point me in the right direction??

Thanks
Anthony
0
Comment
Question by:aljubicic
2 Comments
 
LVL 3

Accepted Solution

by:
htarlow earned 200 total points
ID: 7987443
This problem has been beaten to a pulp with no solution. There are work arounds.

1 use DTS
2 Read this http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_20462599.html
0
 
LVL 3

Expert Comment

by:hakyemez
ID: 8021503
INSERT into [AUTHTEST.Authority.auth.Nar](NameId, Contact)
Values('Name1', 'Testing')
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question