Last post Nov 25, 2008 12:33 PM by eappell
Nov 25, 2008 12:33 PM|eappell|LINK
Ever since I upgraded to VS 2008 I've been getting 404 errors when I try to access sites that are on my local system. There's no indication that any other error has occured, just "HTTP Error 404 - File or directory not found". Which is crazy, because I
can see the file and directory! I've tried re-registering asp.net (aspnet_regiis -i), I've tried granting more permissions to aspnet and network service users, I've tried restarting iis, rebooting my machine, reinstalling .net 3.0 and 3.5. Nothing works.
And I still have no idea why this is happening.
Recently I had to install a site on a new server. There is nothing on this server but the 2.0, 3.0 and 3.5 frameworks, iis, and the default "under construction" site. So I put the site (which works fine on the development server) into a sub-directory of
wwwroot. I opened IIS and set it up as an application, gave it proper permissions, etc. And when I try to browse to it I get a 404 error.
This is one of those where I feel like throwing the computer out the window... So please, if you have any idea what could be causing this, I could use the help...
UPDATE: For those who may be having the same issue... I haven't resolved this for my local machine, but for the server I was setting up I did find the solution: In IIS Manager, in the "Web Service Extensions" node, there is a setting for
ASP.NET v2.0.50727 and it was set to "Prohibit". Once I changed it to Allowed everything worked as expected. Not sure how this got reset, but I'm just relieved I don't have to kill my computer...