Access is denied

昨天有学习ASP.NET MVC的publish和IIS发行网站《简单的ASP.NET MVC发布http://www.cnblogs.com/insus/p/4466200.html 。今天有在IIS :

发行另一个网站,在浏览时,它得到一个错误error提示:Access is denied。

Server Error in ‘/Aa‘ Application.


Access is denied.

Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.            
Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.  Contact the Web server‘s administrator for additional assistance.



Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009

因为此应用程序使用windows验证,可以从Web.config中查看得到:

既然是这样,可以尝试如下解决,打开IIS,选中你的应用程序Application。

再打开Authentication:

启用为Enable之后,问题解决。

再次浏览:

时间: 2024-08-26 23:44:07

Access is denied的相关文章

android webview "Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.", source: (1)

这种错误,可以在loadurl之后再调用 localstorage.setitem()即可解决. "Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.", source:  (1) android webview "Uncaught SecurityError: Failed to read t

[.net] 关于CS0016: Could not write to output file ‘c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files… ‘Access is denied.’ 的解决办法

[.net] 关于CS0016: Could not write to output file ‘c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files… ‘Access is denied.’ 的解决办法 1.添加用户"Network Service” 和 “IIS_IUSERS” 读下面目录的读写权限 a) C:\Windows\Temp b) C:\Windows\Microsoft.NET\Framewo

[BAT]通过schtasks.exe远程调用windows 2008 server上的计划任务,提示ERROR : Access is denied

在windows 2008 server 上建了一个计划任务,想通过命令 schtasks /run /tn "IPADForAdvisor_QA_APITest" /s SZPCWIN2K801 /u msdomain1\jzhang6 /p jzhang6'spassword 来远程启动这个计划任务,总是提示ERROR : Access is denied 登录的这个用户名和密码是在 SZPCWIN2K801 的 Administrators Group 里面的,而且是在同一个域里

401 - Unauthorized: Access is denied due to invalid

使用Windows集成验证,不管使用IIS还是IIS express,当同一个域进行访问时,可能出现401错误,错误的处理办法: 1. IIS(摘自MSDN的) IIS 7 was difficult for figuring out why i was getting the 401 - Unauthorized: Access is denied due to invalid credentials... until i did this... 1.) Open IIS and select

IIS6 2.0 4.0 冲突解决 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\xxx' -- 'Access is denied. '

今天在阿里云虚拟机上部署新站点后出现下面的错误: Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\xx' -- 'Access is denied. ' 找遍了网上的资料最后总结为以下几步:: Cleaned the "C:\Windows\Microsoft.NE

[解决]Mercurial HTTP Error 500: Access is denied on 00changelog.i

总之,用户对仓库目录要有写权限 00changelog, access is denied, hg, http error 500, mercurial, permissions, push Mercurial HTTP Error 500: Access is denied on 00changelog.i January 13, 2011 Today I created a new Mercurial repository on a Windows server.  I cloned it,

CREATE FILE encountered operating system error 5(Access is denied.)

这篇博文主要演示"CREATE FILE encountered operating system error 5(Access is denied.)"错误如出现的原因(当然只是导致这个错误出现的一种场景而已)和如何解决这个问题以及一些不解的迷惑. 实验环境: 操作系统版本: Windows Server 2012 SP2 数据库的版本:Microsoft SQL Server 2014 - 12.0.2000.8 如下所示,SQL Server Database Services

Lync 2013 Unauthorized: Access is denied due to a RBAC authorization Failure

今天安装Lync 2013, 全部都做完了,但是打开Lync控制台的时候用域管理员不能登录了.报错: Unauthorized: Access is denied due to a RBAC authorization Failure , 如下图, 修改了关于SQL的一些权限都不行.最终发现将administrator加入到CSadministrators这个组里就可以了. 微软官方也有相应的解说 https://technet.microsoft.com/zh-CN/library/gg413

Parser Error Message: Access is denied【转】

PRB: Access Denied Error When You Make Code Modifications with Index Services Running View products that this article applies to. Article ID : 329065 Last Review : June 25, 2004 Revision : 3.0 This article was previously published under Q329065 SYMPT

访问SSIS得到“Access is denied”错误

访问SSIS得到"Access is denied"错误 问题描述: 在Windows Server 2008 R2 SP1 (x64)上的SQL Server 2014 SP1 (x64)执行如下操作: 1. 打开SSMS,选择"Connect"."Integration Services-".   2. 输入实例名后,点击"Connect".   3. 得到"Access is denied"错误.