我用Visual Studio 2008在asp.net中建立了一个网站 [英] i made a web site in asp.net with visual studio 2008

查看:119
本文介绍了我用Visual Studio 2008在asp.net中建立了一个网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请访问我的网站,并请帮助我解决此错误

www.gifha.trivisionbtinc.com

我收到此错误



``/gifha''应用程序中的服务器错误.
安全异常
说明:应用程序尝试执行安全策略不允许的操作.要授予此应用程序所需的权限,请联系您的系统管理员或在配置文件中更改应用程序的信任级别.

异常详细信息:System.Security.SecurityException:该程序集不允许部分受信任的调用方.



请告诉我如何解决这个问题,请详细告诉我

在此后面使用在同一位置创建pdf文件的代码,但是出现此错误,并且我的网站都在通勤者那里工作,正在将数据插入数据库以及创建的pfd文件中,但是当我将其放在域中时,会出现此错误请来吧,我

please see my this website and please help me about this error

www.gifha.trivisionbtinc.com

i am getting this error



Server Error in ''/gifha'' 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: That assembly does not allow partially trusted callers.



please tell me how i can sovle my this problem please tell me in details

behind this a use a code that create at same place pdf file but this error comes and my web site all working at my commuter it is working inserting data in database as well created pfd file as well but when i lad this at domain so this error comes please hell me

推荐答案

您的应用程序需要完整的信任环境才能工作

如此处 http://msdn.microsoft.com/en-us/library/所述,更改配置文件设置. wyts434y.aspx
Your application needs a full trust environment to work

Change the config file settings as described here http://msdn.microsoft.com/en-us/library/wyts434y.aspx


这篇关于我用Visual Studio 2008在asp.net中建立了一个网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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