Home Dashboard Directory Help
Search

"The application has failed to start because MSVCR80.dll was not found" Error message by SHLIMAZEL


Status: 

Closed
 as By Design Help for as By Design


0
0
Sign in
to vote
Type: Bug
ID: 363261
Opened: 8/24/2008 12:58:31 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

Using MSVC 2008, I wrote a small simple C++ application, compiled and linked it successfully, but received the "MSVCR80.dll not found" error message when I tried to execute the program. Following the instructions of the second post at:
http://forums.msdn.microsoft.com/en-US/vcgeneral/thread/6d16ecce-f92b-4c53-a45b-40119c4566a6/
I found that the executable contained an RT_MANIFEST with the line:
<assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
The post suggests that there's a bug in the installed VC system, and that I'm missing MSVCR80d.dll. This is true! This file is missing from my system.
As requested by the post, the MSVC installation included Visual Basic, C++, and C#.

Please help!
Thanks,
Aaron
Details
Sign in to post a comment.
Posted by Xiangliang Xia on 7/13/2009 at 8:29 PM
I found the solution to my problem. The project that built dll had set linker->manifest file->Generate Manifest to No.
The application compiled in VS 2005 works because the exe file has generate manifest set to yes, so the application can find msvcr80.dll, while when compiled in VS 2008, the application only know where is msvcr90.dll, and then can not find the msvcr80.dll, after I change the setting to yes, it works fine now.
Posted by Xiangliang Xia on 7/13/2009 at 6:02 PM
I had a similar problem. I have a dll compiled in VS 2005, then I create a project using this dll wrote some code in VS 2008, after successfully compile. When I tried to run the new compiled code, I got the application has failed to start because msvcr80.dll was not found" error.

In this computer, I can find msvcr80.dll in the following directories:

C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.163_x-ww_681e29fb
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd


Is there any idea why it can not find the dll?

Thanks for any help.
Posted by Microsoft on 8/25/2008 at 2:44 AM
Thank you for your feedback, We are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com/)
Sign in to post a workaround.