I have Visual Studio 2008 installed on W开发者_如何学Goindows Vista Home Edition. I need to build and run an ASP.NET project that uses IIS Windows Authentication, which is not available on Vista Home. Now when I try to open the project in VS I get an error:
The Web Application project ... is configured to use IIS [...] you must install the following IIS components: Windows Authentication
Can I remove the dependency on the Windows Authentication component from the project somehow, so that I can at least open it in Visual Studio?
In web.config you'll see the line
<authentication mode="Windows"/>
Replace it with
<authentication mode="None"/>
Notepad should do the job. Of course depending on the actual code that checks identity in the application everything else may fall apart.
精彩评论