This is a migrated thread and some comments may be shown as answers.

[Solved] Could not load type error on DatePickerFor

1 Answer 103 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Neil
Top achievements
Rank 1
Neil asked on 29 Jul 2010, 09:49 AM
Hi, I did some development on a MVC 2 project and checked my work into source control on TFS after everything was working. I am now working on another PC and am struggling to get the project to work as it was working in the previous PC. All the controls work as they should except for the DatePickerFor control (the date picker works). When the view with the DatePickerFor loads it throws the following error: "Could not load type 'System.Web.Mvc.RangeAttributeAdapter' from assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
". Is there an assembly that I'm missing? Any help would be appreciated.

1 Answer, 1 is accepted

Sort by
0
Neil
Top achievements
Rank 1
answered on 30 Jul 2010, 09:10 AM
Problem solved: I reinstalled ASP MVC 2 and the correct assembly was added.
Tags
Date/Time Pickers
Asked by
Neil
Top achievements
Rank 1
Answers by
Neil
Top achievements
Rank 1
Share this question
or