Windows error 0x800736B1, -2147010895

Detailed Error Information

SXS_CANT_GEN_ACTCTX[1]

MessageThe application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code14001 (0x36b1)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x000036b1.

Questions

24votes
9answers

The application has failed to start because its side-by-side configuration is incorrect

> Unhandled Exception: System.IO.FileLoadException: Could not load file or > assembl y 'TheLibrary, Version=1.2.3905.36284, Culture=neutral, > PublicKeyToken=14 04827c3a8f2601' 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: > [...] read more
c#
.net
configuration
dependencies
15votes
5answers

System.IO.FileLoadException: Could not load file or assembly 'System.Data.SQLite

(This is a duplicated question which has been asked in stackoverflow.com. I have read the answers. I've tried the solutions, but that didn't solve my problem. I'm going to explain what my problem is and what have I done). This is my problem: My application used System.Data.SQLite.DLL. I referenced it [...] read more
c#
winforms
system.data.sqlite
8votes
1answer

DLLimport unable to load dll

I am using an unmanaged dll in cpp which I call from from my C# web project. It works fine on my localhost but simply does not work on my shared hosting, winhost. It happens when I try to use one of the function in the dll. The error message [...] read more
c#
c++
dll
interop
dllimport
6votes
4answers

C# Dll Import failure: "The application has failed to start because its side-by-side configuration is incorrect"

I have a c# .net 4 app , using vs 2010. Im trying to import a c++ dll (built on vs 2005). [DllImport("Card.dll")] I get the failure: > Unable to load DLL 'Card.dll': The application has failed to start because its > side-by-side configuration is incorrect. Please see the application [...] read more
c#
c++
visual-studio-2010
dll
dllimport
5votes
3answers

How can I connect to SAP using sapnwrfc library?

Our software is written in C# and needs to connect to SAP. As some of our customers use older versions of SAP, and others don't have SAP PI, we can't connect through webservices. I tried to connect to SAP through the SAP NetWeaver Remote Function Call Library (sapnwrfc.dll) as follows: [...] read more
c#
sap
dllnotfoundexception
saprfc
3votes
3answers

FastCGI Error when installing PHP on IIS7.5

I'm trying to install MediaWiki on a Win2008r2 server, but can't manage to install PHP. Here's what I did: * Grabbed a Zip archive of PHP and unzipped it into C:\PHP. * Created two subdirs: c:\PHP\sessiondata and c:\PHP\uploadtemp. * Granted modify rights to the IUSR account for the subdirs. * [...] read more
php
iis-7.5
fastcgi
500-error
3votes
2answers

Could not load file or assembly 'Noesis.Javascript.dll'

I am trying to run java Script code in Asp.net using Noesis.Javascript.dll, but I faced Following error msg so any one can help me to resolve this issues. > {"Could not load file or assembly 'Noesis.Javascript.dll' or one of its > dependencies. The application has failed to start because its [...] read more
javascript
asp.net
windows
c#-3.0
3votes
1answer

Side-by-Side errors in Managed C++ wrapper DLL in VS2005+

I have a native C++ library with a .NET wrapper, all built in Visual Studio 2003 and 2005. We recently ported the .NET wrapper library to VS2005 and it doesn't work. The .NET wrapper library is mixed-mode, with native C++ and Managed extensions classes, and a bit of native assembly [...] read more
.net
visual-studio-2005
winsxs
3votes
2answers

Is there a version of the VC++ 2008 Redistributable Package with the DEBUG dlls?

We have a (mainly) C#/WPF application that invokes some C++ libraries via interop. For testing purposes (and because of some inconsistencies in a third party library), we would like to distribute a debug version or our application on a target machine, partially for remote debugging. In any case, when doing [...] read more
c++
shared-libraries
msvcr90d.dll
3votes
7answers

c# application does not start on another computer

when i try to launch my c# application on another computer than it was developed i get the following error message: > System.IO.FileLoadException: Could not load file or assembly 'Widgets3D, > Version=1.0.3511.25568, Culture=neutral, PublicKeyToken=null' or one of its > dependencies. This application has failed to start because the application > [...] read more
c#
dll
crash
2votes
2answers

Could not load file or assembly 'Noesis.Javascript, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ae36d046c7f89f85' or one of its dependencies

I have no problem using the Noesis.JavascriptDLL in a console application, but when I use the DLL in my web application in the development server, I get the following error: Could not load file or assembly 'Noesis.Javascript, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ae36d046c7f89f85' or one of its dependencies. The application has failed to [...] read more
c#
dll
msvcr90.dll
2votes
4answers

Exception from HRESULT: 0x800736B1

HI, I have desinged a console application to test my C++ project(.Net framework 3.5). I created a setup for this application and installed it on a virtual machine so as to test it. But whenever I run this installed app on VM, it gives me unhandled exception, saying, "Could not [...] read more
exception
managed-c++
2votes
2answers

Interactive Brokers API issue with adding the ActiveX Control

Every time I try to add the Interactive Brokers API control on my computer it gives me an error that sais.... The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from [...] read more
c#
api
controls
activex
interactive
2votes
4answers

Problem using SqlServerCe in .Net 4.0

SqlServerCe doesn't seem be supported in .net 4.0. But since I needed an embedded database in my application, I gathered all the necessary 3.5 dlls and included them so that my wpf application could use SqlServerCe as its embedded database. The application works on my development machine, but now that [...] read more
c#
.net-4.0
sql-server-ce
2votes
1answer

SideBySide problem with debug build on a VM

I have a .NET application that is developed with Visual Studio 2008 which uses a C++/CLI DLL named xVJob.dll. I am getting SideBySide errors when I try to run it on a test VM. The VM is running Windows Server 2003 SP2. I can run and debug everything fine on [...] read more
.net
visual-studio-2008
manifest
side-by-side
2votes
3answers

Assemblies or files cannot be loaded when launching a exec

I meet following exception when I copy the whole program directoy to another machine. Which tools can I employ to debug it? Thank you. Unhandled Exception: System.TypeInitializationException: The type initializer fo r 'SomeClass' threw an exceptio n. ---> System.IO.FileLoadException: Could not load file or assembly 'SomeAssembly.dll, Version=0.0.0.0, Culture=neut ral, PublicKeyToken=null' [...] read more
.net
dependencies
1vote
1answer

ASP.Net / IIS permissions or configuration issue

We have a 3 server web farm running an ASP.Net 3.5 application on IIS6, windows server 2003. We just installed an update to the application, and two of the three servers were fine but the third immediately started having problems. Trying to start the web site we see this exception [...] read more
permissions
iis-6
asp.net
.net
1vote
2answers

Unable to load dll libglorycolx2010.dll. The application has failed to start because its side by side configuration is incorrect. HRESULT: 0x800736B1

I am using a third party dll, libglorycolx2010.dll in my C++ project. When i try to run the project i get the above error. Many sources online suggested that i install Microsoft Visual C++ Distributable package which i have done. The problem is, i am not sure which dependencies are [...] read more
c++
visual-c++
dllimport
1vote
3answers

.NET exe not picking dll dependencies

I have developed an EXE again :) The problem is it has refernces of SQLite dll file so I included the file on the same path. Now in Windows 8 it is running fine, but in Windows 7 it is not The error is > System.IO.FileLoadException: Could not load file [...] read more
c#
.net
sqlite
dll
1vote
1answer

Error initializing TesseractProcessor

I have the following problem with Tesseract - I downloaded all neccessary files (at least I hope so) and here is how my super duper simple application looks like: string sLocation = @"m:\Tesseract\tesseractdotnet_v301_r590\x86release_assemblies\data\"; string sLang = "eng"; TesseractProcessor processor = new TesseractProcessor(); if (processor.Init(sLocation, sLang,(int)eOcrEngineMode.OEM_DEFAULT)) { System.Windows.MessageBox.Show("OK"); } else { [...] read more
c#
ocr
1vote
1answer

Release not working, referencing FW 2.0 dll into FW 4.0 winform

With the trace it implies that i need to make the locale neutral, in order for the referenced dll to work. Any idea on how to set it? or you set the neutral as something? I made a test program. I'm using VS2010, VB.net, .Net Framework 4.0, in Windows forms. [...] read more
vb.net
winforms
.net-assembly
side-by-side
1vote
1answer

App crashing due to missing Microsoft.VC80.CRT v8.0.50727.6195

I wrote a C# application to grab images from a firewire camera. I have installed the camera vendor's SDK which includes firewire driver and the SDK dlls (.NET).The SDK dlls are deployed in GAC during the installation. The SDK dll that I referenced in my application has a dependency on [...] read more
.net
assemblies
side-by-side
1vote
1answer

Deploying Microsoft SQL Compact Edition to Non-English Windows XP machines.

I have an app that uses Microsoft SQL Compact Edition. I have followed the MSDN and deployed the DLLs described in: http://msdn.microsoft.com/en-us/library/aa983326%28VS.80%29.aspx Including these DLLs with the installer has worked great ... until now. Now I am trying to install the app on Non-English versions of windows. Non-English Windows 7 [...] read more
.net
sql-server-ce
1vote
1answer

SQL Server CE to SQL Server

I have a standalone C# application using a SQL Server CE database. Another online program running on ASP.NET with a SQL Server database. Now I want to upload the standalone generated .sdf file to my ASP.Net program via browser and migrate the data into SQL Server. The code works fine [...] read more
sql-server
sql-server-ce
migrate
1vote
1answer

Consuming FORTRAN DLL in C# via COM (P/invoke)

I'm currently trying to consume a FORTRAN DLL that I have been given by a third party. Now, it has been consumed before by other vendors (unsure whether they used C# or not to consume it), but I'm getting some reference errors when I'm trying to consume it. I'm basically [...] read more
c#
com
pinvoke
fortran
1vote
0answers

DTSearch error while deploying on staging

I am facing below error when I upload my silverlight application on staging server. Could not load file or assembly 'dtsearchNetApi2.dll' 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: [...] read more
c#
asp.net
silverlight
dtsearch
1vote
1answer

Exception while trying to load a Berkeley DB DLL

I have a .NET 3.5 application that has a dependency on a C++ DLL (Berkeley DB- libdb_csharp51d.dll) and I'm able to run it on my Windows 7 machine without a problem, but I've tried on two other machines (Windows Server 2008 and Windows 7) and the app keeps getting the [...] read more
c#
exception
dll
unmanaged
berkeley-db
1vote
1answer

Unable to run c#application (using c++ dll) in some PCs

we have created a c# application which calls a c++ dll(sdbm.dll). It is working properly in most of the PCs except some PCs. The dll is created using VC++ 2008 and application is done in VC# 2005. Following are the errors occured when the dll functions are called from the [...] read more
c#
c++
visual-c++
1vote
2answers

C#, C++ project mix: Could not load file or assembly

I have Visual Studio 2010 solution of 2 projects: c# and c++ c++ project using .net framework libraries and exposes class that is referenced from c# project. Everything compiles fine and c# project intellisence helps me with methods exposed from c++. But when I try to launch c# project it [...] read more
c#
c++
compilation
cross-language
1vote
5answers

Mixed Mode Library and CRT Dependencies - HELP

Alright, after doing a ton of research and trying almost every managed CPP Redist I can find as well as trying to copy my DLLs locally to the executing directory of the app I cannot figure out what dependencies i'm missing for this mixed mode library. Basically I have a [...] read more
mixed-mode
dependencies
c++
c#
.net
1vote
1answer

Distributing VB.NET App...What is causing System.DllNotFoundException

I've successfully built and tested a vb.net app in VS 2008 that uses a dll (abcTest.dll) built by another developer. However, when I deploy the application to another machine (Release directory contents), I get "System.DllNotFoundException" when I run the executable. The dll is in the same directory as the executable, [...] read more
.net
vb.net
visual-studio-2008
1vote
1answer

Open Source Embedded Database Options for .Net Applications

I have a .Net 4.0 WPF application that requires an embedded database. MS Access doesn't work on 64 bit Windows I'm told. And I'm having issues with SSCE: -------------------------------------------------------------------------------- Unable to load DLL 'sqlceme35.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may [...] read more
embedded-database
0votes
2answers

Could not load file or assembly 'tesseract.dll' or one of its dependencies

I'm trying to create OCR functionality using tesseract 3.02 dll. Project building successfull but run time throwing the exception like bellow error. > Could not load file or assembly 'tesseract.dll' or one of its dependencies. > The application has failed to start because its side-by-side configuration is > incorrect. Please [...] read more
c#
asp.net
dll
ocr
tesseract
0votes
1answer

Importing SSL dll into project

I have a project which I imported from old system. This code became most problematic PacketGroup = new ArrayList(); Crypto = new GameCrypto(ASCIIEncoding.ASCII.GetBytes(STRING_CRYPTO)); KeyExchance = new OpenSSL.Crypto.DH(); KeyExchance.G = RANDOM_INT; KeyExchance.P = OpenSSL.Core.BigNumber.FromHexString("KEY__KEY_KEY\0"); KeyExchance.GenerateKeys(); NewServerIV = GenerateIV(); NewClientIV = GenerateIV(); At first I received the error: > System.TypeInitializationException: The type [...] read more
c#
c++
.net
ssl
visual-studio-project
0votes
1answer

Crashed when load libtesseract302d.dll?

I'm using Tesseract library in Visual Studio 203. But the application crashed with this Exception: > {System.TypeInitializationException: The type initializer for > 'LParking.Base.Global' threw an exception. ---> > > System.IO.FileLoadException: Could not load file or assembly 'CPPWrapper.dll' > or one of its dependencies. The application has failed to start because [...] read more
c++
visual-studio-2013
tesseract
0votes
0answers

Visual Studio 2008 Setup Project does not include VC_redist

I know this must have been answered before, but I cannot find a reference... Problem: How do I configure a Visual Studio setup project to include and install the VC redist package? Info: I am creating a Visual Studio 2008 C# Win Forms project that uses native code through a [...] read more
c#
c++
visual-studio-2008
installation
redistributable
0votes
1answer

Running an WPF/EF application with Sql Server CE on Windows XP

I have an application with EF 4.3.0 and Microsoft SQL Server CE 4.0. Whenever I try to load the application, I get the following in error: > This application has failed to start because the application configuration is > incorrect. Reinstalling the application may fix this problem. (Exception from > [...] read more
c#
wpf
entity-framework
windows-xp
sql-server-ce
0votes
1answer

How can I implement OpenCVDotNet in C# code

I am trying to run this code from this website http://haryoktav.wordpress.com/2009/02/28/webcam-c-simple-frame-difference/ and I am getting an error when I the application start processing. This what C# said : An unhandled exception of type 'System.IO.FileLoadException' occurred in System.Windows.Forms.dll Additional information: Could not load file or assembly 'OpenCVDotNet.dll' or one of its [...] read more
c#
opencv
opencvdotnet
0votes
1answer

Microsoft.SqlServer.Management.Smo.FailedOperationException (Could not load batchparser.dll)

I have C# project in which I am using Microsoft.SqlServer.Management.Smo, Microsoft.SqlServer.batchparser.dll and few other SqlServer dlls. When I run the code on development box it works fine, but when I try running the executable on a clean machine (client's machine), it fails and throws this exception: Microsoft.SqlServer.Management.Smo.FailedOperationException: ExecuteNonQuery failed for [...] read more
c#
.net
sql-server
0votes
1answer

Unable to load Tao.DevIl.dll

WINDOWS 7 64 BIT i have downloaded Tao framework to work with Opengl and DevIl together. the problem is when i try to use devIl library i get this error under 64 bit platform ( settings > build > platform target) Unable to load DLL 'DevIL.dll': The specified module could [...] read more
dll
load
devil
0votes
1answer

Tracking down System.IO.FileLoadException

Occasionally I have problems with applications which rely on unmanaged .dll's throwing exceptions which look like: System.IO.FileLoadException: Could not load file or assembly 'AssemblyXXXX, Version=1.0.4099.27218, 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 [...] read more
c#
.net
0votes
1answer

asp.net 4 mvc 2 error

when I run the app on server I get: Could not load file or assembly 'Microsoft.SqlServer.Replication.DLL' 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) Description: An unhandled exception occurred during [...] read more
sql-server
iis
asp.net-mvc-2
replication
0votes
1answer

Get more debug info from AxHost?

I'm trying to deploy an application which uses an library that embeds an ActiveX control with AxHost in C#. When I run the installed app on our test rig I catch and present the following exception: Unexpected exception. This application has failed to start because the application configuration is incorrect. [...] read more
c#
exception
activex
hresult
axhost
0votes
2answers

How to set which version of the VC++ runtime Visual Studio 2005 targets

I have an application that contains a VC++ project (along with C# projects). Previously, (i.e. during the last year or so) when a build has been done, Visual Studio 2005 appears to be targeting the VC++ runtime version 8.0.50727.762. At least, that is what the Assembly.dll.intermediate.manifest file is telling me: [...] read more
visual-studio-2005
visual-c++
0votes
1answer

Error occured during the debugging the page?

when i run my application it is the error i get... This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1) Description: An unhandled exception occurred during the execution of the current web request. Please review the [...] read more
asp.net

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0