The type initializer for 'MS.Utility.EventTrace' threw an exception.

Mar 10, 2015 at 2:56 PM
Good Morning

I created a class library that uses EPPlus.dll.
If the call from a console application works correctly.

This library I have to call from an asp page. When the call me the following error:

The type initializer for 'MS.Utility.EventTrace' threw an exception.
Requested registry access is not allowed.

I searched the internet but have not found the solution to my problem.
Can you help?

Thank You.