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 :
Business Central forum

The Package cache

(0) ShareShare
ReportReport
Posted on by 10

Getting the below error when running my first hello world?

The package cache c:\Users\adam.ONSITE\Documents\\./.alpackages could not be found. 

Help much appreciated 

Categories:
I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Try to execute Clear Editor History from command palette and download symbols again.

  • adamp Profile Picture
    10 on at

    No joy with the above I'm afraid

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Nothing also using AL:Clear Credential Cache?

  • Prayusha Profile Picture
    57 on at

    I have this exact same error and nothing seems to work. I tried it on 2 different machines (thinking the problem could be with user rights)

    Clear Credential Cache and Clear Edit History also doesn't work unfortunately. Any suggestions ?

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    Did you download the symbols ?

    Try running the AL:Download Symbols.

  • adamp Profile Picture
    10 on at

    Unfortunately no clear commands are working, error received below:

    code NotFound. Reason: No published package matches the provided arguments.

    [2019-06-09 21:43:32.19] Could not download reference symbols. Please ensure that:

    1. The correct server name and instance are specified in the launch.json file.

    2. The correct application version is specified in the app.json file.

    3. The dependencies are correctly specified in the app.json file.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Is this an online sandbox, a Docker-based sandbox or a local environment? I suspect an error on your configuration because I’ve always fixed this VS Code error with the above solutions. Please post environment details and launch.json.

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    Check your server name and instance in launch.json. You might be looking at the  wrong server.

  • adamp Profile Picture
    10 on at

    This is my current file:

    {

       "version": "0.2.0",

       "configurations": [

           {

               "type": "al",

               "request": "launch",

               "name": "Microsoft cloud sandbox",

               "startupObjectId": 22,

               "startupObjectType": "Page",

               "breakOnError": true,

               "launchBrowser": true

           }

       ]

    }

  • Prayusha Profile Picture
    57 on at

    I finally could figure out the issue while facing the same error. There were two instances created on my machine. and the launch file was connecting the wrong instance. I have an on premise installation. I corrected the launch file and I could download the symbols. The /.alpackages folder was also created. Maybe some issue with the severinstance in the launch file ?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans