RSS Feed
 
 
9.16.2008 at 7:48 PM

ASP.NET 2.0, Visual Studio 2005, and IIS7 on Vista Home Premium

So you want to setup ASP.NET 2.0, Visual Studio 2005, and IIS7 on Vista Home Premium.

I don't want to repeat what someone has done a fantastic job of already, so here is a great article that covers quite a broad range of different scenarios:
http://learn.iis.net/page.aspx/431/using-visual-studio-2005-with-iis-70/

The article mentions one of the issues I had when trying to debug my web site application using Visual Studio 2005 against IIS7 (as opposed to the default ASP.NET web server) on Vista Home Premium. The error message displayed is:
Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled. Please see Help for assistance.
The article mentions the following hotfix:
http://support.microsoft.com/kb/937523

One issue the article doesn't cover is when you try to view your site in a browser against IIS7 and get an error message similar to this:
CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\application1\c11b43f6\cf3ec03\rizcntet.dll'. The directory name is invalid.
The following KB article has the fix:
http://support.microsoft.com/kb/825791
Even though the article says it applies to .NET 1.0 and 1.1, it works fine with 2.0. On the step where it says to...
Grant full permissions on the Temp folder to the aspnet user account in .NET Framework 1.0 or to the NETWORK SERVICE user account in .NET Framework 1.1.
...use the NETWORK SERVICE user.

Hope this helps someone out there. It took me a little while to find the fix for that last issue.
Comments: (0)
 

 
 

Leave A Reply

Name (required)

Email (will not be published) (required)

Website

Comment (No HTML allowed) (required)
Type the text that you see in the image (required)
alphatrak

Bringing you the coding smackdown since '95

Twitter Updates

    follow me on Twitter

    Now Playing

    • StarCraft - PC

    Now Reading

    • Death Note
    • Ikigami: The Ultimate Limit
    • Infinite Game Universe: Mathematical Techniques
    • Microserfs by Douglas Coupland
    • Pro Android 2