Dynamics NAV service Tier - login failed for ANONYMOUS LOGON

tpeters
Member Posts: 16
I am setting up a service tier for MS Dynamics NAV 2009, but am unable to connect due to a login failure.
Login failed for user 'DOMAIN\ANONYMOUS LOGON'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors.
Error: 18456, Severity: 14, State: 11.
I have the following servers:
SQL Server: sql-dev
Dynamics service tier: dynamicsService
The SQL and Dynamics services are both running under the same domain account.
I have four spns setup:
MSSQLSvc/sql-dev.mycompany.com:1433
MSSQLSvc/sql-dev:1433
MicrosoftDynamicsNAVServer$Dev/dynamicsService.mycompany.com:7046
MicrosoftDynamicsNAVServer$Dev/dynamicsService:7046
Finally, I have Delegation setup for the domain account for both the Dynamics and SQL service. This looks to be the correct setup according to the MS documentation, but it is not working. Any thoughts to where I have gone wrong? Thanks.
Login failed for user 'DOMAIN\ANONYMOUS LOGON'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors.
Error: 18456, Severity: 14, State: 11.
I have the following servers:
SQL Server: sql-dev
Dynamics service tier: dynamicsService
The SQL and Dynamics services are both running under the same domain account.
I have four spns setup:
MSSQLSvc/sql-dev.mycompany.com:1433
MSSQLSvc/sql-dev:1433
MicrosoftDynamicsNAVServer$Dev/dynamicsService.mycompany.com:7046
MicrosoftDynamicsNAVServer$Dev/dynamicsService:7046
Finally, I have Delegation setup for the domain account for both the Dynamics and SQL service. This looks to be the correct setup according to the MS documentation, but it is not working. Any thoughts to where I have gone wrong? Thanks.
0
Answers
-
check sql rights of the service account in your database.best regards
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/0 -
The service account is in the SQL sysadmin role. The SQL error message is, "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'." so I believe it is a problem with the delegation.0
-
Make sure your user is added in NAV.Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.0 -
You may have done this already but if not then try running the Best Practices Analyzer tool provided by Microsoft - not always helpful but can be sometimes. You can download it from partnersource...
https://mbs.microsoft.com/partnersource/northamerica/deployment/migration-tools/BestPracticesAnalyzerNAV20090 -
Thanks Kishorm, I hadn't run that, but I have now. On my service tier the only issue showing up says Dynamics NAV 2009 Server has not been installed. I have gone through the installation and have the Role Tailored client and the Server options installed. The NAV service is installed and started. I'm not sure why that error would be showing up or how to resolve it.0
-
Sounds like an issue with the service tier then. Check the event viewer to see if there is any additional information logged in there.0
-
There's nothing in the event log on the service tier, only on the database server. I'm able to connect to the database from the service tier, but not from my client to the service tier to the database. The best practice analyzer isn't showing a problem with the spn, but something with the delegation isn't working since I still see an attempt at anonymous login on the database from the service tier.0
-
Again not sure if you've seen this or not but might be worth having a look through, especially the section on delegation...
https://msdn.microsoft.com/en-us/library/dd301254.aspx0 -
Thanks, I've been going through that page, but do not have it work yet.0
-
Thanks, I've been going through that page, but do not have it work yet.
Why don't you try my compare tool?
http://www.mibuso.com/dlinfo.asp?FileID=11230 -
Yes, it was resolved. In the end it was working with Microsoft and an updated version of the Best Practice Analyzer Tool which showed an issue with the SPN.0
-
Hello,
Recently i has issue with sql authentication with Error: 18456, Severity: State: 13
The state 13 is related with SQL Server service paused.
In your case state 11 is related with "Valid login but server access failure"
I found a good answer about sql server error 18456 on the following site.
http://www.get-itsolutions.com/sql-server-error-18456/
thnx0
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