设置Web应用程序的信任级别 [英] setting Trust level of web application

查看:121
本文介绍了设置Web应用程序的信任级别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个应用程序向我显示此错误
System.Security.SecurityException:请求类型为"System.Security.Permissions.FileIOPermission,
的权限 当我尝试上传照片时.应用程序已部署在godaddy服务器上.

请有人帮我.....

关于

an application shows me this error
System.Security.SecurityException: Request for the permission of type ''System.Security.Permissions.FileIOPermission,
when i try to upload photo. Application is deployed on godaddy server.

please somebody help me.....

Regards

推荐答案

这听起来不像是信任问题.听起来您的代码更有可能尝试在网站外部写入文件.您使用什么代码实际写入文件?
This doesn''t sound like a trust issue. It sounds more likely that your code is trying to write the file outside of your website. What code are you using to actually write the file?


这篇关于设置Web应用程序的信任级别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆