Click here to Skip to main content
15,991,360 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
System.TypeInitializationException: The type initializer for 'AuthorizeNet.Util.HttpUtility' threw an exception. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.


I am getting this error while uploading it on server.I tried to set Trust Level="Full" but not getting success.

What I have tried:

I am getting this error while uploading it on server.I tried to set Trust Level="Full" but not getting success.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900