I just did a technical upgrade from Nav 4.01 to 5.0. I also upgraded from SQL 2000 to a SQL 2005 db.
The db seems fine from the testing I've done as far as viewing\modifing data - doing regular user based transactions however when I attemp to import objects I get the following message:
15151,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server] Cannot find the user '$ndo$shadow', because it does not exist or you do not have permission.
SQL:
GRANT ALL ON "database"."dbo"."Tablename" TO [$ndo$shadow]
I've read numerous posts relating to $ndo$shadow and how to fix this issue in previous versions of SQL however this app role does not exist in SQL 2005.
Just wondering if anyone has run into this issue before.
Thanks.
0
Comments
Also in file->database->alter->advance tab->security Model change it to standard.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Any suggestions?
In SQL SMS looked at this location and see if you see $ndo4shadow role
Database->YourDatabaseName->Security->Roles->Application Roles.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
When you upgraded from 4.01 your security model should have been set to Enhanced, since this is the model used in 4.0.
Did you then change it to Standard yourself?
This posting is provided "AS IS" with no warranties, and confers no rights.
I suggest to do a navision backup .fbk.
Create a new database and restore the Navision backup .fbk.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Do you have many users in the system?
I am wondering if you could change the model to Enhanced and back again to Standard, to re-create the app role.
This posting is provided "AS IS" with no warranties, and confers no rights.
I'm going to try the backup\restore and see if that creates the app role.
Thanks for all the suggestions thus far. The restore could take a while so I will update when finished.
Matt
I can confirm that creating a new database will create an app role, so the restore route should work for you. I was looking for a quicker way!
Good luck.
This posting is provided "AS IS" with no warranties, and confers no rights.
Thanks guys!
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
As for the technical upgrade from 4.01 to 5.0 I followed these instructions which I copied from a post made by David Singleton on another forum.
Hope this can help someone else. If anyone has any questions don't hesitate to PM me.
Thanks again
That is sometimes possible but in general, should be avoided.
In this case I believe it was the reason for the missing app role - the necessary security objects are created during the database upgrade step, dependent on the security model.
This posting is provided "AS IS" with no warranties, and confers no rights.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!