VS 2013与MVC Access被拒绝 [英] VS 2013 with MVC Access is denied

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

问题描述

让VS 2012 MVC应用程序运行。


如果我尝试在2013年运行它,我会得到:



'/'应用程序中的服务器错误。



访问被拒绝。


说明:访问提供此请求所需的资源时发生错误。可能未配置服务器以访问请求的URL。




错误消息401.2。:未经授权:由于服务器配置登录失败。  验证您是否有权根据您提供的凭据和Web服务器上启用的身份验证方法查看此目录或页面。
 请联系网络服务器的管理员以获取更多帮助。





版本信息:  Microsoft .NET Framework版本:4.0.30319; ASP.NET版本:4.0.30319.18408

解决方案

< blockquote>

您好,


感谢您的发帖。


我担心这个问题超出VS一般问题的支持范围论坛主要讨论
WPF& SL设计师,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统
Visual Studio编辑器。


因为您正在使用ASP.NET MVC Web应用程序并在运行时遇到问题,我建议您可以在ASP.NET MVC上查阅您的问题论坛:
http://forums.asp.net/ 1146.aspx / 1?MVC
以获得更好的解决方案和支持。


祝你好运,


Have VS 2012 MVC aplication running.

If I try to run it in 2013 I get:

Server Error in '/' 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.18408

解决方案

Hello,

Thank you for your post.

I am afraid that the issue is out of support range of VS General Question forum which mainly discusses WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System and Visual Studio Editor.

Because you are working with ASP.NET MVC web Application and get issues when running it, I suggest that you can consult your issue on ASP.NET MVC forum: http://forums.asp.net/1146.aspx/1?MVC for better solution and support.

Best regards,


这篇关于VS 2013与MVC Access被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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