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

[Solved] EntryPointNotFoundException

1 Answer 139 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
quentinjs
Top achievements
Rank 1
quentinjs asked on 10 Sep 2010, 06:35 AM
Here is my call of the Grid, its very simple, but I can't seem to get it to work.  It keeps raising 
that EntryPointNotFoundException

<%
 Html.Telerik().Grid(Model)
        .Name("GroupGrid")
        .Columns(columns =>
             {
                 columns.Bound(c => c.GroupId);
             })
        .Sortable()
        .Pageable()
        .Render();
%> Thanks for any help.

1 Answer, 1 is accepted

Sort by
0
quentinjs
Top achievements
Rank 1
answered on 14 Sep 2010, 05:52 AM
 found my problem,  

This solved it

http://stackoverflow.com/questions/1212087/mvc-2-preview-1-methods-with-parameters-in-the-controller-fail-to-load

If the project references any third-party libraries that are compiled against an earlier ASP.NET MVC, 
add the following bindingRedirect element to the
Web.config file in the application root
under the configuaton section
:

This will work for MVC 2, but if your using MVC 3 then use the 2nd one below:

<runtime>

 
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
   
<dependentAssembly>
     
<assemblyIdentity name="System.Web.Mvc"
          publicKeyToken
="31bf3856ad364e35"/>
     
<bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
   
</dependentAssembly>
  </
assemblyBinding>
</runtime>

For MVC 3

  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
Tags
Grid
Asked by
quentinjs
Top achievements
Rank 1
Answers by
quentinjs
Top achievements
Rank 1
Share this question
or