I’m getting this error.
Could not load file or assembly ‘System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
My Hosting provider is saying that MVC 3 is already installed and it works for one domain that s on the same server, but this domain is not working.
I saw lot of questions and answers related to this, but I want to avoid adding DLLs manually. If MVC 3 is installed properly. I wouldn’t get this error. right?
How can I resolve this?
As per my comment above, it sounds like there were some MVC 4 components being referenced by the app. Glad to hear that you’ve got a solution!