Microsoft Dynamics NAV Development Environment
---------------------------
The following SQL error was unexpected:
---------------------------
OK
---------------------------
*This post is locked for comments
*This post is locked for comments
The user for which you have to set the permission described above is the user associated to your NAV service (not your NAV user account). I've not explicitly said that before because I've thinked tha it was obvious. If you've done this, it's quite strange that it doesn't work.
Already given full permission .
Friends, thanks for all your replay.
I understand this issue is related to some permission.I cant find out the solution.
I got a work around for this change the Service login to Local system, then sync the objects. After that i can able to change the login to domain user and then it is working.
Thanks for the response, however...
The user I'm logged on as is a domain admin, dbo for the database, and the NAV service user. I had no issues a month ago when developing, compiling, etc.
Can you try setting your user ad DbOwner in SQL Server? Normally the GRANT I've provided above fix this.
This is occurring on NAV 2018 version 11.0.20348. SQL version 12.0.5207.0 Standard and Server 2012 R2 Standard
Which NAV version is this error on ?
I am also having this problem and the suggested fix isn't working.
Check your NAV service user's permissions. Is it dbowner or not?
You can grant permission executing the following T-SQL:
GRANT VIEW CHANGE TRACKING ON [dbo].[Object] TO [YourDomain\YourUser];
GRANT VIEW CHANGE TRACKING ON [dbo].[NAV App] TO [YourDomain\YourUser];
Check your SQL server login permissions.