访问被拒绝的Web.config [英] Access is denied to Web.config

查看:237
本文介绍了访问被拒绝的Web.config的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序在asp.net 2.0,其中我开发一种形式使用ASP classes.it加密和解密web.confog连接字符串工作在测试envoirement细开发的,但它在使用中的生产服务器给出了这样的错误" .对生产服务器,我们已经给读/写权限为每个人"用户该文件,但仍造成了这一问题.
任何guidlines?

解决方案
您必须确保IIS_User aacount访问任何文件,而不是每个人用户.这本来是已经设置时安装IIS,所以你可能有另外一个问题,但不知道什么样的错误你实际上得到它很难说

i have one application developed in asp.net 2.0 in which i developed one form which encrypts and decrypts web.confog connection strings using ASP classes.it works fine in testing envoirement but it gives this error "" while using in production server.On Production server we have given Read/Write permissions to "EveryOne" user for this file but still its causing this issue.
Any guidlines?

解决方案

You must ensure the IIS_User aacount has access to any files, not the everyone user. This should have been set already when IIS was installed so you may have another issue, however without knowing what error you are actually getting it''s difficult to tell


这篇关于访问被拒绝的Web.config的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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