Prevent DB upgrade / revert back (17/18)
 
            
                
                    Miklos_Hollender                
                
                    Member Posts: 1,598                
            
                        
            
                    I know the old topics about $ndo$dbproperty. Is still just that one table if you accidentally moved (with the dev env) a 2017 db to 2018?
Can you prevent such a move? I don't know, maybe block write access to $ndo$dbpoperty or something?
                Can you prevent such a move? I don't know, maybe block write access to $ndo$dbpoperty or something?
0                
            Best Answers
- 
            We just found a potentially easier solution. We just create two new domain accounts for the two people who have development environment access. The new accounts cannot access the older database, the older accounts cannot access the new database. Also, ZUP Files are automatically saved in different folders and don't get overwritten.
 0
- 
            I thought that you after some technical solution, not procedural. Anyway, imho it is better to have simpler solution in place, like separate AD accountsSlawek Guzek
 Dynamics NAV, MS SQL Server, Wherescape RED;
 PRINCE2 Practitioner - License GR657010572SG
 GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-035
Answers
- 
            you means if this is the only table which undergo structural and/or data changes when you convert the database to from 2017 to 2018?
 I'd check Active Session table too.
 Also there might be some triggers added/changed and if the whole process is not run as asingle transaction. Unfortunately my exprience wit eariler versions with problems when conversion has been interrupded half way through and you can't get to it either from old and nor from the new client suggests that it may not be. Accidental conversion stopped on accessing $ndo$dbpoperty may be 'lethal' in such case.
 Slawek Guzek
 Dynamics NAV, MS SQL Server, Wherescape RED;
 PRINCE2 Practitioner - License GR657010572SG
 GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030
- 
            That is quite scary. I have one physical server running two live systems, 2017 and 2018 and even if we manage to stick to the discipline of never doing object changes direct on live at the end of the day we have to import objects and we are not very good at PowerSheel scripting so mostly it is going to be through the dev env. Which means the possibility of accidental conversion. What could I do to prevent this?0
- 
            Start withDENY ALTER ON [dbo].[$ndo$dbproperty] TO [public] DENY UPDATE ON [dbo].[$ndo$dbproperty] TO [public] in some separate 2017 database (exrta copy of Cronus 2017) and then try to convert it to 2017, and see what happens. Perhaps denying update access to $ndo$dbpoperty will be enough.
 If not just analyse with SQL Profiler what is going on when you do conversion, and when you importing fob, and then adjust permissions accordingly and then adjust SQL Server permissions. The goal would be to stop the first operation performed by NAV during conversion.Slawek Guzek
 Dynamics NAV, MS SQL Server, Wherescape RED;
 PRINCE2 Practitioner - License GR657010572SG
 GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030
- 
            We just found a potentially easier solution. We just create two new domain accounts for the two people who have development environment access. The new accounts cannot access the older database, the older accounts cannot access the new database. Also, ZUP Files are automatically saved in different folders and don't get overwritten.
 0
- 
            I thought that you after some technical solution, not procedural. Anyway, imho it is better to have simpler solution in place, like separate AD accountsSlawek Guzek
 Dynamics NAV, MS SQL Server, Wherescape RED;
 PRINCE2 Practitioner - License GR657010572SG
 GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-035
- 
            Well, it is technological from viewpoint as it physically prevents conversion.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
- 323 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
