PRB: Query Error: Class Not Registered

Last reviewed: December 11, 1997
Article ID: Q175802
The information in this article applies to:
  • Microsoft Visual InterDev, version 1.0
  • Microsoft Visual Database Tools, version 1.0

SYMPTOMS

When you attempt to open the Query Designer, you one of the following errors appears:

   The Query cannot be executed because some files are either missing
   or not registered. Run Setup again to make sure the required files
   are registered.

   -or-

   Query Designer encountered a Query error: Class not registered

   -or-

   Cannot create or open this document

   -or-

   Unable to output this table

CAUSE

The Visual Database Tools DLLs or one of their dependencies are not registered correctly or are not in the correct folder.

RESOLUTION

Make sure the following DLLs are located in the proper folder and that each one is properly registered:

  • \DevStudio\MSDesigners:

          mdtqd.dll
          mdtqodb.dll
    
  • \Winnt\System32:

          msrdo20.dll
    

To register the files, use RegSvr32. For example, to register Mdtqd.dll, you would click the Start menu and type the following into the Run dialog box:

   regsvr32 "c:\Program Files\DevStudio\MSDesigners\mdtqd.dll"

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open a Web project in Visual InterDev that contains a data connection.

  2. Double-click on a table in the Data View.

If the Query Designer DLLs or their dependencies are not properly registered, one or more of the errors described in the SYMPTOMS section above will appear.

REFERENCES

For the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:

   http://support.microsoft.com/support/vinterdev/

Keywords          : VIDataTools kberrmsg
Technology        : kbInetDev
Version           : WINDOWS:1.0
Platform          : WINDOWS
Issue type        : kbprb


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 11, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.