Fatal error. Internal CLR error. (0x80131506)

Ganesh Shevate 0 Reputation points

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


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.
10,518 questions
Microsoft Technologies based on the .NET software framework.
3,323 questions
A set of technologies in the .NET Framework for building web applications and XML web services.
4,118 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,557 questions
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,164 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 26,096 Reputation points Microsoft Vendor

    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.