NAS SQL Server Error: cannot generate SSPI context
Waldo
Member Posts: 3,412
Comments
-
-
It's normal situation if NAS server account password was updated without restarting SQL, OS or NAS.Real programmers don't comment their code.
If it was hard to write, it should be hard to understand.0 -
Alexey Pavlov wrote:It's normal situation if NAS server account password was updated without restarting SQL, OS or NAS.
This was definitally not the case... .
It's actually a move to a new server. I want to run the NAS on a better machine. I install it with the same settings as the old one, but no luck ... .0 -
and set you up the account for the service as on you old server?0
-
-
(Sorry for the random notes, but I stumbled across the following item in a 'Known Issues for v4.0' doc, and wondered if it might be relevant...)During installation of the Navision Application Server service, the new TCPS (Kerberos) protocol is selected also for the SQL Option of the Application Server. Since this protocol is not available for the SQL Option, the service will not start.
Another protocol has to be selected, but due to an error in the MMC snap-in this is not possible from the UI.
Following registry entry should be changed:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<Service Name>]
"NETTYPE"="tcp"0 -
I remember we had big issues with that as well, the nettype not being editable in the MMC console. The default in the installation seems to be TCPS, and that just won't work. My money is on this solution
.
If you don't want to mess around with registry settings, you can also uninstall NAS, and then re-install it from a command prompt (installasservice) using "nettype=tcp" as a parameter. See the installation guide for more details.0 -
Waldo,
did you find a solution for your problem ?
If so, are you willing to share this because I'm now having the same problem...
Thanks in advance !0 -
Make sure that windows time settings on all your servers are in sync.Johnny Reggae wrote:Waldo,
did you find a solution for your problem ?
If so, are you willing to share this because I'm now having the same problem...
Thanks in advance !
Let me know if it works...0 -
I'm running into this problem on My computer when I use windows authenication. The only I can connect to my Location SQL Server with Navision client is to vpn into my Network. then connect with Navision client using windows authenication.
It looks like sql tries to connect to Active directory get get a SSPI ID.
So the issue is connection between sql and active directory.0 -
Ok I've finally solved this problem.
I had a service "NT LM Security Support Provider" that was not running. I started and changed it to automatic.
I opened SQL Server Conviguration Manager. In SQL Server 2005 Services->SQL Server (MSSQLServer). Double clicked and changed Log on as a specific account.
I created a temporary Admin account. Selected that and click apply This restarted the sql server. I then changed it back to built-in account, and clicked on apply.
After several minutes, I was able to connect using windows authenication.
In Navision Server Name. I typed the local ip address 127.0.0.1 and it worked.
Using the Server Name still gives me the sspi error.
Basically SQL Server changes the authenication from Kerberos to NTLM.
That was painful.0 -
ara3n wrote:Ok I've finally solved this problem.
I had a service "NT LM Security Support Provider" that was not running. I started and changed it to automatic.
In Navision Server Name. I typed the local ip address 127.0.0.1 and it worked.
Using the Server Name still gives me the sspi error.
Basically SQL Server changes the authenication from Kerberos to NTLM.
That was painful.
This works for me. But did anyone how to address this problem so I can use the servername instead of 127.0.0.1?Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
u can type "localhost" or u use the old hosts file if these problem still exists ....Do you make it right, it works too!0
-
garak wrote:u can type "localhost" or u use the old hosts file if these problem still exists ....
No, typing in localhost doesn't work. It will only recognize the IP as stated in the previous post.
What do you mean use the "old hosts file"?Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
you will need to VPN as mentioned before if you want the name.
Also make sure the Date and Time on the computer is the same between the server0 -
Problem solved!
It was caused by a duplicate Service Principal Names in the Active Directory.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 328 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


