473,669 Members | 2,458 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 46315
"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
1570
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 btnDoFBD_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDoFBD.Click
8
11571
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
2131
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
6265
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
1789
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
2092
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 program runs? Thanks Feng
2
1791
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 is a root website application, so there are lots of relative URLs that are expecting /images, or...
3
2266
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
2205
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
8895
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8809
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8588
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8658
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7407
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6210
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5682
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2032
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.