简体   繁体   English

上传后在asp.net中出现错误

[英]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. 异常详细信息:System.Security.SecurityException:请求类型为“ System.Security.Permissions.SecurityPermission,mscorlib,Version = 2.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089”的权限失败。

Does anyone know how to solve this problem? 有谁知道如何解决这个问题?

Seems like what ever that page is trying to do, your server wont allow it. 好像该页面试图执行的操作一样,您的服务器将不允许它。 Are you in a medium trust hosting environment? 您是否处于中等信任托管环境中?

在此处此处参考以下解决方案,看看是否有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM