problem with StiMvcDesigner and StiMvcViewer

Stimulsoft Reports.WEB discussion
Post Reply
zahra6688
Posts: 7
Joined: Sun Nov 18, 2012 5:37 am

problem with StiMvcDesigner and StiMvcViewer

Post by zahra6688 »

i have problem with StiMvcDesigner and StiMvcViewer. whenever i run my mvc 4 application, i give the error below:
"Could not load file or assembly 'System.Web.Mvc, Version=2.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)"
at the lines for creating these two components:
"@Html.Stimulsoft().StiMvcDesigner(new StiMvcDesignerOptions() { ..." and "@Html.Stimulsoft().StiMvcViewer( "MvcViewer1", new StiMvcViewerOptions() {..."
why this error occures? how can i solve this problem?
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: problem with StiMvcDesigner and StiMvcViewer

Post by Vladimir »

Hello,

Most likely, you run one of our examples. They are based on the MVC2 and MVC3.
Please try to create a new MVC4 project, add the necessary Stimulsoft libraries and the code for the View and Controller.

Thank you.
zahra6688
Posts: 7
Joined: Sun Nov 18, 2012 5:37 am

Re: problem with StiMvcDesigner and StiMvcViewer

Post by zahra6688 »

my problem has solved, thank you
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: problem with StiMvcDesigner and StiMvcViewer

Post by Alex K. »

Hello,

Let us know if you need any additional help.
Post Reply