Visual studio Code

JavaidJavaid Member Posts: 23
Hi

I am new in Navision NAV BC. I have installed Navision BC and Visual Studio Code on my mashine. So what now?

I got this error. How can I solve this?

hltiajd7mvdb.png




/Javaid

Best Answer

  • JavaidJavaid Member Posts: 23
    Answer ✓
    Thanks for your answer.

    I have now a new error which I think is related to the version. I have added launch.json and app.json.

    ox57vha6nxjo.png

    micgyf9zs8jb.png

    ywbr6xxnmgg7.png

    I have used 2.0
    l1l330gx0b90.png

    My NavisionBC version is
    zbuy2e3euu1e.png

    Any suggestion of how I solve this error.

Answers

  • PhoguePhogue Member Posts: 76
    Is your service tier running?

    I think you meant to write "OnPrem" and not "OnPrim" in line 17 "target:"
  • JavaidJavaid Member Posts: 23
    Answer ✓
    Thanks for your answer.

    I have now a new error which I think is related to the version. I have added launch.json and app.json.

    ox57vha6nxjo.png

    micgyf9zs8jb.png

    ywbr6xxnmgg7.png

    I have used 2.0
    l1l330gx0b90.png

    My NavisionBC version is
    zbuy2e3euu1e.png

    Any suggestion of how I solve this error.
  • ShaiHuludShaiHulud Member Posts: 228
    Have you published the System.app, generated symbol reference, marked "Enable application symbol references at server startup" in the server instance settings, and then restarted the service?
  • foo_barfoo_bar Member Posts: 91
    The serverinstance in your launch file is not correct, I presume this should just be 'BC130' in your case
  • JavaidJavaid Member Posts: 23
    Hi

    Thanks for your answers.

    You have both right. I also have to change the configuration file property
    <NetFx40_LegacySecurityPolicy enabled="false" />

    Now it is working perfect.
Sign In or Register to comment.