Click here to Skip to main content
16,011,988 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting the following error when i click on save button in MVC application.

Method not found: 'System.Collections.Generic.IDictionary`2<System.String,System.Web.Mvc.ValueProviderResult> System.Web.Mvc.ModelBindingContext.get_ValueProvider()'.

Any ideas?
Posted
Updated 1-Apr-11 19:27pm
v2
Comments
OriginalGriff 2-Apr-11 2:56am    
Does it give a line reference? If so, show the code fragment around that line. If not, then have you put a breakpoint on the first line in the button handler, and stepped through?
Sandeep Mewara 2-Apr-11 3:34am    
Not much of an information that we can comment on.

1 solution

This could be a versioning issue of Asp.Net MVC, what version are you exactly using, beta?, preview? etc

IValueProvider is introduced in Asp.Net MVC2 Beta, which replaces IDictionary<string,> string.
 
Share this answer
 
Comments
prathamesh812 4-Apr-11 1:34am    
I am using MVC2.0 & VS 2008

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900