I have an MVC 3 site that runs across three load-balanced servers. On one of the servers this link:
@Html.ActionLink("Admin", "Index", new { area = "Admin", controller = "Home" })
gets rendered correctly.
http://my1.mvcsite.com/Admin/Home
On the other two the URL comes out wrong.
http://my2.mvcsite.com/?area=Admin
None of the servers have MVC 3 installed on them so when I push changes I include the deployable assemblies. I know it's not problems with the routes because in other places I'm using fairly complex routes and these work fine on all three servers. Also manually typing routes into the browser works OK but not for the Areas on the two rogue servers.
The issue seems to be that two of the servers don't know anything about Areas, which seems very odd. Has anyone else encountered a problem like this and if so what did they do to remedy this?
Edit
All three servers are Windows Server 2008 R2 DataCentre and run IIS7