web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

When VS is opened, World Wide Web Publishing Service stops

(0) ShareShare
ReportReport
Posted on by 962

Hi 

I got an issue. If I do not open VS, the D365FO will work fine. however, once I open VS whatever I do(click Build models, open projects) will stop the World Wide Web Publishing Service. If I restart the World Wide Web Publishing Service, it will back to work. However when I rebuild project, it will stop again.

Does anyone has same issue? and how to fix this issue?

Thank you very much!

Best Regards,

JustZM

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    236,353 Most Valuable Professional on at
    RE: When VS is opened, World Wide Web Publishing Service stops

    This is the correct behavior. When you start Visual Studio, IIS is stopped and IISExpress is started. Development is done (by default) against IISExpress and not IIS.

  • Blue Wang Profile Picture
    on at
    RE: When VS is opened, World Wide Web Publishing Service stops

    HI JustZM,

    when you open Visual Studio the VM switches to using IISExpress instead of IIS. This is to support debugging as a non-admin user. That means when you open Visual Studio, IIS will stop and IISExpress will start. That also means you can't start IIS again because IISExpress is using.

    Check this thread:

    community.dynamics.com/.../793915

  • JustZM Profile Picture
    962 on at
    RE: When VS is opened, World Wide Web Publishing Service stops

    Hi All

    Thanks for your reply. However how can we fix this issue?

    This issue does not allow me to debug or check data when VS is opened. I checked links, the change is on version is PU12, but right now my version is Update34 (7.0.5600.35524). I have never seen this issue before. 

    And before current version, it the it always allows me to check data, form, page etc. But right now, the server becomes unavailable.

    (when VS is opened)

    pastedimage1593022100876v1.png

    (when I am going to debug)

    pastedimage1593022193037v2.png

  • Martin Dráb Profile Picture
    236,353 Most Valuable Professional on at
    RE: When VS is opened, World Wide Web Publishing Service stops

    When did it stop working? Are you aware of any change at that time?

    Is this a freshly deployed VM or upgraded from an older version?

  • JustZM Profile Picture
    962 on at
    RE: When VS is opened, World Wide Web Publishing Service stops

    Hi Martin

    This environment is my one of Dev environments in LCS. When I applied Version 10.0.8 with Platform update 32 to this one, the environment still working. The last time apply update is Version 10.0.10 on 5/18; and on 6/11, I did Rotate SSL certificates and Rotate certificates. This week is the first time I login to it for developing after 6/11. Then I found this issue.

    Best Regards,

    JustZM

  • Martin Dráb Profile Picture
    236,353 Most Valuable Professional on at
    RE: When VS is opened, World Wide Web Publishing Service stops

    It's hard to guess, but it might be related to certificates.

    Rather than spending a lot of time investigating it, what about simply deploying a new environment?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,028

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 878 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 579 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans