FAQ: Q14
Link: http://www.ilopia.com/FAQ/FAQ.aspx?id=14
I have installed Visual Studio .Net 2002 and when I try to create a new web project I get this:
Unable to create Web Project 'MyProject'. The file path 'c:\inetpub\wwwroot\MyProject' does not correspond to the URL 'http://localhost/MyProject'. The two need to map to the same server location.
IIS 6 is locked down by default. What you'll have to do is add the .tmp MIME
Map extension. To do that, follow these steps:
- Click Start->Programs->Administrative Tools->Internet
Information Services
- Right click the Web Sites node and click Properties
- Click on the HTTP Headers tab and click the MIME Types button
- Click Add and in Extension: write .tmp and in MIME
type: write text/plain
- Click OK, click OK
- Restart IIS