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 / .NET Framework / New Users / January 2007

Tip: Looking for answers? Try searching our database.

Program can't run: "The application has failed to start because its side-by-side configuration is incorrect"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Dupont - 29 Dec 2006 00:27 GMT
Hi All!

I have this application of mine which works well. It even used to work on
Vista. (I work on XP most of the time).

There are some ManagedC++ assemblies in the project.

Now when I try to start the project under vista, when I try to access
classes in the ManagedC++ assemblies I get this error:

==========================================
Exception : System.IO.FileLoadException
Message   : Could not load file or assembly 'NScribe,
Version=1.0.2553.30928, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. The application has failed to start because its side-by-side
configuration is incorrect. Please see the application event log for more
detail. (Exception from HRESULT: 0x800736B1)
Source    : NovaMindEditor
Help      :
OSVersion : Microsoft Windows NT 6.0.5600.0
Thread    :
Stack    :
  at NovaQuickStart.Program.StartApp(String[] args)
  at NovaQuickStart.Program.Main(String[] args) in
C:\Development\Development\Windows\NovaQuickStart\Program.cs:line 59

-------- Caused by Exception --------
Exception : System.Runtime.InteropServices.COMException
Message   : The application has failed to start because its side-by-side
configuration is incorrect. Please see the application event log for more
detail. (Exception from HRESULT: 0x800736B1)
Source    :
Help      :
Stack    :

==========================================

Any ideas?

Signature

Regards,
Lloyd Dupont

NovaMind Software
Mind Mapping Software
<www.nova-mind.com>

Holger Grund - 29 Dec 2006 19:14 GMT
> -------- Caused by Exception --------
> Exception : System.Runtime.InteropServices.COMException
> Message   : The application has failed to start because its side-by-side
> configuration is incorrect. Please see the application event log for more
> detail. (Exception from HRESULT: 0x800736B1)

Sounds like an issue with the SxS config (aka manifest). VC8 shared
CRTs take advantage of OS Fusion support to bind to the appropriate
version. Did you take a look at the event log? On XP SP2+ & 2003+
you should see a message indicating what exactly is wrong with the
manifest.

You may take a look at the manifests with resource editor (just open
or export the resource of type RT_MANIFEST in the consuming DLL).

To diagnose native DLL loading problems you can also enable NT
loader snaps (there's gflags.exe in the Debugging Tools for Windows
or you can use the (undocumented) ShowSnaps variable :
{,,ntdll.dll}*((char*)_ShowSnaps)=1 in the VC debugger -- assuming
you have symbols loaded for ntdll.dll)

-hg
Lloyd Dupont - 02 Jan 2007 01:11 GMT
I don't have any manifest file ....
I mean there are some in the /debug & /release of my C++ project, but none
in my solution output directory

>> -------- Caused by Exception --------
>> Exception : System.Runtime.InteropServices.COMException
[quoted text clipped - 18 lines]
>
> -hg
Holger Grund - 02 Jan 2007 09:12 GMT
>I don't have any manifest file ....
> I mean there are some in the /debug & /release of my C++ project, but none
> in my solution output directory

The 2005 version of the toolchain will merge the files into the resources
of the PE image. You can open the EXE/DLL file with the resource editor
and see whether there's a RT_MANIFEST resource.

-hg
Lloyd Dupont - 03 Jan 2007 04:10 GMT
Haha..
thanks for the tip!

>>I don't have any manifest file ....
>> I mean there are some in the /debug & /release of my C++ project, but
[quoted text clipped - 5 lines]
>
> -hg
Lloyd Dupont - 03 Jan 2007 04:11 GMT
BTW, there is something weird happening.
When I build the thing and give it to my colleague, everythings work.
However when he builds it, it doesn't work.
He use the same project!
Any idea why that should be?

>>I don't have any manifest file ....
>> I mean there are some in the /debug & /release of my C++ project, but
[quoted text clipped - 5 lines]
>
> -hg

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.