Profile Picture

Nevron MVC example will not execute

Posted By Mike O'Ceirin 3 Years Ago
Author
Message
Mike O'Ceirin
Problem Posted 3 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 22, Visits: 184
I have tried to run this to no avail. The problem is a number of the references are missing. I have tried to add them but it is ignored. Is there any way to get it to run. I can create a new MVC 5 solution without problems but the example refuses to run. For instance the library System.Web.Razor is in error. But if I create a new solution it is referenced correctly. I thought I could fix this but adding it again does not work.

Nevron Support
Posted 3 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,000
Hi Mike,

We just tested the MVC examples and they compiled OK with VS2017/VS2019 - what is the version of VS you're currently using? Also, can you send the project you're trying to compile to support@nevron.com for review? Thank you.

Best Regards,
Nevron Support Team



Mike O'Ceirin
Posted 3 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 22, Visits: 184
I copied your code that was installed with the Nevron software.
That is C:\Program Files (x86)\Nevron Software\Nevron .NET Vision 2019.1 for VS2019\Examples\Chart\Mvc
I chose the solution Nevron.Examples.Chart.Mvc.VS2017.sln since it was the most recent version in the example.
I am running visual studio 2019 community edition. The first problem I have overcome that was four corrupted references.
System.Web.Http.WebHost
System.Web.Razor
System.Web.WebPages
System.Web.WebPages.Razor
I found I had to delete them and re-establish the references but on running the application another error occurred.
GlobalFilterCollection was undefined in FilterConfig.cs
the reason for this was the reference to System.Web.Mvc was missing and on adding that reference the code would compile but a further error occurred and it would not run.
Parser Error Message: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest
definition does not match the assembly reference. (Exception from HRESULT: 0x80131040). So I have the incorrect file referenced. Currently I have an asp.net application and I wish to change to MVC.



Attachments
MVC Fail.pdf (461 views, 345.00 KB)
MVC Fail 01.pdf (324 views, 39.00 KB)
Nevron Support
Posted 3 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,000
Hi Mike,
It looks like the examples use an older version of MVC - we'll update them to a more recent version of MVC in the upcoming version. We'll upload them to this post (hopefully in the next couple of days). We'll keep you posted.

Best Regards,
Nevron Support Team



Mike O'Ceirin
Posted 3 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 22, Visits: 184
I will look forward to it thanks.




Similar Topics


Reading This Topic