Windows error 0x80131022, -2146234334

Detailed Error Information

HOST_E_INVALIDOPERATION[1]

Message"Invalid operation."
Comment The operation is invalid

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 Code4130 (0x1022)

Questions

4votes
1answer

Azure Functions - Application Insights - Custom Telemetry - EventSource instance already exists

I am trying to follow the instructions in Insights Preview where I can create custom telemetry. I followed the instructions exactly. But maybe I've got it configured wrong. I have the APPINSIGHTS_INSTRUMENTATIONKEY set in the local.settings.json file and it seems to work fine. But when I add a new TelemetryClient [...] read more
azure
azure-functions
azure-application-insights
4votes
3answers

What causes ModuleLoadException in RoleEnvironment initializer?

I'm debugging a class library with the WCF service, which uses installed Azure SDK 2.4 on Windows 8.1 using WCF Test Client and Visual Studio 2013 Ultimate debugger. The library was compiled using AnyCPU. An exception occurs when RoleEnvironment.IsAvailable is called. Here are the details: Message=The type initializer for 'Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment' [...] read more
c#
wcf
visual-studio-2013
windows-8.1
azure-sdk-.net
3votes
1answer

FIM Synchronization Server doesn't start - SharePoint 2010

Having problems with FIM Sychronization Service, its fails to start with following message in Application logs -------------------------------------------------------------------------------- The server encountered an unexpected error and stopped. "BAIL: MMS(9948): sql.cpp(8490): 0x80231334 (The sql connection string has unsupported values.) BAIL: MMS(9948): sql.cpp(8533): 0x80231334 (The sql connection string has unsupported values.) BAIL: MMS(9948): server.cpp(260): [...] read more
sharepoint-2010
3votes
1answer

Failed to load C module in new appdomain

I have some .NET code that need to run in a separate AppDomain, and everything goes well except when there is call of COM component. To make it clear, I wrote a very simple repro as below: AppDomain ap = AppDomain.CreateDomain("newap"); ap.DoCallBack( () => { //GroupPolicyObject is from assembly microsoft.grouppolicy.management.interop.dll [...] read more
c#
com
appdomain
2votes
1answer

Unable to create multiple AppDomains

I'm currently experimenting with hosting .NET CoreCLR in a C++ application to basically implement some kind of plugin system. I used the corerun source code as a base to get started and to explore how to build a native host other tutorials/documentation generally failed in one way or another. Finally [...] read more
c#
.net
.net-core
coreclr
1vote
1answer

.NET Framework Windows Server cloud RoleName not set

I am trying to add a cloud_RoleName to my Application Insights telemetry in a .NET 4.8 Framework Windows Service (e.g. Console App, etc.). I am using the nuget package Microsoft.ApplicationInsights.WindowsServer and an ApplicationInsights.config to configure everything but I just can't get the RoleName to be populated. I tried using this: [...] read more
c#
azure-application-insights
1vote
1answer

How do I setup VS 2017 with AspNetCoreModuleV2?

I'm trying to upgrade an existing app from 2.1 to 2.2. Along with that I'm trying to upgrade the AspNetCore hosting module for IIS to AspNetCoreModuleV2. Here is what my web.config looks like at the moment: <?xml version="1.0" encoding="utf-8"?> <configuration> <location path="." inheritInChildApplications="false"> <system.webServer> <handlers> <remove name="WebDAV" /> <add name="aspNetCore" [...] read more
c#
asp.net-core
iis
.net-core
0votes
1answer

Failed to initialize the Common Language Runtime from SQL Server 2008 R2

> Failed to initialize the Common Language Runtime (CLR) v2.0.50727 with HRESULT > 0x80131022. You may fix the problem and try again later. I get the above error. Microsoft's Solution It tells me I have some sort of memory problem pressure but does not provide a solution. I have determined [...] read more
.net
sql-server
sql-server-2008-r2

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