【问题标题】:Webapp works in vs 2010 but not vs 2015Webapp 适用于 vs 2010 但不适用于 vs 2015
【发布时间】:2016-08-09 08:41:29
【问题描述】:

我有一个从 2010 年开始运行时运行良好的 WebApp,但在我使用 2015 年时失败并显示此消息:

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:2.0.50727.8689; ASP.NET Version:2.0.50727.8670

该项目无需升级即可加载到 2015 年。为什么这不在 2015 年运行?

编辑:回答@Aristos,它使用webforms,URL是http://my_app:port_here/(也设置了动态端口),项目/解决方案是VS中的一个Web应用程序。它从 2010 年开始运行,但不是从 2015 年开始

【问题讨论】:

  • 你使用什么网址?你有表格或 mvc 吗?这是数据库错误消息吗?

标签: asp.net visual-studio webforms


【解决方案1】:

找到了我的问题的答案:this is the correct answer

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-08-03
    • 1970-01-01
    • 1970-01-01
    • 2019-07-20
    • 1970-01-01
    • 1970-01-01
    • 2012-10-05
    相关资源
    最近更新 更多