昨天有学习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之后,问题解决。

再次浏览:

最新文章

  1. mvc添加多条数据到数据库
  2. 摸索js的3d全景
  3. windows 说“我爱你”
  4. 【转载】jQuery插件开发精品教程,让你的jQuery提升一个台阶
  5. Java的内存回收机制
  6. aptana studio 3 自动换行(无需插件)
  7. Fom同时控制每一行不同的状态
  8. Android 写文件到手机
  9. php使用 _before_index() 来实现访问页面前,判断登录
  10. 页面爬虫(获取其他页面HTML)加载到自己页面
  11. golang中container/list包源码分析
  12. 自动化测试 selenium中WebDriver 和WebElement的区别
  13. 分布式版本控制系统 Git 的安装与使用
  14. ECS分区挂载数据盘
  15. WP8.1学习系列(第五章)——中心控件Hub或透视控件Pivot交互UX
  16. 【error】Invalid ADAPTORNAME specified. Type 'imaqhwinfo' for a list of available ADAPTORNAMEs.
  17. vue 操作数组,原数组怎么不让它改变
  18. 编写webpack 插件
  19. 使用qemu-img创建虚拟磁盘文件
  20. 重构改善既有代码设计--重构手法08:Replace Method with Method Object (以函数对象取代函数)

热门文章

  1. 数据库优化实践【MS SQL优化开篇】
  2. Java基础类型总结
  3. String的length()和Array的length
  4. iOS--------坐标系统(UIView的frame、bounds跟center属性)
  5. iOS----ARC(自动内存管理)
  6. QTP11的下载地址和破解教程
  7. 开源、免费功能全面的Chart图
  8. Liferay7 BPM门户开发之42: Liferay核心JSP定制扩展
  9. javascript设计模式与开发实践阅读笔记(5)——策略模式
  10. mac本用WTG(Windows To Go)安装Win10到移动硬盘