0

Help!

So few days ago suddenly while running any project i got this error in visual studio "unable to connect to the configured development web server" error in visual studio

so I searched the internet the fix for it, i have tried many things to fix it but it did not work. Here are the things that I tried to fix it:-

  1. I uninstalled and reinstalled .NET packages
  2. went in windows features and uninstalled and resinstalled .net, iis and windows activation service
  3. uninstalled all visual studio packages and also removed its registry entries and resinstalled
  4. uninstalled windows updates
  5. opened cmd in adminsitrator and ran 'iisreset' (this gave me an error like 'unable to start iis admin at end')

On opening iis I saw that iis was not running and upon trying to run it I got this error "Cannot Start Service W3SVC on Computer" iis error

I found out it was linked to 'world wide web publishing' service and saw that the service was in stopped state and when I tried to start the service manually i got this error "Error 1068: The Dependency Service or group Failed to start" service error

But I checked the dependencies, both "RPC Endpoint Mapper" and "DCOM Service Process Launcher" dependencies were in a running state. But still the service won't start

so I again went in windows features and uninstalled and resinstalled .net, iis and windows activation service but no luck

My hypothesis is that this issue started due to .net update that got installed via windows update. Its been more than 4 days and i still haven't found any working solution

Please help

user8883996
  • 133
  • 2
  • 7
  • 1
    In four days you should have already reinstalled Windows and everything. It is often beyond beginners' capabilities to fix Windows services cannot start issues, so next time if you hit it again, reinstall Windows please. – Lex Li Mar 02 '22 at 23:01
  • you maybe right. i should have reinstalled windows. But i still wanna know the root cause – user8883996 Mar 03 '22 at 08:18
  • same error: [https://stackoverflow.com/questions/19293572/how-to-solve-microsoft-visual-studio-vs-error-unable-to-connect-to-the-conf](https://stackoverflow.com/questions/19293572/how-to-solve-microsoft-visual-studio-vs-error-unable-to-connect-to-the-conf). – samwu Mar 03 '22 at 10:00
  • no. ports are not blocked on my system – user8883996 Mar 03 '22 at 12:33
  • 1
    It is difficult to reproduce your problem based on your description, If you want to know the root cause, I suggest you open a case via: https://support.microsoft.com. – samwu Mar 04 '22 at 08:43

0 Answers0