I lost my mind by searching a solution for this since I need
to work on VS 2003/2005/2010 web solution, End up with above error many times
and it has wasted my precious time. I do not want the same happening to anyone.
Please give the priority that is marked with High
Solution 1 [High] : Go to Inet Manager select the web site that’s created for the
application, in the property select the tab ASP.NET and choose the ASP.NET
version then click Ok and the most importantly you will have to do the same
exercise for Default Web Site
(Select the Default web site -> Property -> Select ASP.NET tab ->
Choose ASP.NET version), Both should have same version.
I guess the above solution will work for many
Solution 2 [Medium]: IIS should be configured to use in Integrated
Windows Authentication ( Inet manager -> Select the web site created for the
application -> Properties -> Select the Directory Security Tab ->
Under the Anonymous access and Authentication Control click EDIT -> make
sure that check box is ticked for Integrated Windows Authentication.
There are other solutions for the above error I will post it
depends on your feedback