?
Solved

OLE DB provider 'MSDASQL' reported an error.

Posted on 2003-02-19
2
Medium Priority
?
2,182 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

752 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