Hi all HELP!!! ](*,) ](*,) ](*,)
I am trying to login with windows auth in sql server 2000 with nav 4.0 sp1 in an existing database and server that a few minutes ago used to work and I get the message "A 'S' was expected here." and returns to the database connection dialog...
Users already connected in the database and server work ok, but if they close the application and open it again, then it doesn't open!
Has anyone seen that before?!?
0
Answers
NTAUTHENTICATION=S??? as parameter (or another parameter with =S???).
Use "NTAUTHENTICATION=1". This is language independent.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
(And when I use a shortcut I always use the NTAuthentication=1)
Arhontis
https://forum.mibuso.com/search
Can they log into the database? (so it's only when logging into company).
Is it possible to run the debugger?
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
Maybe it is on the domain controler and the authentication, because I can login with database authentication or it is in the extended stored procedures...
I have notified the IT dept to check the domain and the in general if there is an error there...
Any more ideas? I am going crazy...
Arhontis
https://forum.mibuso.com/search
Hi Arhontis,
I had this error about a year ago. When I remember correctly the cause was a strange entry in Navision:
Go to the Windows Logins and look if there is an entry with no ID (empty).
if the user doesn't exist anymore the ID looks like
"S-1-5-21-1102201369-1425392959-26340124-1008"
now the the first "S" ... is the "S" in your Error Message.
try to delete the empty entry... I say "try" because the the navision - server - service may crash under certain circumstances.
hope this helps
I opened the Windows access control table with enterprise manager and saw that there was a record with no Login SID. I deleted that record and it worked just great!
Thanks kriki,Waldo for the fast reply and for your effort to help me and especially wakestar who pointed at the right direction... \:D/ =D> =D>
Really thanks guys... I appreciate it...
P.S.
I traveled 50 km through Athens in 30 minutes to come and see in person what was going on... lol
Arhontis
https://forum.mibuso.com/search
Also in this case the problem was records inserted into the windows login.
After adjusted them we were able to open the db.
Thank you for sharing :thumbsup:.
It works as expected... More or Less...
I had the same problem in NAV 2009 R2 i was editing a user profile asked to synchronize that single logon and got (in portuguese "era esperado um ‘S’") a "'S' was expected error".
I then got into this thread and made a select in the "Windows Access Control" table and discovered that the last line was with an empty SID, I placed the SID of the user that I wanted to have access and "voilá". Thanks Arhontis! PIGS Rule!