I am working a little project for myself using ASP.Net MVC 2 Preview 2 and it works great locally but won't run on my dedicated server - I get the following error:
Could not load type 'System.Web.UI.WebControls.DataBoundControlMode' from assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Looks like it is my:
<%=Html.EditorFor(model=>model) %>
That is causing this error - anyone else running into this and know how to fix it?