Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

What are technical and license Prerequisites to get started with AL programming

Posted on by 189

Hi 

We have just set up a new Business Central system with Business Central Essentials license.

Then I have tried to follow this AL learning path Get started with development in Microsoft Dynamics 365 Business Central - Learn | Microsoft Docs

But I fail to succeed - I never get to the stage where the Hello World app is running - and if I can't even get the Hello World then this is going to be a tough and steep learning curve.

In stead i get an error message 

"The package cache c:\\myfolder\\AL\\ALProject1\\./.alpackages could not be found."

The folder where i placed my first project is c:\myfolder\AL\ALProject1 but the error message contains a lot of double backslash - c:\\myfolder\\AL\\ALProject1 - This looks strange, but I don't know if this means anything.

In the Output tab I also see some error messages:

[2022-01-05 09:43:46.23] Targeting Dynamics 365 Business Central.
[2022-01-05 09:43:46.24] Sending request to api.businesscentral.dynamics.com/.../metadata
[2022-01-05 09:43:46.60] The request for path /v2.0/sandbox/dev/metadata failed with code NotFound. Reason: Not Found
Am I missing some prerequisites or what is wrong.
  • Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: What are technical and license Prerequisites to get started with AL programming

    I am glad you got it working and get one step further.

    Good luck with learning AL. We are here to try to help you as good as we can!

  • TMNielsen Profile Picture
    TMNielsen 189 on at
    RE: What are technical and license Prerequisites to get started with AL programming

    Thanks Inge, I now got one step ahead.

    I was actually wondering how the program would know which sandbox to use, but as I have only one, I thought it might work.

    It is very frustrating that the tutorial does not mention this step, but thanks to you I can finally get started learning AL.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: What are technical and license Prerequisites to get started with AL programming

    I think the issue is in your launch json file where you have not addressed your sandbox in the correct way.

    Make sure you have theese two properties are defined correct.

    "environmentType": "Sandbox",

     "environmentName": "YourSandboxName"

  • TMNielsen Profile Picture
    TMNielsen 189 on at
    RE: What are technical and license Prerequisites to get started with AL programming

    I should add that we run Business Central cloud version and that I have successfully created a sandbox.

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans