i make hosting on a company. When i am opening my application i am recieveing the following 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.Web.AspNetHostingPermission, System, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
By the way, i am working on Microsoft .NET Framework Version=1... and asp.net version= 1.000.
I am seeing on the last error page that the framwork and asp.net version
Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
Also i have selected the .net framework version 1.... in the control panel of the hosting.
Is it possible that i am recieving the error because of dffernt of versions between my local machine and server.
Thanks in advance.