web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Upgrade 2017 Cronos to 2018

(0) ShareShare
ReportReport
Posted on by 222

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 have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,997 Super User 2025 Season 2 on at

    Opening development environment with Run as Administrator will solve these kind of issues sometimes.

  • PhilDOakley Profile Picture
    222 on at

    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.

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    It looks like the service account Network Services does not have proper permissions on your converted database, please assign the permissions and try again.

  • PhilDOakley Profile Picture
    222 on at

    Network service has dbo access to the new db. I also set the network service in SQL to be sysadmin still does not help

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Can you try with you local account which has permissions to the DB ?

  • PhilDOakley Profile Picture
    222 on at

    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.

  • PhilDOakley Profile Picture
    222 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans