Applies To
Windows IIS points to folder A
Visual Studio 2008 Professional Edition - tested application points to folder A
Symptoms
Testing ASP.NET development server gives the following error:
Test method ApmWebsiteTest.UserTest.TestLogin threw exception: System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
Cause
Windows IIS and testing ASP.NET development server point to the same folder A.
Resolution
Disable website in IIS or put website source code to different folder.