web
You’re offline. This is a read only version of the page.
close
Skip to main content
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"
}
I have the same question (0)
  • Bilal Haider Profile Picture
    408 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

  • Community Member Profile Picture
    on at
    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.

  • Suggested answer
    Bilal Haider Profile Picture
    408 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

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

    Thank you, it solved

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

    Great, if it helped you.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,308

#2
Sumit Singh Profile Picture

Sumit Singh 2,798

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,793

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans