Solved

MSDataShape provider class registration?

Posted on 2001-08-28
2
526 Views
Last Modified: 2010-08-05
For some reason, when I include "Provider=MSDataShape;Data Provider=SQLOLEDB.1. . . " in my connection string under ADO I get the error "class not registered."  I thought the MSDataShape provider was registered when you installed MDAC 2.5 or 2.x.  Any help would be greatly appreciated.  I can create a Data Shaping query in the Data Environment but damn if I want to code that way.  I want to create the necessary SHAPE SQL on the fly using the MSDataShape provider.

Thank you.
0
Comment
Question by:Hawkeye67
[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 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 100 total points
ID: 6432131
i found only this, but related to XML:

Troubleshooting Q&A
    Q: I can save the Recordset into XML, but I can't read it back in using ADO. I keep receiving errors such as "Class not registered" or "The
    application requested an operation on an object with a reference to a closed or invalid connection object" or "Unable to find the specified provider."
    What am I doing wrong?

    A: Check to make sure that both Msdaprst.dll and Msxml.dll are on your computer and registered. <...>

I know that the MSDataShape Provider comes with ADO, now did you install it as local administrator (or administrator permissions) ?


0
 

Author Comment

by:Hawkeye67
ID: 6444323
Thank you angellll.  I went in and re-registered both dlls and the on-the-fly Shape-Append SQL worked without throwing the "Class not registered" error.

Thank you, again.  
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

726 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