Getting error .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance.

Shailendra Sute 1 Reputation point
2021-01-13T18:38:07.1+00:00

Hello,

I have a .NET Framework 4.6.1 Web API.

Recently started getting error ".NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{71DA0A04-7777-4EC6-9643-7D28B46A8A41}'. HRESULT: 0x8007007e. Process ID (decimal): 3024. Message ID: [0x2504]."

Recently, I added a .NET Standard 2.0 library from NuGet.

Same works on my local but errors out on web server.

Do I need to install .NET Standard 2.0 on the server just for this new library?

This is a legacy app and it is a shared server, it is not recommended to install anything on the server. (red-tape)

What is the alternate solution?

Thanks,

Shailendra

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,135 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Abdulhakim M. Elrhumi 351 Reputation points
    2021-01-13T21:03:35.54+00:00

    Hi

    .NET 3.5 is required to run both Kiwi Syslog Server and Kiwi CatTools. This article describes two procedures for installing .NET 3.5 on Windows Server 2019.

    install .NET Framework 4 and 4.5 .

    Best Regards.

    Please click the Mark as answer button and vote as helpful if this reply solves your problem.

    0 comments No comments