wcf服务(iis托管)调试问题

时间:2013-12-28 16:02:42

标签: c# asp.net wcf iis

托管我的wcf服务时遇到问题。当我以管理员身份运行Visual Studio时可以。但是当我不知道的时候

unable to start debugging on the web server iis does not list a website that matches the launched URL

我读到我必须打开Windows身份验证,但在我的IIS上我没有此选项,因为在安全程序功能中我没有复选框Windows身份验证。

找到运行我的服务的解决方案而不以管理员身份运行VS非常重要。

iis

program features

1 个答案:

答案 0 :(得分:0)

使用IIS Express解决您的问题:

转到“User \ Documents \ IISExpress \ config”,编辑文件“applicationhost.config”并删除使用占用端口的应用程序。