PRB: VS6 - Unable to Register MSDASQL.DLL in System Registry When Updating System (272631)



The information in this article applies to:

  • Microsoft Visual Studio 6.0 SP1
  • Microsoft Visual Studio 6.0 SP2
  • Microsoft Visual Studio 6.0 SP3

This article was previously published under Q272631

SYMPTOMS

When you install Visual Studio 6.0 or one of its products, the following error message appears when you update the system:
Unable to register MSDASQL.DLL in system registry

CAUSE

Dependencies of the file are not in sync or they are missing.

RESOLUTION

To resolve this problem:

On Microsoft Windows 95 and Microsoft Windows 98 systems:
  1. Search for Comcat.dll, which should be under C:\windows\system\. Ensure that you have version 4.71. To do this:
    • Right-click on the file that you find, select Properties, and then select the Version tab.
  2. If you have any version other than 4.71, replace the C:\windows\system\ copy with one from the Visual Studio product CD ROM.
  3. On the Start menu, select Run, type regsvr32 Comcat.dll, and then click OK to register the file.
  4. When a message box appears indicating that the message completed successfully, click OK.
On Microsoft Windows NT 4.0 systems:
  1. Search for Comcat.dll, which should be under C:\windows\system32\. Ensure that you have version 4.71. To do this:
    • Right-click on the file that you find, select Properties, and then select the Version tab.
  2. If you have any version other than 4.71, replace the C:\windows\system32\ copy with one from the Visual Studio product CD ROM.
  3. On the Start menu, select Run, type regsvr32 Comcat.dll, and then click OK to register the file.
  4. When a message box appears indicating that the message completed successfully, click OK.
For all platforms:
  1. Update your version of MDAC to version 2.6 or greater. Updates are available on the following Microsoft Web site:
  2. Search the local hard drive for MSDASQL.dll and rename any that you find to MSDASQL.123.
  3. Re-install the Visual Studio Product.

REFERENCES

For additional information about installing Visual Studio products and the error message in the Symptoms section of this article, click the article number below to view the article in the Microsoft Knowledge Base:

259064 PRB: VS Fails with Windows 95, Windows 98, and Windows 2000 on Same Partition


Modification Type:MajorLast Reviewed:3/3/2003
Keywords:kbprb KB272631