27 October 2025

D365FO: "DVT script for service model" error while updating environment


Recent Microsoft updates for 10.0.45 started to fail on steps 60/61 with the "DVT script for service model" error while deploying the update package.


Solution:

  1. Open Event Viewer, go to Windows logs->Application

  2. Restart IIS (iisreset in Admin CMD prompt)

  3. Refresh events in Event Viewer, look for the last warning events in ASP .NET

  4. Check event details, it will look similar to the one below:

    Event code: 3008
    Event message: A configuration error has occurred.
    Exception information:
    Exception type: ConfigurationErrorsException
    Exception message: Could not load file or assembly 'System.Net.Http' or one of its dependencies. The system cannot find the file specified. (K:\AosService\WebRoot\web.config line 1300)


  5.  Edit the web.config, find the line from the error, comment the line using HTML comments <!-- --> and save your changes.

  6. Restart IIS to check that you get prompted for credentials while logging in to the D365FO. If yes - resume LCS update, it will pass now.

No comments:

Post a Comment