Installing Table Changes in Multi-Tenancy 2013 R2

dpracilio
Member Posts: 22
Hi Guys!
How is everyone dealing with importing table changes to NAV 2013 R2 into a multi-tenanted environment?
I am experiencing issues importing updated table objects when there is more than one tenant mounted on a NAV server instance. The error message is 'the (tenant name, as specified in tools\options\ could not be found. Check that the tenant is mounted...' I am using Build 36366.
When one tenant is mounted it seems to work fine, and once I mount the other tenants they inherit the table change/s successfully. I am curious to know whether this is the official process now, ie. you need to dismount the tenants, import objects, then mount the tenants to apply the changes to them. I am not sure if I have missed out on some configuration. What are you doing?
I've seen many posts including the official doco from Microsoft explaning the 'New Table Synchronization Paradigm in Microsoft Dynamics NAV 2013 R2' which include running the 'Sync-NAVTenant' command but cannot see any mention on how to import the changes. I did see a 'How Do I' video around importing objects but that only covered an instance with one tenant, not multiple.
Please let me know how you are dealing with this.
How is everyone dealing with importing table changes to NAV 2013 R2 into a multi-tenanted environment?
I am experiencing issues importing updated table objects when there is more than one tenant mounted on a NAV server instance. The error message is 'the (tenant name, as specified in tools\options\ could not be found. Check that the tenant is mounted...' I am using Build 36366.
When one tenant is mounted it seems to work fine, and once I mount the other tenants they inherit the table change/s successfully. I am curious to know whether this is the official process now, ie. you need to dismount the tenants, import objects, then mount the tenants to apply the changes to them. I am not sure if I have missed out on some configuration. What are you doing?
I've seen many posts including the official doco from Microsoft explaning the 'New Table Synchronization Paradigm in Microsoft Dynamics NAV 2013 R2' which include running the 'Sync-NAVTenant' command but cannot see any mention on how to import the changes. I did see a 'How Do I' video around importing objects but that only covered an instance with one tenant, not multiple.
Please let me know how you are dealing with this.
0
Comments
-
In a true multi-tenant environment (with multiple tenants mounted to the service) you must have Prevent Data Loss set to No prior to your Import. This tells NAV to make the table changes asynchronously. If you are dropping any columns or tables you must ensure that the tables/columns are empty/have default values prior to the import. As a last resort, if you aren't sure what changed within the schema, then you will need to dismount the tenant and remount with a Force Sync.
So, our process has been:
- keep track of table changes made during our release cycle
- blank out any deleted columns\tables prior to import
- import
- run Sync-NAVTenant on all tenants
Ben0 -
You cannot make such object changes while there are Tenants mounted on the service. When you modify the application, you make the changes available to one tenant at a time. As a result, if something goes wrong, all other tenants are not affected.
To handle this restriction use one of the following two options:
a. Dismount the tenants and make the change.
You can then re-mount the Tenants. This is recommended in order to ensure data integrity.
b. Set the “Prevent data loss from table changes”
option to “No” (See Tools -> Options in the Development Environment). This will allow you to force the object change but is not recommended normally due to high risk of data loss if you are not extremely careful.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