Solved

MSDataShape provider class registration?

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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…
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 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…
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…

730 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