I had to completely uninstall and reinstall the NAV server and client so I could run the Demo database, and everything is updated.
But I cannot then access the company's database. I cannot run it from the NAV Server: I get an error (seen in event viewer) that it must be converted. In the development environment NAV2017CU12, running as administrator, I open the company database, am prompted to convert, I click on yes, then I get an error that I do not have permission to delete from the G/L Entry table. The service account and my account are both db_owners of the company database.
Why is it deleting from the G/L Entry table anyway?
So I cannot run the database until I convert it, and I cannot convert it. Also I get an error when I attempt to import the new version of table objects, that it cannot find the instance, so I cannot import the objects.
Slawek warned me that I would not be able to access my old database with the new client. I still have the NAV2017 software on the drive, so I can access the database with the development environment using that finsql.exe. But it doesn't really help. I cannot find in the upgrade codeunit where it even uses the G/L Entry table.
Thanks for any suggestions.
0
Answers
What you are trying to do, converting the database by opening it in CU12 Dev Env is called a technical upgrade You should normally perform this on a test database and run some tests to make sure all works as it should, before converting production db.
If you are committed to converting the production database to CU12 be aware that:
1 - there is no way back - once converted database cannot be converted back to older version.
2 - the converted database can only be open by upgraded clients - the new CU12 RTC client will have to be installed/upgraded on every PC. (For users using web client it makes no difference as the web client has been already updated when you installed new CU12 on the NST server)
Make sure to make full database backup right before converging it to the newer version.
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
I don't know what the upgrade process for cumulative update 12 does. The change log does not indicate anything significant to the data (unless I missed it).
Do you know what the data changes are? Or where I could find that?
For example CU4 and up requires additional field in Active Sessions so the conversion will try to add an extra field to Active Sessions. Sometimes new system tables are added on conversion - but I am not aware of any CU conversion which would need to touch tables like G/L Entry
Along with the CU however there are also coming application patches. These much more likely may change user tables, and may include upgrade codeunits which can potentially move content of a user table to a temporary location, delete the original table, create new table with updated structure and move the data back
The CU release notes should include all included patches description, you could read through those to find what CU is going to change.
I guess that you may have loaded the application fob coming with the CU and now after converting the database nav is firing the tenant synchronization and upgrade codeunits
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03