简体   繁体   中英

wcf service (iis hosted) debug issue

I have a problem while hosting my wcf service. When i run Visual Studio as an administrator is ok. 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.

It's very important to me to find a solution to run my service without running VS as administrator.

iis

程序功能

To solve your problem with IIS Express:

Go to "User\\Documents\\IISExpress\\config", edit the file "applicationhost.config" and remove the app which uses the occupied port.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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