asp.net mvc 2 method not found

Posted by Debra on Stack Overflow See other posts from Stack Overflow or by Debra
Published on 2010-04-11T07:47:12Z Indexed on 2010/04/11 7:53 UTC
Read the original article Hit count: 254

Filed under:
|

When I run my asp.net mvc 2 site (shared hosting) I get the following error: Method not found: 'Void System.Web.Mvc.DataAnnotationsModelValidatorProvider.set_AddImplicitRequiredAttributeForValueTypes(Boolean)'.

In the bin directory I have System.Web.Mvc.dll version 2.0.50217.0

On my local dev machine it runs fine.

Is it possible that if the hosting provider has a different mvc 2 version installed it would cause this error?

Thank you!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc