What To Do When World Wide Web Service Stops after running a BUILD in Visual Studio on DEV Box

By Sunny Wong | December 18, 2023

It is normal for World Wide Web Service to stop after you start or run a BUILD in Visual Studio on DEV Box in Dynamics 365 Finance and Operations.

It is normal for this to happen, and when you start or run a BUILD with Visual Studio, IIS stops and IISExpress is started as development is set by default against IISExpress. This can mean, however, that you need to manually restart World Wide Web Service, which can be a tedious process if you want IIS as your preferred service.

Follow These Steps To Set IIS as Default to Keep World Wide Web Service From Stopping

Luckily, there is a solution you can use that dismisses the need to restart the service and can save you time. All you have to do is follow these simple steps:

  1. On your DEV box, go to K:\AOSservice\PackageLocalDirectory\bin folder.
  2. Look for the file called DynamicsDevConfig.xml and make a copy of the file (this is your backup).
  3. Edit the file and change RuntimeHostType from IISExpress to IIS.
  4. Save your change.
  5. Close out of Visual Studio if it is open and relaunch Visual Studio.
  6. Try running a compile again in Visual Studio.

If you follow these steps, your World Wide Web Service should stay running after your compile is done.

Stoneridge Software is Your Go-To Partner for Solving Issues in Dynamics 365 Finance and Operations

Please reach out to us! Stoneridge Software's D365 Finance and Operations team is ready to assist you with whatever you need.

Under the terms of this license, you are authorized to share and redistribute the content across various mediums, subject to adherence to the specified conditions: you must provide proper attribution to Stoneridge as the original creator in a manner that does not imply their endorsement of your use, the material is to be utilized solely for non-commercial purposes, and alterations, modifications, or derivative works based on the original material are strictly prohibited.

Responsibility rests with the licensee to ensure that their use of the material does not violate any other rights.

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!