I created an ASP.NET MVC application on my local computer under IIS 7.5 (Windows 7 RC) in a virtual directory (like http://localhost/MyApp).
Now that I'm trying to deploy it to a remote server I get strange results. The application seems to route every request to the Forms Authentication login form, and requests for static content (from the /Content directory) result in exceptions for not being able to create a controller.
When I deploy the same application to a virtual directory on the remote server, everything works as expected.
I was expecting some small problems like url's not pointing correctly and other minor fixups, but not this.
Any idea as to why this is happening and what I can do to diagnose the problem is welcome.
Update:
For some reason, it works now, and I can't figure out what I did to make it work. This bothers me, not only because now I can't investigate further what went wrong. Also because now I have no answer to this question. I'm going to leave it open so that anyone can still make suggestions.