Solved

MSDataShape provider class registration?

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

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 100 total points
Comment Utility
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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…

762 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

12 Experts available now in Live!

Get 1:1 Help Now