Link to home
Start Free TrialLog in
Avatar of infotechelg
infotechelgFlag for United States of America

asked on

.NET4 on II6 Results in "File Not Found"

I have an old Webserver that I just inherited full of Cold Fusion code. I need this server to run a .NET4 Web application on it, so I created a new site in IIS6 on its own AppPool. I also had to install .NET4 because .NET2 was the only .NET version installed on the server.

Anyway, when I run the site as .NET2 I get an error, but at least it compiles. As soon as I switch it to .NET4, I get a "404: Page Not Found" error. Which, obviously, is not true; the Default.aspx page is there (and yes, the default document is set to Default.aspx).

I've read this page to no avail. The three solutions suggest to put the site in a different app pool (which i did); disable the ASP.NET 4.0 extensionless feature in the registry (which doesn't exist in the registry), or Re-Create the script mappings for ASP.NET v4.0.

I did not do the last step because I'm not sure what that means.

Anyway, I'm not sure if the article i've been reading is where I even should be looking.

Does anyone have any ideas?

Thanks!

EDIT: Someone suggested adding the "EnableExtensionlessUrls" to the Registry and setting its value to "0", and then rebooting IIS. I did that. Nothing's changed.
ASKER CERTIFIED SOLUTION
Avatar of infotechelg
infotechelg
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David Johnson, CD
did you install the coldfusion server items.  IIS6 tends to imply to me that you are running this on server 2003 which support ended on July 14th.