Another cause to “Error while trying to run project: unable to start debugging on the server” for ASP.NET application.

I found out today that if IE security (Tools-> Internet options-> Security -> Internet or Intranet -> Custom level -> User authentication) is set to anonymous logon, you will get the above error. I didn’t find any mention for this cause so here it is.