Windows error 0x80131700, -2146232576

Detailed Error Information

CLR_E_SHIM_RUNTIMELOAD[1]

Message"Failed to load the runtime."
Comment Failed to load the runtime

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode19 (0x013)
NameFACILITY_URT[2][3]
DescriptionThe source of the error code is .NET CLR.[2][3]
Error Code5888 (0x1700)

Questions

20votes
3answers

Lists in VBScript

I'm trying to create a simple list in a VBscript, but I'm unable to find something similar. Basically, I'm working on Active directory, and I need to get all the groups a user is a member of for all the users within a domain. Now, every user might be a [...] read more
vbscript
11votes
5answers

Can't instantiate a COM object written in C# from VBA (VB6 ok)

Using VS 2008, here is my COM object using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.Windows.Forms; namespace TestCom { [Guid("9E5E5FB2-219D-4ee7-AB27-E4DBED8E123E")] [ClassInterface(ClassInterfaceType.AutoDual)] [ProgId("Test9.COMINT")] public class TestComClass { public void Init(string userid, string password) { MessageBox.Show(string.Format("{0}/{1}", userid, password)); } } } If I build this and register it on a [...] read more
c#
.net
vba
com
com-interop
4votes
1answer

0x80131700 Build Error on .NET Micro Framework

The following build error occurs when using .NET Micro Framework project, whether in emulator mode or not. 0x80131700 or error MMP0000: 0x80131700 read more
visual-studio-2010
.net-micro-framework
3votes
4answers

GitHub for Windows installation error "Application cannot be started"

I get an error while trying to reinstall GitHub for Windows. I've tried downloading the installation file with Firefox and Chrome. I've also deleted the 2.0 folder in $USER\Local Settings\Apps. Here is the log. PLATFORM VERSION INFO Windows : 5.1.2600.196608 (Win32NT) Common Language Runtime : 4.0.30319.1008 System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100) [...] read more
github
windows-xp
3votes
3answers

ClickOnce Application throws error "..requires assembly MySql.Data Version 6.5.4.0 be installed in the Global Assembly Cache (GAC) first."

I'm new to deploying .NET apps, so please let me know if any more details are required. I developed a C# console app in Visual Studio with MySql. This was deployed on 2 Windows 7 machines via ClickOnce Application and works fine. Tried to install in on a Windows XP [...] read more
c#
asp.net
.net
mysql
windows
2votes
3answers

WCF Server Application Unavailable - how to run application written in .NET4.0 (IIS6+)

I am trying to run simple application (e.g. generated from template by VS.NET 2010) on IIS6. I changed it to run with .NET 4.0 (its application pool) and checked with regiis (this pool has 4.0). I also changed all possible httpHandlers (svc etc), to run with NET4.0. All possible rights [...] read more
vb.net
wcf
iis
iis-6
2votes
1answer

Registration free com dll asks for .net framework 3.5 installation while it is working fine when registered

I have a COM DLL written in c#. I have tried registering it and it works fine. I am trying to use it registration free. I followed this MSDN tutorial exactly. The SideBySide DLL source: using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyVersion("1.0.0.0")] [assembly: Guid("C49B4D72-DEB3-41F3-87DE-9AA0E0E99809")] //LIBID_SideBySide namespace SideBySide { [Guid("1289C276-6CF8-456F-9CD3-14363BA5BEB5")] [...] read more
c#
.net
windows
dll
com
2votes
1answer

ClickOnce installation generates error: System.Runtime.InteropServices.COMException, Failed to load the runtime, Exception from HRESULT: 0x80131700

This error occurs trying to deploy a WPF project through ClickOnce: > Activation of [...file path...].application resulted in exception. Following > failure messages were detected: Failed to load the runtime. (Exception from > HRESULT: 0x80131700) and > System.Runtime.InteropServices.COMException -Failed to load the runtime. > (Exception from HRESULT: 0x80131700) - Source: [...] read more
.net
wpf
clickonce
failed-installation
comexception
2votes
1answer

Wix .net 4 prerequisite

Iam using Wix and I have custom actions written in .net targeting Dotnet 4.0. During the installation , after welcome dlg , the dotnet framework is checked in the system and the dotnetframework prerequisite dialog is shown if it is not there. If the dot net framework is installed it [...] read more
c#
.net
wix
installation
2votes
3answers

CLR2 Compiled C# COM Doesn't Work with .Net 4

Does anyone know why a C# created COM library that was compiled under CLR2 (.Net 3.5) doesn't work when used with only CLR4(.Net 4)? What is missing in CLR4 that is in CLR2 for COM? We are using the appropriate startup in the app.config to have the C# run under [...] read more
c#
com
clr
clr4.0
2votes
1answer

Asssembly.LoadFrom fails when called via Excel 2007

I have a .NET 4.0 class that uses Assembly.LoadFrom to load a .NET 3.5 mixed mode assembly. When this class is called from a .NET 4.0 app (with useLegacyV2RuntimeActivationPolicy="true" specified in the config file) it all works fine. However, this class is also COM visible, and when I then call [...] read more
excel
com
.net-4.0
excel-2007
com-interop
2votes
3answers

visual studio 2010: error code -2146232576 (0x80131700)

I have to convert a C++ project from visual studio 2008 running on Windows XP to 2010 running on Seven. Compilation seems to run perfectly but during the debugging I have an error: "The program 'App.exe : Native' has exited with code -2146232576 (0x80131700)." After a few researches on the [...] read more
c++
visual-c++
1vote
1answer

ClickOnce application - Failed to load the runtime. (Exception from HRESULT: 0x80131700)

My ClickOnce application targets the .NET 4 Client Profile to reduce the amount the client's desktop has to download and install over the web. However, when I click the set-up button on the Publish page it fails with the following error: There were no warnings during this operation. OPERATION PROGRESS [...] read more
clickonce
asp.net-4.0
1vote
2answers

Wix CAQuietExec write to log on error

I have a custom action that executes a command line tool: <CustomAction Id="QtExecUpdateDatabase_Cmd" Property="QtExecUpdateDatabase" Value="&quot;[#DATABASEUPDATER.EXE]&quot;" Execute="immediate" /> <CustomAction Id="QtExecUpdateDatabase" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="check" /> <InstallExecuteSequence> <Custom Action="QtExecUpdateDatabase_Cmd" After="CostFinalize">NOT REMOVE</Custom> <Custom Action="QtExecUpdateDatabase" After="InstallFiles" >NOT REMOVE</Custom> </InstallExecuteSequence> In some cases it fails. The msi log looks like this: SI (s) (98:98) [16:44:06:765]: [...] read more
wix
windows-installer
wix-extension
1vote
1answer

SQLite.NET Installer Project

I am having some issues making a setup project in visual studio 2010. I am using Addin-express to make a program associated with Microsoft Excel and I am using in it SQLite for a simple database. I have read other answers on stackoverflow but their solutions have not aided me. [...] read more
sqlite
1vote
3answers

.NET Framework 3.0 App on Windows XP SP3 with .NET Framework 4.0

My app has a Target .NET Framework of 3.0. I have a PC with a fresh install of Windows XP SP3. Next, I installed .NET Framework 4.0 Full on it. When I try to run my ClickOnce-deployed app, I get the "Failed to load the runtime" error: [9/9/2011 11:39:53 AM] [...] read more
c#
.net
.net-4.0
clickonce
.net-3.0
0votes
2answers

Unable to install .NET Framework 3.5 to my XP machine

I have an application that requires .NET 3.5, but I can't install it. The installer quits saying "it has encoutered a problem during setup. If I look at some of the error logs in the tmp directory I see. > Error occurred while initializing fusion. It seems that I have [...] read more
windows-xp
.net-framework
0votes
3answers

Psexec Error Code -2146232576

I'm trying to open up a an .exe program that is on a remote computer through my main desktop using a batch file and psexec.exe. I have been able to remotely kill programs using pskill, but when I run the command line required to open a program the window opens [...] read more
batch-file
command-line
remote-access
psexec
error-code
0votes
1answer

VSTS Unit Tests Errors, Dev Machine Passes with xUnit.net

So we've been dealing with this issue for a while now and can't seem to find out the problem. As the title states, our dev machines can run the unit tests locally with no issue, however when the unit tests are ran in VSTS, then the Microsoft.WindowsAzure.ServiceRuntime.dll seems to be [...] read more
azure
xunit
azure-pipelines
0votes
0answers

C# Winforms program runs on one computer and not another

I wrote a program in C# for the place I work and as stated in the title, its working on one computer (my main work computer) but not on another (my spare work computer). Here are the detail of the two computers: My main computer, which I have local admin [...] read more
c#
.net
winforms
visual-studio-2015
0votes
2answers

Failed to load the runtime error when deploying with ClickOnce

I have created a Windows Forms application with Visual Studio 2010 targeting .NET 2.0. I am deploying it using ClickOnce, and it has installed successfully on all machines except once. Most of our machines are Windows XP 64, and the application has installed on all of them except on this [...] read more
.net
deployment
clickonce
0votes
1answer

Activation with System.Runtime.InteropServices.COMException

Activation with System.Runtime.InteropServices.COMException causes the following error. A summary of the errors and details of these errors are listed later in the log... > Activation of C:\Documents and > Settings\MCIS\Desktop\Sanjivini\2.7\SanjiviniCommonApp.application resulted in > exception. Following failure messages were detected: > + Failed to load the runtime. (Exception from HRESULT: 0x80131700) read more
c#
0votes
1answer

Windows 8 Metro does not launch, "The process started, but the activation request failed with error 'The app didn't start'."

I've been developing a metro app on my personal laptop at home for the office showroom that's going to have a slideshow and the option to request a callback/leave contact details; Most of it is done, my issue is that when I uploaded the project to Dropbox so that I [...] read more
c#
visual-studio
windows-8
microsoft-metro
0votes
1answer

NGen error failed to load runtime error

I came across a strange error when using NGen from .NET Framework 4 to compile a bunch of DLL assemblies. The install worked for some of the DLLs, but for some others it produced the following error message: Failed to load the runtime. (Exception from HRESULT: 0x80131700). Assembly AseemblyFileLocation requires [...] read more
.net
dll
assemblies
ngen
0votes
1answer

Invoking method (from .net managed dll) from a SQL Stored procedure - Help

We wanted to call a .NET Managed code (deployed as dll) from a Stored Procedure in (SQL Server 2005/2008) We found couple of solutions, but couldn't get it working: 1. Following steps mentioned in the article at this place http://www32.brinkster.com/srisamp/sqlArticles/article_33.htm - leaves us with following error code: 0x80131700 2. In [...] read more
.net
sql-server
stored-procedures
com
managed-code
-1votes
1answer

VBS Script for mapping printer: How to do without .NET 3.5 framework?

Our printers are assigned by computergroups that have (almost) the same name as the printers (e.g. "prn-accounting" etc.). The script looks up the ad printer groups the computer is in, removes all network printers and only assigns the ones that the groups the computer is in suggest. It is working, [...] read more
vb.net
vbscript

Comments

Leave a comment

(plain text only)

Sources

  1. https://github.com/dotnet/coreclr/blob/v1.1.0/src/inc/corerror.xml
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  3. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0