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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

LCS Package Deployment (On Premise) Error at Preperation Stage

(2) ShareShare
ReportReport
Posted on by 8,223

Hi Experts

 

We are experiencing an error during the preparation phase of the Package Deployment.

It says "Deployment status: Preparation failed"

I've downloaded Log when I check merge.txt log I can see below

 

Waiting for Standalone setup extract to finish.

Extracting contents of deployable package started

Extracting contents of slipstream started

Extracting contents of servicefabric base package started

Extracting contents of deployable package completed

Extracting contents of slipstream completed

Extracting contents of servicefabric base package completed

Extracting contents of standalone setup packages started

Extracting contents of standalone setup packages completed

Waiting for deployable package extract to finish.

All extract operations are finished.

Checking for any modules to remove

Skipping removal of modules as either the RemoveModule.txt file is empty or file is not found

Install metadata packages script started

Completed install metadata packages script with output [2025-03-13T15:47:54Z] Updating Metadata Resources Files

Updating Metadata Reference File.

Updating Additional Files.

 

******************************************************

Packages installed in this session:

******************************************************

dynamicsax-abc.7.0.6801.37

 

installation log file: D:\T\TempDataFolder\OnPrem\qhoyg2yk.r1u\res\log\install-AXpackages_03132025034740.log

 

]

Deleting GeneratedXppSource from [D:\T\TempDataFolder\OnPrem\qhoyg2yk.r1u\res\tempPack\Packages\ABC\bin\GeneratedXppSource]

System.UnauthorizedAccessException: Access to the path 'DataEntityView_Template+__Persister__.xpp' is denied.

at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)

at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)

at Lcs.Servicing.OnPrem.OnPremAXSFService.DeleteGeneratedXppSourceDirectories() in d:\dbs\sh\dlcs\0226_213914\cmd\a\src\lcm\code\lcs.servicing.onprem\OnPremAXSFService.cs:line 901

at Lcs.Servicing.OnPrem.OnPremAXSFService.InstallAXMetadataModule(String deployableAOS, String webroot) in d:\dbs\sh\dlcs\0226_213914\cmd\a\src\lcm\code\lcs.servicing.onprem\OnPremAXSFService.cs:line 888

at Lcs.Servicing.OnPrem.OnPremAXSFService.ServiceSFApp(IServiceFabricServicingOptions options) in d:\dbs\sh\dlcs\0226_213914\cmd\a\src\lcm\code\lcs.servicing.onprem\OnPremAXSFService.cs:line 307

Zipping the log [D:\T\TempDataFolder\OnPrem\qhoyg2yk.r1u\res\log] started

 

this is a bit wired since VMs have no D Drive.

 

I appreciate your input/suggestions.

 

Regards,

 

AP

Categories:
I have the same question (0)
  • Suggested answer
    Holly Huffman Profile Picture
    6,538 Super User 2025 Season 2 on at
    Hi there! Good morning, evening, or afternoon - depending on where you are :) Hope you are well today!
     
    Apologies if you've already tried these: 
    • Check the Configuration: Verify the package and deployment configuration files to ensure there aren’t any hardcoded paths referencing the D: drive. The paths might need to be updated to align with your VM setup (e.g., C: drive or another valid directory).
    • Inspect the Deployment Script: The error log points to a script process attempting to clean up temporary files in D:\T\TempDataFolder. It’s worth examining if this path is generated dynamically or incorrectly assumed.
    • Environment-Specific Adjustments: If you're running this deployment in a non-standard environment or using custom configurations, ensure that all directory references match your actual file system structure.
    hope this helps some! 

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans