I have prepared the database as per https://docs.microsoft.com/en-us/dynamics-nav/upgrading-the-data
I created a new server with NAV 2018 installed and working with the 2018 demo database.
I created a new service tier and copied the sql database from the old 2017 server to the new. Put the new database name in the new tier. The new tier has different ports to the original 2018 and when I start the tier it runs but then stops a few seconds after.
I get a lot of info in the event log this is the last error and the other are warnings for info
Type: System.ObjectDisposedException
Message:
<ii>Cannot access a disposed object.
Object name: 'NavTenant'.</ii>
ObjectName: NavTenant
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavTenant.get_Database()
at Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.CompileBusinessApplication()
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146232798
Also this warning
The service could not remove service principal names because the service account could not be found in Active Directory.
Account: NT AUTHORITY\NETWORK SERVICE
Service principal names:
DynamicsNAV/Nav2018Demo:8045
DynamicsNAV/Nav2018Demo:8045
The other working tier uses the same account
Any idea what is wrong here?
*This post is locked for comments
I think the spn registration message is not relevant as the working tier also shows errors in the event log when starting and stopping that.
No still the same issue using administrator as the service logon. I am using administrator for all the work on this server and the setup etc.
Can you try with you local account which has permissions to the DB ?
Network service has dbo access to the new db. I also set the network service in SQL to be sysadmin still does not help
It looks like the service account Network Services does not have proper permissions on your converted database, please assign the permissions and try again.
I run as administrator for the dev env
Without the tier running it is not possible to set the database to the correct tier in the dev env or to run the sync function. Something in the dtabase is stopping the service running.
Opening development environment with Run as Administrator will solve these kind of issues sometimes.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156