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

Compile Kendo.Mvc against MVC 5.2.3 ?

2 Answers 221 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Thomas Gschweitl
Top achievements
Rank 1
Thomas Gschweitl asked on 19 May 2015, 06:08 PM

Hi,

I have massive problems with a messed-up MVC project using Kendo UI MVC wrappers (Kendo.Mvc.dll at Version 2015.1.429.545).

To get the project running again I made several nuget updates and so far it compiles and spins up again. But on every view where any @Html.Kendo() widget is used I get an EntryPointNotFoundException in System.Web.Mvc.

sample trace:

bei System.Web.Mvc.IViewDataContainer.get_ViewData()<br>   bei System.Web.Mvc.HtmlHelper.get_ViewData()<br>   bei Kendo.Mvc.UI.Fluent.WidgetFactory.get_ViewData()<br>   bei Kendo.Mvc.UI.Fluent.WidgetFactory.AutoComplete()<br>   bei ASP._Page_Views_Suche_Index_cshtml.Execute() in c:\# Sources\baumkataster\sources\trunk\Baumkataster.Web\Views\Suche\Index.cshtml:Zeile 67.<br>   bei System.Web.WebPages.WebPageBase.ExecutePageHierarchy()<br>   bei System.Web.Mvc.WebViewPage.ExecutePageHierarchy()<br>   bei System.Web.WebPages.StartPage.RunPage()<br>   bei System.Web.WebPages.StartPage.ExecutePageHierarchy()<br>   bei System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)<br>   bei System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)<br>   bei System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)<br>   bei System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)<br>   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)<br>   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)<br>   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)

I checked all the references and binding redirects. So I thought it must have to do with incompatibility between MVC version and Kendo.

My next idea was to try to get the sources of Kendo.Mvc and compile it against the same library versions used in the project. That is at least what I tried to accomplish today. When opening the Project there are two js files missing (kendo.aspnetmvc.js and kendo.dropdownlist.aspnetmvc.js) and after changing reference after reference I end up having 500+ errors on the project.

Has anybody successfully done so and can provide me some help? What are the required steps (change to Framework 4.5, where to get the missing *.js files, which changes to make,...).

 

Hope somebody can help me out here.

Regards,

Thomas

2 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 21 May 2015, 11:01 AM

Hello,

We have not encountered this particular issue, but I found a blog post that might be related.

Do you have the same namespace in the configuration as described there?

Regards,
T. Tsonev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Scott
Top achievements
Rank 1
answered on 03 Sep 2015, 03:50 AM

I seem to be having the same or similar problem.  Here is the thread:  

http://www.telerik.com/forums/entry-point-was-not-found---manually-adding-mvc-to-legacy-webforms#COYs4l5h9kW7i-k-tt-FtQ​

Tags
General Discussions
Asked by
Thomas Gschweitl
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Scott
Top achievements
Rank 1
Share this question
or