Fatal error. Internal CLR error. (0x80131506)

Ganesh Shevate 0 Reputation points
2024-04-01T07:28:32.7033333+00:00

Installed fresh Visual Studio 17.9.5 first time with .NET5/6/7/8 along with SDK and RunTime too etc. But after creating an application using .NET8 and did try to run then getting an error on Console

Error:

Fatal error. Internal CLR error. (0x80131506). So please do provide me the solution.

OS: Windows 10

Version: 22h2

Edition: Windows 10 Pro

Build: 19045.4239

Experience: Windows Feature Experience Pack 1000.19055.1000.0

So please do give me necessary assistance so can resolve this issue.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,195 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,887 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,648 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 29,106 Reputation points Microsoft Vendor
    2024-04-01T08:06:15.9233333+00:00

    Hi @Ganesh Shevate ,

    If you're currently using the latest version of the .NET 8 SDK, try uninstalling and installing the older version of the .NET 8 SDK.

    Best Regards.

    Jiachen Li


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.