.Net ramblings
# Saturday, 13 March 2004
404 woes in Windows Server

I've recently started running Windows Server 2003 on my .Net development machine, and so far I love it, hasn't crashed yet, not like win2k, but there was bound to be some config issues..

problem description:
but i ran into problems opening a web project in visual studio 2002, i'm running .Net Framework 1.0 and 1.1 together.  VS would say "404 Not Found" and the two locations need to map to the same folder blah blah blah.  I checked out http://localhost/myproj/myproj.csproj and it did indeed give a 404 error, even though the file was definitely there.

solution:
i trawled google for a while and found an article that describes a similar problem, due to unknown mime-types in IIS 6. it suggested adding in a new mime-type for whatever file type you were using. i checked my mime-types list and .csproj was there already, and .webinfo.  i don't know of other files used in loading a web project, but i added in a new mime-type for .* and put "application/octet-stream" in with it, and it works fine now.

if anyone knows why this is, or how else to work around, please enlighten me, but as long as the above works, that's enough for me ;-)


Saturday, 13 March 2004 12:40:56 (GMT Standard Time, UTC+00:00)  #    Comments [0]  Windows Server