tags:

views:

53

answers:

1

I've just change the existing virtual dir ASP.net version from 2.0 to 4.0 and browsed previous working web page.

But right now I'm getting an error saying "HTTP Error 404 - File or directory not found."

Any ideas?

Revert it back to ASP.net 2.0, problem went away. I've also executed "aspnet_regiis.exe -i", it didn't work.

A: 

What's the path to your home page? Check that your home page is included as a "Default Document" in IIS. If you're using an Application Pool, try changing the Managed Pipeline Mode to Classic, and also check that the correct .NET version is set for it (App Pool basic settings).

IrishChieftain
Thanks for the reply.You answer directed me to check Web Service Extensions. ASP.Net v4.0 prohibited there and when I allowed it, the problem went away.
Lys