AL Publishing problem

gtrennert2
Member Posts: 23
Hello
New to AL - tried Sauravs introduction - all went fine until Publishing new objects (https://saurav-nav.blogspot.com/2018/12/msdyn365bc-al-development-05-publish.html
When doing F5 I get the following messages :
I enabled NetFx40_LegacySecurityPolicy restarted NAV Instance
Any Idea what to do ?
New to AL - tried Sauravs introduction - all went fine until Publishing new objects (https://saurav-nav.blogspot.com/2018/12/msdyn365bc-al-development-05-publish.html
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 1.0.0.0', but already exists in the base application.
I enabled NetFx40_LegacySecurityPolicy restarted NAV Instance
Any Idea what to do ?
0
Answers
-
Try to add this statement in the file launch.jsob.
"schemaUpdateMode": "Recreate"0 -
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.For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0 -
I tried with RECREATE : same error0
-
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
0 -
Search in BC (or NAV) for extension, there is a page that shows install extensions
In there you need to delete your extensionFor help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0 -
Hi!
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!.
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions