Link to home
Start Free TrialLog in
Avatar of Niall Gallagher
Niall GallagherFlag for Ireland

asked on

Delegation From Server 2012 IIS 8.5 to SQL 2012

I have set up delegation loads of times with wins 2003 but now we are moving to 2012 servers using IIS 8.5 but I cannot get delegation to work. Is there something different.
I have set up to use windows authentication, turned off anonymous, Set impersonate to true
Set up the SPNs but still when I do a post to the SQL server I get a SQL error

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

Is there something new I have to do or am I missing something

Thanks in advance
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

when you say post to sql server do you want iis to add/update/query sql server?

Could you show the relevant part of your code that is failing
Avatar of Niall Gallagher

ASKER

No matter what I try  query or insert. If i log on to the web server and run the website from there it works perfectly. That's why I suspect a delegation issue
There's no 'NT AUTHORITY\ANONYMOUS LOGON' user in SQL Server 2012.
You need to give access in SQL Server 2012 for the correct user.
ASKER CERTIFIED SOLUTION
Avatar of Niall Gallagher
Niall Gallagher
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This took a lot of searching and was something I would never have thought of, only I could not find any problems and had to ask for a network guys help