Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

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

(1) ShareShare
ReportReport
Posted on by 91
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:
  • Yue Zhen Profile Picture
    Yue Zhen 91 on at
    Access to the path 'K:\AosService\PackagesLocalDirectory\model_name\bin\xxx' is denied'.
    Hi Anthony,
     
    Thank you for your guidance and clear steps.
     
    It works for me.
     
    Thank you and Merry Christmas!
     
    Best regards,
    Yue Zhen
  • Verified answer
    Anthony Blake Profile Picture
    Anthony Blake 2,213 Super User 2024 Season 2 on at
    Access to the path 'K:\AosService\PackagesLocalDirectory\model_name\bin\xxx' is denied'.
    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
    Yue Zhen 91 on at
    Access to the path 'K:\AosService\PackagesLocalDirectory\model_name\bin\xxx' is denied'.
    Hi Amine,
     
    I did restarted the machine but when I tried to get latest after restarting, I get the same errors.
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,856 Super User 2024 Season 2 on at
    Access to the path 'K:\AosService\PackagesLocalDirectory\model_name\bin\xxx' is denied'.
     
    I think the problem is due to other services that use the objects .

    I suggest you restart the services.
     
    Best regards,
    Mohamed Amine MAHMOUDI

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,409 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,483 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans