Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

The package cache c:\Users\ajaysukhlal\Documents\AL\ALProject1\./.alpackages could not be found.

(0) ShareShare
ReportReport
Posted on by

I have followed steps to install AL through VSIX & through extensions in Visual studio code.

I receive the error  The package cache c:\Users\ajaysukhlal\Documents\AL\ALProject1\./.alpackages could not be found. in app.json file

my launch.json file :

{
    "version""0.2.0",
    "configurations": [
        {
            "name""Your own server",
            "request""launch",
            "type""al",
            "environmentType""OnPrem",
            "server""http://localhost",
            "serverInstance""BC140",
            "port"8080,
            "authentication""UserPassword",
            "startupObjectId"22,
            "startupObjectType""Page",
            "breakOnError"true,
            "launchBrowser"true,
            "enableLongRunningSqlStatements"true,
            "enableSqlInformationDebugger"true,
            "tenant""default"
        }
    ]
}
my app.json file:
{
  "id""12bf875a-8cd0-432d-9e24-00e3a42f2ec2",
  "name""ALProject2",
  "publisher""Default publisher",
  "version""1.0.0.0",
  "brief""",
  "description""",
  "privacyStatement""",
  "EULA""",
  "help""",
  "url""",
  "logo""",
  "dependencies": [],
  "screenshots": [],
  "platform""14.0.0.0",
  "application""14.0.0.0",
  "idRanges": [
    {
      "from"50100,
      "to"50149
    }
  ],
  "contextSensitiveHelpUrl""">ALProject2.com/.../",
  "showMyCode"true,
  "runtime""3.0"
}
  • Bilal Haider Profile Picture
    Bilal Haider 232 on at
    RE: The package cache c:\Users\ajaysukhlal\Documents\AL\ALProject1\./.alpackages could not be found.

    Great, if it helped you.

  • RE: The package cache c:\Users\ajaysukhlal\Documents\AL\ALProject1\./.alpackages could not be found.

    Thank you, it solved

  • Suggested answer
    Bilal Haider Profile Picture
    Bilal Haider 232 on at
    RE: The package cache c:\Users\ajaysukhlal\Documents\AL\ALProject1\./.alpackages could not be found.

    Okay, I assume you have tried all the methods mentioned in above post i.e. to clear credential cache and clear edit history.

    As its OnPrem so open Business Central Administration and verify that is this service name is BC140 and is running and also verify the ports. Try to run Client attached to this service to verify its accessible.

    Check if your user have proper rights.

    Regards,

    Bilal Haider

  • RE: The package cache c:\Users\ajaysukhlal\Documents\AL\ALProject1\./.alpackages could not be found.

    I gave a try to the step as suggested in the post, but the error is same as I posted.

  • Bilal Haider Profile Picture
    Bilal Haider 232 on at
    RE: The package cache c:\Users\ajaysukhlal\Documents\AL\ALProject1\./.alpackages could not be found.

    Hi,

    It should be moved to Business Central forum.

    Check this link. Here many possibilities and solutions are discussed.: community.dynamics.com/.../938084

    Regards,

    Bilal

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans