Solved

Error Query Linked Server

Posted on 2007-11-23
11
984 Views
Last Modified: 2013-12-25
I added a Linked Server - ODBC to a Progress DB in Enterprise Manager.

Query: Select * from erptest.pub.dbo.part

Results in:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSDASQL' reported an error. The provider does not support the necessary method.
[OLE/DB provider returned message: Method is not supported by this provider.]
[OLE/DB provider returned message: [DataDirect-Technologies][ODBC PROGRESS driver]Optional feature not implemented.]
OLE DB error trace [OLE/DB Provider 'MSDASQL' IDBSchemaRowset::GetRowset returned 0x80040e53:  The provider does not support the necessary method.].

0
Comment
Question by:flexpipe
  • 4
  • 4
  • 3
11 Comments
 
LVL 18

Expert Comment

by:Yveau
ID: 20340185
Is MSDASQL the correct provider for Progress DB's ?
Does the 'test connection' work in the SSMS for that linked server ?

Hope this helps ...
0
 
LVL 18

Expert Comment

by:Yveau
ID: 20340210
And the ODBC is working ?
Linked server connected to the correct DSN ?

Hope this helps ...
0
 

Author Comment

by:flexpipe
ID: 20340217
odbc works - can see the list of tables and views in enterprise manager linked servers
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 18

Expert Comment

by:Yveau
ID: 20340227
And when you name a column to select ?
Maybe it can't handle the * ... ?

Hope this helps ...
0
 
LVL 1

Accepted Solution

by:
Jaaze earned 500 total points
ID: 20340269
Try to use OPENQUERY

SELECT * FROM OpenQuery( linkedserver, 'SELECT * FROM PUB."PART" ')
0
 

Author Comment

by:flexpipe
ID: 20340285
Again, nice work! Thanks.
0
 
LVL 1

Expert Comment

by:Jaaze
ID: 20340296
Hey Flexpipe,

Im glad to be useful for you

How do you create your Linked Server

0
 

Author Comment

by:flexpipe
ID: 20340315
Enterprise manager, Security, Linked Servers, New Linked Server - ODBC
0
 
LVL 1

Expert Comment

by:Jaaze
ID: 20340324
which parameter did you use???

Cause i need to do the same but I couldn't create the Linked server

0
 

Author Comment

by:flexpipe
ID: 20340342
Provider: MS OLE DB Provider for ODBC Drivers
Linked Server Properties
General,  "Data Source:" name of an exisiting working system ODBC connection
Security, "Be made using this security context", supply odbc connection id/pwd
0
 
LVL 1

Expert Comment

by:Jaaze
ID: 20340380
Thnks
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

This article describes some very basic things about SQL Server filegroups.
APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now