Knowledgebase: Error Messages
While running my ASP.NET Application, I am receiving following error occurs:
Posted by AccuWebHosting.Com :: Heather S. on 11 October 2010 10:02 AM

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

Ans: Owing to some security reasons, we do not allow ASP.Net application to run on Full Trust Level on our shared servers, hence this Error.

Solution: In order to fix it, you need to change your application to Medium Trust Level from Full Trust Level. For doing so you will need to compile your script in medium trust level and upload it again on the server. Changing the trust level in web.config file will now work.

(3 votes)
This article was helpful
This article was not helpful

Comments (0)
Help Desk Software by Kayako Resolve