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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Error in step 27: Update script for service model: DevToolsService on machine: DevVM

(5) ShareShare
ReportReport
Posted on by 331
Hi, 
 
Tried to update the Dev vm from version .39 to .44, got the below error,
Error in step 27: Update script for service model: DevToolsService on machine: DevVM
bec of this error VS is not working - AOT objects and projects are not opening got the below error
 
 
tried all the solutions given in community but still the error is not solved,
Solution 1:
  • Go to Service Drive, on the cloud deployments it is k:\
  • Go into Deployable Packages Folder and Find the Package that failed, you can find it using date/time sorting.
  • Find the DevToolsService Scripts and there is a PowerShell Script named as AutoUpdateDevToolsService
  • Run this script manually and resume the update from the LCS.
Solution 2:
VSIX Installer
 
anyone have solution for this?
Categories:
I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at
    Remember facing it in the past.
    What's the outcome of running the PS script ? Did it all go fine?  I would normally run the PS in parts/chunks to understand, what it is doing at every step and verify the outcome.
  • André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at
    Hi Saran,
     
    Have you checked the error logs from the deployment about why it might fail? Note that your original version was quite old. Does this VM already have Visual Studio 2022 installed? If you keep having issues, the most easy would be deploying a new VM, connect to DevOps, get latest and continue. You might want to backup the database from this environment to be restored in the new VM.
  • Saran S Profile Picture
    331 on at
    Hi Andre,
     
    Have you checked the error logs from the deployment about why it might fail?
     
    -Below is the error found in the log for your ref
     
    "10/5/2025 8:19:16 AM - Catastrophic failure in extension loading: The method or operation is not implemented. with stack: 
        at VSIXInstaller.MemorySettingsManager.MemoryWritableSettingsStore.GetSubCollectionNames(String collectionPath)
       at Microsoft.VisualStudio.ExtensionManager.Impl.Settings.ExtensionSettingsCache.<ReadExtensionsAndMarkMissingExtensionsForDeletionAsync>d__97.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.VisualStudio.ExtensionManager.Impl.Settings.ExtensionSettingsCache.<LoadInstalledExtensionsFromCacheAsync>d__90.MoveNext()
    10/5/2025 8:19:16 AM - END: Processing extension pack
    10/5/2025 8:19:16 AM - Microsoft.VisualStudio.ExtensionManager.NotInstalledException: The extension with ID 'DynamicsRainierVSTools-52924ab1-c4fa-47fc-a90d-a5d1e69986bb' is not installed to any currently installed products.
       at VSIXInstaller.ExtensionService.GetUninstallableData(IStateData stateData, MarkupRawExtensionData vsixData, IEnumerable`1& targetSkus)
       at VSIXInstaller.ExtensionService.ComputeUninstallableExtensions(IStateData stateData, IDictionary`2 skuDataMapping, IList`1 uninstallableVsixIds)
       at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
       at VSIXInstaller.App.OnStartup(StartupEventArgs e)

    "
     
    Does this VM already have Visual Studio 2022 installed?
    -Yes, but not used.
  • André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at
    Hi Saran,
     
    The error is mentioning that an extension is missing. As mentioned you are updating a very old environment. It will be most likely quicker to deploy a new VM instead of trying to solve the current failure.
  • Saran S Profile Picture
    331 on at
    Hi Andre,
     
    Before moving to New VM, i need to checkin all my pending works right but for that the Problem is VS is not opening, so try to resolve the error and
     
    Just now found the error in Pre-servicing folder
     
    Error - "The specified module 'C:\Program Files\Microsoft Security Client\MpProvider' was not loaded because no valid module file was found in any module directory."
     
    is any solution for this error?
  • Anton Venter Profile Picture
    20,656 Super User 2026 Season 1 on at
    @Saran S using the latest deployment/update packages to update F&O on the VM also requires updating Visual Studio to version 2022 as well. But, that includes the add-in for F&O as well. Open Visual Studio 2022 on the VM, install the F&O add-in manually and then retry the update package.
     
     
  • Saran S Profile Picture
    331 on at
    Hi Anton,
     
    1. VS add-in is installed
     
    2. Got the below error while opening the VS after update issue
     
    3.Project is not opening
     
    is any other way to fix this?
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at
    Hi Saran,
     
    One recommendation before a next update. Ensure you check in or shelf your changes before installing an update. 
     
    You can copy the package directories of your models. After getting latest on a new VM, you can then overwrite the file contents as workaround. 
    You can then first deploy a new VM and after it is working, delete the old one.
  • Verified answer
    Saran S Profile Picture
    331 on at
    Hi,
     
    Thanks for all your support, now I fixed the issue by following the below blog:

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans