Emaad Ali
Emaad Ali

Reputation: 1501

getting error in asp.net after uploading

Kindly check the link

I've uploaded the website and after uploading when I run the application it starts giving me this error:

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.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Does anyone know how to solve this problem?

Upvotes: 0

Views: 103

Answers (2)

Hallaghan
Hallaghan

Reputation: 1941

Please refer to the following solution here and here and see if it helps.

Upvotes: 0

Ben Cull
Ben Cull

Reputation: 9514

Seems like what ever that page is trying to do, your server wont allow it. Are you in a medium trust hosting environment?

Upvotes: 3

Related Questions