AL Publishing problem


New to AL - tried Sauravs introduction - all went fine until Publishing new objects (

When doing F5 I get the following messages :
[2019-02-05 22:22:39.40] The request for path /BC130/dev/apps?SchemaUpdateMode=synchronize failed with code 422. Reason:
The application object of type 'Table' with the ID '50000' is defined in the app 'ALProject1 by Default publisher', but already exists in the base application.

I enabled NetFx40_LegacySecurityPolicy restarted NAV Instance

Any Idea what to do ?


  • wolfskinwolfskin Posts: 36Member
    Try to add this statement in the file launch.jsob.

    "schemaUpdateMode": "Recreate"
  • SanderDkSanderDk Posts: 113Member
    The error said direct ly: There is install an extension in your database which is using the table id 50000.

    You need to delete the previous extension call ALProject1 before publishing the new.
    Search Extension -> Mark your extension and press uninstall + unpublish.
  • gtrennert2gtrennert2 Posts: 4Member
    I tried with RECREATE : same error
  • gtrennert2gtrennert2 Posts: 4Member
    I clicked on SEARCH and put in extension - VSE is now showing me different files containing "extension" in the name or in the file
    But :
    I can't see the table 50000 (because it does not contain the word extension)
    I can't see how to uninstall or unpublish
  • SanderDkSanderDk Posts: 113Member
    Search in BC (or NAV) for extension, there is a page that shows install extensions :smile:
    In there you need to delete your extension
  • nikhil01993nikhil01993 Posts: 5Member

    Regarding error you are facing you have to (I hope you are using On-Prem Version):
    1.Check your launch.json and check for Server Instance mentioned.
    2.Go to Business Central Administration and check the database connected to that service.
    3.Open Database in Development Environment and search for Object - Table50000
    4.If the object exists you may delete it or you can change your Object ID in Visual Studio code and change it to one which is not previously used.

    Hope this helps.
    Let me know if it works for you!.
Sign In or Register to comment.