简体   繁体   English

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

[英]wcf service (iis hosted) debug issue

I have a problem while hosting my wcf service. 托管wcf服务时出现问题。 When i run Visual Studio as an administrator is ok. 当我以管理员身份运行Visual Studio时可以。 But when i don't i get 但是当我不明白的时候

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

I read that i have to turn on Windows Authetntication, but on my IIS i don't have this option, aslo in Program Features on Security i don't have checkbox Windows Authentication. 我读到我必须打开Windows身份验证,但是在我的IIS上我没有此选项,在“安全性程序功能”中我也没有Windows身份验证复选框。

It's very important to me to find a solution to run my service without running VS as administrator. 对于我来说,找到一种无需以管理员身份运行VS即可运行服务的解决方案对我来说非常重要。

iis

程序功能

To solve your problem with IIS Express: 要解决IIS Express问题:

Go to "User\\Documents\\IISExpress\\config", edit the file "applicationhost.config" and remove the app which uses the occupied port. 转到“ User \\ Documents \\ IISExpress \\ config”,编辑文件“ applicationhost.config”,然后删除使用占用端口的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM