Case-sensitive User-ID :-(

pdj
Member Posts: 643
NAV5SP1 with upd. 1 - SQL 2005 SP2 with upd. 8
I have a client using Database Authentication and therefore needs to create users in Server Mgt. Studio before creating them in NAV. But when users login they need to enter their user-id exactly (uppercase/lowercase) as created in Server Mgt. Studio. I guess this is because of the collation used in the Master database, which is Danish_Norwegian_CS_AS.
Will it solve my problem if I change the collation of the system databases to a non-case-sensitive collation? And how do I do it?
In the NAV database I use the Danish_Norwegian_CI_AS collation. Is there any problem in NAV using a different collations as in the system databases? (I fear the master and tempdb might cause problems)
I have a client using Database Authentication and therefore needs to create users in Server Mgt. Studio before creating them in NAV. But when users login they need to enter their user-id exactly (uppercase/lowercase) as created in Server Mgt. Studio. I guess this is because of the collation used in the Master database, which is Danish_Norwegian_CS_AS.
Will it solve my problem if I change the collation of the system databases to a non-case-sensitive collation? And how do I do it?
In the NAV database I use the Danish_Norwegian_CI_AS collation. Is there any problem in NAV using a different collations as in the system databases? (I fear the master and tempdb might cause problems)
Regards
Peter
Peter
0
Comments
-
If u see File --> Database --> Alter --> Collation Tab --> Case sensitive option is there...
Please check thatVictory is sweetest when you've known defeat0 -
If you enter the user ID's in uppercase in SSMS, your problem will go away.0
-
DenSter wrote:If you enter the user ID's in uppercase in SSMS, your problem will go away.Regards
Peter0 -
Hi!
Obviously when installing the SQL Server the collation was set to "Case Sensitive" which creates the "master" db that way - CS.
Hence, all logings - which are defined within "master" - are treated "case sensitive" - that's why your system behaves like this.
To get rid of this problem, you need to re-install the "master" database!
The "Books Online" describe how to perform this - but caution: backup your NAV database first, then detach it before fiddling with the master & co. db.
Afterwards you have to re-create all logins ...
Good Luck!Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 -
Thanks Stryk, this was the kind of answer I feared
Well, I'll estimate the task and the customer will have to determine how big a problem it is...
But do you (or anybody else?) have any experience with different collations in NAV db and TempDB?Regards
Peter0 -
Basically having different collations should not be a problem; e.g. you could have "master" on Latin1_General_CI_AS and "NAV" on Latin1_General_CS_AS - actually different collations.
SQL is designed to be able to also deal with very different collations using different code pages - usually it is a matter of the application if it could handle that.
I think you will not encounter any problems when running just NAV - except the annoying thing with the case sensitive logins ...
But: if you have a relatively new installation where you have this problem, I recommend to re-set the system/master - actually it's not a big deal, but double-effort - so you could give you customer a "clean" start with NAV ...Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions