Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2007

Tip: Looking for answers? Try searching our database.

MPR.DLL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joachim - 28 Mar 2007 00:06 GMT
When trying to deploy my C#/C++/CLI application on a Win XP Pro SP2 with .NET
FW 1.1 and 2.0 I get the following error when opening my C++/CLI application
with dependency walker:

Besides the MPR.DLL module in dependency walker there is a Delay-load module
warning. And when I run the application I get the following error:

Failed to load module from assembly C:\Documents and
Settings\Desktop\070327\MyCPPCLIWrapper.dll. Error was:
Could not load file or assembly 'MyCPPCLIWrapper, Version=1.0.2629.32412,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. This
application has failed to start because the application configuration is
incorrect. Reinstalling the application may fix this problem. (Exception from
HRESULT: 0x800736B1)

The MPR.DLL exists in the C:\WINDOWS\system32 folder. What could be the
problem?
Ben Voigt - 28 Mar 2007 23:13 GMT
> When trying to deploy my C#/C++/CLI application on a Win XP Pro SP2 with
> .NET
[quoted text clipped - 5 lines]
> module
> warning. And when I run the application I get the following error:

That's normal with MPR.DLL, and not an error.

> Failed to load module from assembly C:\Documents and
> Settings\Desktop\070327\MyCPPCLIWrapper.dll. Error was:
[quoted text clipped - 7 lines]
> The MPR.DLL exists in the C:\WINDOWS\system32 folder. What could be the
> problem?

MPR.DLL is not the problem.  Probably you are compiling with VC++ 2005 SP1,
but the DLLs on the computer are from VC++ 2005 Gold (because the .NET 2.0
framework includes the Gold DLLs).  Run the version of vc_redist that was
provided with SP1, your problems will go away.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.