Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 2 HD partitions as C: and D:, and msdia80.dll is present in the root folders of both drives. I have read the article by Microsoft about this issue, but there is no VC folder in my PC under C:\Program Files\Common Files\Microsoft Shared\. How can I solve this problem?

My OS is Windows 7 Home Premium 64-bit (upgraded from Windows Vista Home Premium 64-bit).

share|improve this question

Copy the file to C:\Program Files\Common Files\Microsoft Shared\VC as suggested. Start a command prompt as administrator and execute regsvr32 /u x:\msdia80.dll for each drive the file is on. Then regsvr32 C:\Program Files\Common Files\Microsoft Shared\VC\msdia80.dll. At least that worked for me.

share|improve this answer

You've already solved the problem by finding this support article.

The article says that the VC directory is the right place for these files. However, the problem you have is that they are not placed where they should be, which is why you don't have the right directory.

Best follow the directions as given in the article, and install the SP1 Redistributable Package that's quoted in the article. The article says in your case (64-bits) to download it from here. Or just run Windows Update.

share|improve this answer
up vote 0 down vote accepted

I tried to install "Microsoft Visual C++ 2005 SP1 Redistributable Package (x64)" as Microsoft suggested but right after I confirmed the license agreement, the installer disappeared and nothing happened. I tried this a few times after restarting PC but to no avail. Then I uninstalled the package together with its updates and installed version 2008 (Microsoft Visual C++ 2008 Redistributable Package (x64)). Now msdia80.dll is gone from the root and msdia90.dll is present in the right directory, namely C:\Program Files\Common Files\Microsoft Shared\VC.

share|improve this answer
I followed this advice, but it only lead to 24 new files appearing in the root of my secondary partition... – Deniz Dogan Jul 8 '10 at 21:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .