Page 1 of 1

problem with StiMvcDesigner and StiMvcViewer

Posted: Mon Jul 22, 2013 11:51 am
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?

Re: problem with StiMvcDesigner and StiMvcViewer

Posted: Tue Jul 23, 2013 10:24 am
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.

Re: problem with StiMvcDesigner and StiMvcViewer

Posted: Fri Jul 26, 2013 7:49 am
by zahra6688
my problem has solved, thank you

Re: problem with StiMvcDesigner and StiMvcViewer

Posted: Fri Jul 26, 2013 11:34 am
by Alex K.
Hello,

Let us know if you need any additional help.