Login failed for user "NT \ IUSR AUTHORITY"

1

With a WebService application running in IIS, but how much do I try to consume from this error:

  

System.Exception: Login failed for user 'NT \ IUSR AUTHORITY'

I have tried to add this user, but I can not seem to get this error:

  

The Windows NT NT user or group 'NT AUTHORITY \ IUSR' could not be found. Please check the name again.

When I try to add any other user:

How do I resolve this? I'm using Windows 8 and IIS 8

    
asked by anonymous 11.08.2014 / 21:00

1 answer

3

Go to the IIS Application Pool that runs your application and switches the user to "NetworkService."

Application Pools - > Right click on chosen - > Advanced Settings - > Identity

Then in SqlServer Management Studio, add the user "NT AUTHORITY \ NETWORK SERVICE"

    
11.08.2014 / 22:07