Error when loading Microsoft.VisualStudio.Coverage.Analysis.dll  
Author Message
Markus Schiller





PostPosted: Visual Studio Performance Tools (Profiler), Error when loading Microsoft.VisualStudio.Coverage.Analysis.dll Top

Hi,

at first we noticed that on some machines (Windows 2000 Workstation) .covarage Files couldn't be opened in Visual Studio. VS shows a MessageBox "FileLoadException" with the Message "A procedure imported by 'Microsoft.VisualStudio.Coverage.Analysis, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded."

Then i wrote a tiny program which just referenced Microsoft.VisualStudio.Coverage.Analysis.dll and there i got the following exception: Unhandled Exception: System.IO.FileLoadException: A procedure imported by 'Microsoft.VisualStudio.Coverage.Analysis, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded. File name: 'Microsoft.VisualStudio.Coverage.Analysis, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.Runtime.InteropServices.COMException (0x8007007F): The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)
at CoverageAnalysis.Program.Main(String[] args)

After poking around with FileMon I saw that msvcm80.dll was the last dll loaded. Attached with windbg and LastError was "Entry point in dll not found."

The I've copied Microsoft.VisualStudio.Coverage.Analysis.dll and msvcm80.dll local, but no success :-( We have machines here which have no problems, but it is unclear what the difference between these machines is.

Currently I'm running out of ideas. Can you help here Is there something special with msvcm80.dll I saw this dll as native image in C:\WINNT\assembly\NativeImages_v2.0.50727_32, but not as an assembly in the GAC!

Regards,

Markus



Visual Studio Team System39  
 
 
Ian Huff





PostPosted: Visual Studio Performance Tools (Profiler), Error when loading Microsoft.VisualStudio.Coverage.Analysis.dll Top

Markus,

Windows 2000 handles the CRT (which msvcm80.dll is a part of) a little differently then newer Windows versions. It appears that some of your installs of VS are having issues with the CRT. My recommendation would be to try doing a repair of your VS install to see if that cleans up the issue.

Thanks,

Ian