I updated a rather plain MVC 1.0 project to MVC 2.0 and now all the actionlinks misdirect. They all erroneously start on …/Home.mvc/…. This project was about as close to Hello World! as it gets.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Okay, that was fast but… answer:
The upgrade tool actually did change my routes in the Global.asax
Removing the “.mvc” fixed it.
I would normally have checked there first but I assumed (silly me) that the upgrade utility would not just go crazy on my routing.
Edit: The “.mvc” is necessary for deploying to server 2003 IIS 6.0, but will not work in my dev environment on a windows 7. So what I had to do was to remove the .mvc while coding then add it back prior to deployment for each deploy.