asp.net – 登录尝试后GoDaddy上的另一个安全例外
发布时间:2020-05-23 22:38:11 所属栏目:asp.Net 来源:互联网
导读:主持人:GoDaddy共享主机 信任等级:中等 提交有效的用户/通行证后会发生以下情况.数据库具有读/写权限,当我删除管理页面上的登录要求时,按预期更新数据库工作. 有没有其他人有这个问题或知道问题是什么? 任何人? Server Error in / Application.Security E
|
主持人:GoDaddy共享主机 信任等级:中等 提交有效的用户/通行证后会发生以下情况.数据库具有读/写权限,当我删除管理页面上的登录要求时,按预期更新数据库工作. 有没有其他人有这个问题或知道问题是什么? 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.FileIOPermission,mscorlib,Version=2.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.FileIOPermission,PublicKeyToken=b77a5c561934e089' failed.] System.Security.CodeAccessSecurityEngine.Check(Object demand,StackCrawlMark& stackMark,Boolean isPermSet) +0 System.Security.CodeAccessPermission.Demand() +59 System.IO.FileStream.Init(String path,FileMode mode,FileAccess access,Int32 rights,Boolean useRights,FileShare share,Int32 bufferSize,FileOptions options,SECURITY_ATTRIBUTES secAttrs,String msgPath,Boolean bFromProxy) +684 System.IO.FileStream..ctor(String path,FileShare share) +114 System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForRead(String streamName) +80 System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName,Boolean assertPermissions) +115 System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName) +7 System.Configuration.Internal.DelegatingConfigHost.OpenStreamForRead(String streamName) +10 System.Configuration.UpdateConfigHost.OpenStreamForRead(String streamName) +42 System.Configuration.BaseConfigurationRecord.InitConfigFromFile() +437 Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 解决方法如果您使用的是任何第三方组件,则可能需要检查组件是否正在执行某种类型的安全操作.大约一年前,我遇到了GoDaddy和SubSonic ORM的问题,它遇到了要求一定程度安全性的特定代码行的问题.我在反射器中打开代码,看一看,验证它.这可能是个问题.如果组件导致痛苦,请尝试下载代码并删除可疑代码,重新编译并运行该代码.这正是我一年或两年后用SubSonic代码所做的事情. (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- asp.net-mvc-2 – 覆盖“Html.EditorFor”上的类
- asp.net 汉字转换拼音及首字母实现代码
- asp.net-mvc – “信号量超时期限已过期”SQL Azure
- asp.net-mvc – 保护MVC中的文件夹
- asp.net – 如何限制指定文件类型的下载
- asp.net-mvc-4 – 我似乎没有安装SignalR与MVC4
- 如何在ASP.NET MVC3中包含来自局部视图的JavaScript
- asp.net-mvc – 避免@html.checkboxfor的foreach
- asp.net-mvc – MVC Model Binding不适用于Kendo Grid
- ASP.NET(MVC)Outputcache和并发请求
推荐文章
站长推荐
- asp.net – 如何在.net WebApi2应用程序中使用OA
- asp.net-core – .net核心自定义身份验证中的Use
- asp.net-mvc – UpdateModel和TryUpdateModel
- asp.net-mvc – 使用MVC使用List填充@ Html.Drop
- 用ADO.NET处理层次数据
- asp.net – IIS 7.5不加载静态html页面
- asp.net-mvc – 使用JSON结果填充下拉列表 – 使
- ASP.NET Core使用SkiaSharp实现验证码的示例代码
- 单元测试 – 使用MOQ对象进行ASP.NET MVC单元测试
- 白屏问题,如果用户在asp.net页面中保持空闲状态
热点阅读
