IIS 7 & IIS 8
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
Last post Jul 31, 2012 04:58 PM by gorillamann
Jun 01, 2012 11:57 AM|LINK
I have just published our first MVC3 app and I'm getting the above error.
We are using IIS 7 on a Windows Web Server 2008 R2 , the application is setup using the Intranet model. I have set its own Application Pool with the ApplicationPoolIdentity.
The SQL Server it is trying to access is on a seperate Windows 2008 R2 server and is SQL Server 2008 R2.
I hope someone can help as I'm new to this and have been scratching my head for well over a week on this.
The entry in the Windows Log on the web server is:
SQL Server 2008 R2
IIS7 .net 4
Jun 02, 2012 03:52 PM|LINK
Jun 06, 2012 05:52 AM|LINK
It looks the issue is database connection.
In web.config file you should change connection method to sql login.
It is something like this
<add name="DatabaseConnectionString1" connectionString="Data Source=sql-server;Initial Catalog=database-name;Persist Security Info=True;User ID=database-user;Password=dbpassword" providerName="System.Data.SqlClient"/>
Jun 12, 2012 09:39 AM|LINK
Jul 31, 2012 04:57 PM|LINK
Hi, even if I put the correct settings for the connect string I still get this error when I try do stuff int he database.:(
Jul 31, 2012 04:58 PM|LINK
FYI, I am using the the ApplicationPoolIdentity for this site