473,574 Members | 3,213 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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.FileL oadException
Message : Could not load file or assembly 'NScribe,
Version=1.0.255 3.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.StartAp p(String[] args)
at NovaQuickStart. Program.Main(St ring[] args) in
C:\Development\ Development\Win dows\NovaQuickS tart\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?

--
Regards,
Lloyd Dupont

NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
Dec 29 '06 #1
5 46307
"Lloyd Dupont" <net.galador@ld wrote
-------- 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*)_ShowSna ps)=1 in the VC debugger -- assuming
you have symbols loaded for ntdll.dll)

-hg
Dec 29 '06 #2
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

"Holger Grund" <ho**********@r emove.ix-n.netwrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
"Lloyd Dupont" <net.galador@ld wrote
>-------- Caused by Exception --------
Exception : System.Runtime. InteropServices .COMException
Message : The application has failed to start because its side-by-side
configuratio n 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*)_ShowSna ps)=1 in the VC debugger -- assuming
you have symbols loaded for ntdll.dll)

-hg

Jan 2 '07 #3
"Lloyd Dupont" <net.galador@ld wrote
>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
Jan 2 '07 #4
Haha..
thanks for the tip!

"Holger Grund" <ho**********@r emove.ix-n.netwrote in message
news:%2******** *******@TK2MSFT NGP06.phx.gbl.. .
"Lloyd Dupont" <net.galador@ld wrote
>>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

Jan 3 '07 #5
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?

"Holger Grund" <ho**********@r emove.ix-n.netwrote in message
news:%2******** *******@TK2MSFT NGP06.phx.gbl.. .
"Lloyd Dupont" <net.galador@ld wrote
>>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

Jan 3 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1561
by: JohnR | last post by:
Wow, this is unbelieveable. I've narrowed it down to a few lines of code. Create a new project in VB.NET and put 2 buttons on it (a FBD button and an EXIT button) and enter these lines for the click events: Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click End End Sub Private Sub...
8
11563
by: Chris Markle | last post by:
When JavaScript writes out a dialogue box (like when confirm() is called) the header or title of that dialogue box shows up as "JavaScript Application"... Can this title be changed so that maybe you could stick the name of your application in it?
5
2127
by: galsaba | last post by:
When I run an "append query" or "Make a Table Query" I get a pop up window alert message that alerts me that I am goint to add rows, etc. How can I make my query that these alerts will not show up? Thanks, galsaba
145
6206
by: Sidney Cadot | last post by:
Hi all, In a discussion with Tak-Shing Chan the question came up whether the as-if rule can cover I/O functions. Basically, he maintains it can, and I think it doesn't. Consider two programs: /*** a.c ***/
0
1785
by: muesliflakes | last post by:
I have tried to build an Installation Project for to different applications. Both are simple. Steps Taken: * Add New Setup Project to the solution * Set the project out to the application project (Active) * Build Installation Project When I try to run the setup.msi, a MessageBox comes up saying "The
3
2088
by: Feng | last post by:
I am debugging my code from VS.Net and need to watch my console.wirteline messages as I run the code. The problem is, as soon as my code starts running in debugging mode, the console window ("Output" window) will disappear and it only comes back when the program ends. How do I keep that window up so I can watch the message come out as the...
2
1779
by: cmay | last post by:
I have a web application that I want to run using the "ASP.NET Development Server" when I am working locally. When I go to do this however, I don't see an option to set the Virtual Path. By default it creates a virtual path that is the same name as the folder that holds my app, e.g. "/MyWebApp", but in this case the app I am trying to run...
3
2261
by: melon | last post by:
This is a silly question. When I create a new project, Visual Studio assigns a default icon (the one with some small colorful squares) to the program. The icon is used in the title bar but not as the program icon. Question is, how can I use it as the program (exe) icon, and how can I extract it?
1
2196
by: Prashant Bhangre | last post by:
Hello, I am very new to Python. I am writing a script to ListSMS for my Telit GE863GPS Module. I have Python1.5.2. on Window XP. I am getting an error when i run the script. Here is the whole script. """ Telit - List SMS - Example
0
7764
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8274
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7863
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8140
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6514
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5660
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2282
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1375
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.