?
Solved

MSDataShape provider class registration?

Posted on 2001-08-28
2
Medium Priority
?
534 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 400 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

Industry Leaders: 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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

770 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