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
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
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
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
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
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
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
> 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