kmyyf 2011年11月13日
Parser Error Message: Access is denied
在部署调试一个ASP.NET站点,登录页面提交后总是提示如下错误:Parser Error Message: Access is denied.
查看了报错页面源码,里面内容如下:
[ConfigurationErrorsException]: Access is denied.
(D:\WebApps\ORS\web.config line 311)
at System.Web.Security.Membership.Initialize()
at System.Web.UI.WebControls.LoginUtil.GetProvider(String providerName)
at System.Web.UI.WebControls.Login.AuthenticateUsingMembershipProvider(AuthenticateEventArgs e)
at System.Web.UI.WebControls.Login.AttemptLogin()
at System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.userlogin_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\ors\10d30fa9\1dc3ced2\App_Web_ksqr-tsq.4.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
在网上查找了各种解决方案,一种说是由于Index Service引起的,但我一直都禁用着Index Service;另一种说法是由于目录访问权限引起,我将整个Temporary ASP.NET Files 目录的完全访问权限赋予了everyone,依然不行,请问还可能有其它原因吗
...全文
97 点赞 收藏 2
写回复
2 条回复

还没有回复,快来抢沙发~

发动态
发帖子
Web Services
创建于2007-09-28

1.1w+

社区成员

1.6w+

社区内容

.NET技术 Web Services
社区公告
暂无公告