Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Installation succeeds, but app run fails with error code 0x800736b1
 

Installation succeeds, but app run fails with error code 0x800736b1

Hello forums,

Igot a C++ .NET project folder(based on .NET 2.0)for which I (or my workmate, that is) created adeployment project. The installationterminates successfullybut upon running the application we geta message that the application cannot be run cause"the application configuration is not correct". The error code is "HRESULT 0x800736b1". To solve this issue, we tried the following:

  • installation of vcredist_x86.exe
  • (re-)installation of .NET framework 2.0
  • providingdifferent versions of msvc*80.dll (as we assumed a version conflict with those DLLs)

but none of that helped.

We made sure that each of our own project assemblies provides and embeds a manifest file and that only release versions of theproject DLLs/EXEs were passed to the deployment packager.

However, we are uncertain about our external libs (we use OpenCV which is not included as a project at compile time but as a DLL at runtime) and about a non-managed C++ project which is also included in our project folder.

We analysed the executable and the DLLswith the Dependency Walker whichgave us the hint that the side-by-side-configuration of one of our project DLLs contains errors. This obviously points to a manifest error, but I checkedits project settings once again which say that a manifest file be generated and embedded (like withthe other project DLLs).

How can I find out what exactly is going wrong?

Any hint is greatly appreciated.

Regards from Germany,

Chris

GermanAsperger  Tuesday, June 24, 2008 2:27 PM

Problem solved.

There was a more or less "hidden" reference to a Debug version of an externall lib which caused the error.

GermanAsperger  Wednesday, June 25, 2008 7:47 AM
I think this may mean that the manifest file is incorrect. IIRC, there might be event log entries describing what part of the Xml is incorrect.

PhilWilson  Tuesday, June 24, 2008 6:40 PM

Thanks. But where can I find the corresponding log?

GermanAsperger  Wednesday, June 25, 2008 6:57 AM

Problem solved.

There was a more or less "hidden" reference to a Debug version of an externall lib which caused the error.

GermanAsperger  Wednesday, June 25, 2008 7:47 AM

You can use google to search for other answers

Custom Search

More Threads

• better way for detect windows service is installed
• Installer replaces icons in start menu...?
• Can I change duration to ask again whether update/skip?
• How to Clear the Activex deployed Cab
• Cannot create shortcut in Visual Studio 2005 setup project
• Problems with Clickonce deployment using Visual Basic 2008 Express Edition
• My.Settings - scope problem.
• setup wizard fxMdac error
• CD deploy did not install the program after installing the prerequisites!
• Hosting No Touch Deployment Application on IIS 6 on Windows 2003 Server