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, ...
Answered

Access to the path 'K:\AosService\PackagesLocalDirectory\model_name\bin\xxx' is denied'.

(2) ShareShare
ReportReport
Posted on by 147
Dear experts,
 
I am configuring the workspace on Visual Studio 2022 on the Cloud Hosted Environment. When I finished the map between the server and local folders, I clicked Yes button to sync from DevOps to local.
 
However, I encounter many errors stating that 'K:\AosService\PackagesLocalDirectory\model_name\bin\xxx' is denied'. 
 
I would like to ask for advice on how to fix this issue.
 
I am sure that I already run Visual Studio 2022 as an administrator. I log in the virtual machine using the admin credential.
 
Categories:
I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,416 Super User 2025 Season 2 on at
     
    I think the problem is due to other services that use the objects .

    I suggest you restart the services.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Yue Zhen Profile Picture
    147 on at
    Hi Amine,
     
    I did restarted the machine but when I tried to get latest after restarting, I get the same errors.
  • Verified answer
    Anthony Blake Profile Picture
    2,963 Super User 2025 Season 2 on at
    Hi 
     
    Disable these 2 D365 Services:
     
     
    And disable the WWW service:
     
     
    Reopen visual studio, and Exit IISExpress:
     
     
    Then wait a few mins while everything stops.
     
    Then retry your get latest.
     
    Don't forget to start everything back up afterwards.
     
    Thanks
    Anthony
  • Yue Zhen Profile Picture
    147 on at
    Hi Anthony,
     
    Thank you for your guidance and clear steps.
     
    It works for me.
     
    Thank you and Merry Christmas!
     
    Best regards,
    Yue Zhen

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
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans