I have created new sql databse(.mdf) in navision by restoring the .fdb database,that contains the userID "SUPER" and PASSWORD IS blank,the .mdf database has sucssessfully restored,then I have closed that database(.mdf) when i again OPENING THAT DATABASE BY USING USEDID SSUPER AND PASSWORD BLANK,THEN IT GIVES ME THE ERROR Combination of USERID and Password is incoorect,I m not able to open that database(.mdf) and I have also created that userID "SUPER" and Password Blank in SQL server 2000,then again it is showing me d same error.give me the solution.Then again I have created d new .mdf databse by deleting the previous one and restored d the databse successfully then I have created the USERID "XYZ" abd password Blank and the same userIdD I have created in SQL SERVER 2000,and when I have closed that .mdf Database then again I m not able to open that (.mdf) databse same error occurs.and plzz tell me that while creating USERID where we have to put first in .MDF database or in SQL databse.
Vikram Dabas
Navision Technical Consultant
0
Comments
Does the user id u are using has been defined in the backup database. I guess that can be the problem.
You are using 2000 :-k :-k
http://ssdynamics.co.in
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
additional:
You don´t have to set the user as "Server Admin" to grand all "navision" rights to the user. If you make "super" a "Server Admin" this will give the user the right on the sql server itself, which might not be exactly what you want to do.
I am not sure that "Server Admin" is a standard SQL 2005 Database Role. In order to setup a NAV user as a user, who can create and delete NAV Users in NAV without accessing SQL Server 2005, what SQL 2005 Database Role should he/she be assigned? Db_accessadmin or perhaps Db_securityadmin? I am looking for a Server Role with the absolute minimum of rights to do the job.
JPE
Certified Dynamics NAV Professional
I am looking for
- a SQL 2005 Server Role with the absolute minimum of rights
that I can assign to a
- NAV-user
that have to administrate (Create, Read, Edit, Delete) NAV-users in Navision.
"Public" is not privileged enough - you will get SQL-errors in NAV if you try to create a new NAV-user through NAV with another NAV-user just with Role "public". I have tried with "Db_accessadmin" and "Db_securityadmin" but it still seems to fail. I think that "Db_owner" is too privileged a Role to assign a normal NAV-user from HR. Perhaps one should create a new SQL 2005 Server Role (fx "NAVUserAdministrator") just with permissions to CRED in the user-tabel? Then NAV-user from HR could be assigned the Roles "public" and "NAVUserAdministrator"?
JPE
Certified Dynamics NAV Professional
User doing administration in NAV will need additional roles depending on the type of functions they are doing. The simplest (and common) approach is to make the Admin users members of the SysAdmin server role. In some cases this may be considered too open. In those cases, see the SQL BOL and assign appropriate roles. You should be able to acheive what you are looking for with standard roles.
JPE
Certified Dynamics NAV Professional
What I detected is, that in most databases i have to give this db roles to the user:
db_datawriter,db_datareader, db_ddladmin and db_securityadmin
But somehow some db require the user to be db_owner as well.
Does anybody know on what this depends on?
With NAV you actually need this:
At lease one "sysadmin" (of course!)
NAV Developers: Server Role "public", Database Roles "public" & "db_owner"
NAV Users: Server- and Databaserole "public"
According to that you should use the "Standard" Security Model instead of the "Advanced" one. Every additional authentication is done by the "Application Roles" $ndo$shadow or $ndo$ar$... .
Why do you have to assign that specific roles? Actually that should be just required for non-NAV logins accessing the NAV database ...
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool
Sorry, forgot to mention:
I was talking about developers at all
Could you explain that any furher? Why just required for non-NAV users?
The current situation is, that the user SUPER has the sever role sysadmin. (just a testsystem)
According to a new security situation i have to change that and after taking this role from the user, i had to give him this db roles.
Would there have been another way?
Could you explain that any furher? Why just required for non-NAV users?
The current situation is, that the user SUPER has the sever role sysadmin. (just a testsystem)
According to a new security situation i have to change that and after taking this role from the user, i had to give him this db roles.
Would there have been another way?[/quote]
OK, I see ... If you don't want to set the restrictions for that user in NAV, you couold do that by fiddling with the SQL roles, of course, I guess thats easier than doing it in NAV ...
The developers need the "db_owner" role to create/update/delete objects in the Database, e.g. when a NAV table is created, then also the SQL table needs to be created which is not possible with "public" only ...
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool
For creating, updating, deleting there is the role db_ddladmin!
In most databases a developer can work with the roles db_datawriter (for writing data), db_datareader (for reading data), db_ddladmin (For creating, updating, deleting tables) and db_securityadmin (needed for beeing able to change objects in the ms range (id < 50000).
But in SOME databases, I cannot connect without beeing member of db_owner.
So what I want to know ist, on what THIS depends on.
and
and mostly
and so on ... please check it out ...
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool