Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Open Vision for NET
»
General Discussion
»
Nevron MVC example will not execute
Nevron MVC example will not execute
Post Reply
Nevron MVC example will not execute
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Mike O'Ceirin
Mike O'Ceirin
posted 4 Years Ago
ANSWER
Topic Details
Group: Forum Members
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.
Reply
Like
0
Replies
Mike O'Ceirin
Mike O'Ceirin
posted 4 Years Ago
ANSWER
Post Details
Group: Forum Members
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
(
604 views,
345.00 KB
)
MVC Fail 01.pdf
(
452 views,
39.00 KB
)
Reply
Like
0
Nevron Support
Nevron Support
posted 4 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
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
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Nevron MVC example will not execute
Mike O'Ceirin
-
4 Years Ago
Hi Mike, We just tested the MVC examples and they compiled OK with...
Nevron Support
-
4 Years Ago
I copied your code that was installed with the Nevron software. That...
Mike O'Ceirin
-
4 Years Ago
Hi Mike, It looks like the examples use an older version of MVC -...
Nevron Support
-
4 Years Ago
I will look forward to it thanks.
Mike O'Ceirin
-
4 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search