Solved

MSDataShape provider class registration?

Posted on 2001-08-28
2
523 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

808 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