New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting HRESULT: 0x80131534 on Windows 8.1 when using dotnet #9272
Comments
I created new Win8.1 Enterprise machine, installed updates, installed .NET Core 2.0.2 SDK (including 2.0.0 Runtime), and installed 4.7.1. From command prompt: mkdir foo; cd foo; dotnet new; dotnet run. I got "Hello, World!" as expected. Is there something more to your repro? @weshaggard should this be opened in the dotnet/cli repo instead? |
@bass3l can you provide a little more repro steps? Can you give us the output of |
@weshaggard all I think the problem was with some missed up files of the SDK and .net framework which weren't getting cleaned even though with re-installing them... |
I was able to reproduce this issue on Win10 with the following configuration:
When starting the executable, it displays on the console: "Failed to initialize CoreCLR, HRESULT: 0x80131534" |
I can repro this now. I briefly looked in the debugger and I think the first error is an |
@RussKeldorph do you have a stack or more info here? |
I can repro it too. will take a closer look |
@bass3l could you please go to the folder that has the dotnet.exe (usually at C:\Program Files\dotnet) and then right clicks on the file dotnet.exe, then click on the compatibility tab and tell me what settings you have there? |
Sorry I can't, I've installed a fresh copy of windows to resolve the issue and it has been a while. Maybe @jmderuty can help |
If it helps, my version info:
I can repro it by adding the following registry value:
Stack at first clr exception:
@dotnet/dotnet-diag @nategraf @brianrob Due to possible diag and/or tracing connections. |
@tarekgh it looks like this is failing on the call to ToUpperInvariant: https://github.com/dotnet/coreclr/blob/master/src/mscorlib/shared/System/Diagnostics/Tracing/EventSource.cs#L350 |
@RussKeldorph @brianrob I know exactly what the problem is, but I want to confirm this problem occur only when setting the compatability mode on the exe (which is dotnet). this is why I was hoping @bass3l or @jmderuty can confirm. The underlying problem is coming from Windows, I'll talk to them and will try to find if there is a reasonable workaround from the framework side. |
Thanks @tarekgh! |
Hello, I hadn't tested with dotnet.exe prior to your request, only with a self contained helloworld application, and I confirm that I was able to reproduce with the Win8 compatibility mode. Going to try with dotnet.exe in a few moment. |
thanks @jmderuty for confirming |
Closing this issue per the discussion here. net core is not supported with Windows compatibility mode. users should not try to set the compatibility mode on dotnet.exe. |
Hello,
I'm facing the following error whenever I use dotnet cli:
Failed To Initialize CoreCLR, HRESULT: 0x80131534
I know that
HRESULT: 0x80131534
isTypeInitializationException
I have the following re-installed like a thousand times:
on Windows 8.1 Enterprise
Please advise
The text was updated successfully, but these errors were encountered: