PC Review


Reply
Thread Tools Rate Thread

"Couln't find library MSVCR80.dll" with ASP.Net 2.0

 
 
Christoph Wienands
Guest
Posts: n/a
 
      1st Feb 2006
Hey guys,

I just installed .Net Framework 2.0 and it broke one of the applications
that I develop. Here is the error message:

Executable C':\Program Files\Ticketwizard\MyApp.exe\ had the following
unrevoerable error:
Couln't find library MSVCR80.dll (required by
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_perf.dll)

Now, the funny thing is my app doesn't use this library at all.

Does anybody have an idea?

Thanks, Christoph


 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBN
Guest
Posts: n/a
 
      1st Feb 2006
The library in question is the C Runtime (used by C++). The version of the
DLL you use depends on the platform you are running on. The tool in question
could use the MSVCR80.dll underneath the hood or it could be due to
programming in C++.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


"Christoph Wienands" wrote:

> Hey guys,
>
> I just installed .Net Framework 2.0 and it broke one of the applications
> that I develop. Here is the error message:
>
> Executable C':\Program Files\Ticketwizard\MyApp.exe\ had the following
> unrevoerable error:
> Couln't find library MSVCR80.dll (required by
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_perf.dll)
>
> Now, the funny thing is my app doesn't use this library at all.
>
> Does anybody have an idea?
>
> Thanks, Christoph
>
>
>

 
Reply With Quote
 
Willy Denoyette [MVP]
Guest
Posts: n/a
 
      1st Feb 2006

"Christoph Wienands" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
| Hey guys,
|
| I just installed .Net Framework 2.0 and it broke one of the applications
| that I develop. Here is the error message:
|
| Executable C':\Program Files\Ticketwizard\MyApp.exe\ had the following
| unrevoerable error:
| Couln't find library MSVCR80.dll (required by
| 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_perf.dll)
|
| Now, the funny thing is my app doesn't use this library at all.
|
| Does anybody have an idea?
|
| Thanks, Christoph
|
|

Weird, the C runtime (MSVCR80.dll ) is used by the run-time (CLR) and should
be installed with this version of the Framework.
What kind of application is this, what language is there used? Is it build
against v2? What happens if you build and run a simple "hello world" kind of
app.?

Willy.



 
Reply With Quote
 
Richard Grimes [MVP]
Guest
Posts: n/a
 
      5th Feb 2006
Christoph Wienands wrote:
> Executable C':\Program Files\Ticketwizard\MyApp.exe\ had the following
> unrevoerable error:
> Couln't find library MSVCR80.dll (required by
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_perf.dll)
>
> Now, the funny thing is my app doesn't use this library at all.


Nasty bug, by design, in C++ in VS2005.

More details here:

http://www.grimes.demon.co.uk/worksh...WSThirteen.htm

The short description is this. C++ (managed and native) now use shared
microsoft libraries through the side-by-side assembly cache. This is
like the GAC but for unmanaged code. Managed C++ uses the CRT in mixed
and pure code to support global objects and other C++ features. The
problem is that your code has to have a manifest indicating the version
of the assembly you want to use and for a DLL this has to be bound to
the DLL as an unmanaged resource. If you don't do this then Windows
refuses to load the library. Even copying the library to the same folder
as your DLL does not work.

If your ASP.NET app uses a C++ DLL (managed or unmanaged) then you'll
get this error if that DLL was built with the C++ import libraries
provided with VS2005. Note that if the C++ DLL was built as part of a
VS2005 project _made with the VS2005 project wizard_ then you'll not get
this problem because the project wizard sneakily adds a build step to
bind the manifest to the DLL.

Richard
--
Fusion Tutorial: http://www.grimes.demon.co.uk/workshops/fusionWS.htm
Security Tutorial:
http://www.grimes.demon.co.uk/workshops/securityWS.htm


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Can't find project or library" on user defined variables. 2003 - rc51wv Microsoft Access Form Coding 2 23rd Oct 2009 12:16 AM
can't find library MSVCR80.dll =?Utf-8?B?bGF1cmE=?= Windows XP General 6 10th Sep 2007 11:18 PM
Couldn't find library MSVCR80.dll =?Utf-8?B?d2FoYXVm?= Windows XP General 1 17th Dec 2006 09:39 AM
XP reinstall and "couln't find NTLDR" =?Utf-8?B?c2Vhbg==?= Windows XP Help 0 28th Apr 2004 09:46 PM
When opening Excel user receives "Can't find project Library" Corey Microsoft Excel Crashes 2 4th Feb 2004 03:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:09 AM.