cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Could not get authorize.net to process transaction with a medium trust level

 

I have a hosting providor that only allows a medium trust level.  I could only get a transaction to process at a full trust level.  How can I get authorize.net to work at medium trust level?

 

Thx

 

Server Error in '/' Application.

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SecurityException: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) +31
System.Security.CodeAccessPermission.Demand() +46
System.Environment.GetEnvironmentVariable(String variable) +66
AuthorizeNet.Environment.GetProperty(String propertyName) +70
AuthorizeNet.Environment.getBooleanProperty(String propertyName) +19
AuthorizeNet.Util.HttpUtility..cctor() +61

 

cltw
Contributor
1 REPLY 1

hello?

cltw
Contributor