MVC 4

Stimulsoft Reports.WEB discussion
sbd_jeff
Posts: 27
Joined: Fri Nov 08, 2013 9:39 pm

MVC 4

Post by sbd_jeff »

We are currently evaluating your product to merge with our MVC 4 Razor 2 MVC application. My question is can your MvcMobileViewer demo that is packaged with MVC 3 Razor 1 be recompiled to MVC 4 Razor 2?

Thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: MVC 4

Post by HighAley »

Hello.

Do you intend to buy our source code?
Our MvcMobileViewer was tested with MVC 4 and it works right.

Thank you.
sbd_jeff
Posts: 27
Joined: Fri Nov 08, 2013 9:39 pm

Re: MVC 4

Post by sbd_jeff »

Well was hoping we could test first before purchase. We are at Proof of Concept right now and this is one of the factors that we are weighing amongst other products.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: MVC 4

Post by HighAley »

Hello.

The free trial versions of Stimulsoft Reports are fully functional and will work for an unlimited time. The only limitation is a DEMO watermark displayed on each report page.
Please, let us know if you meet any problems with our product.

Thank you.
sbd_jeff
Posts: 27
Joined: Fri Nov 08, 2013 9:39 pm

Re: MVC 4

Post by sbd_jeff »

I'm getting the below error when I include your assemblies with a MVC 4 Razor 2 project. Please advise.

System.InvalidCastException: [A]System.Web.WebPages.Razor.Configuration.HostSection cannot be cast to System.Web.WebPages.Razor.Configuration.HostSection. Type A originates from 'System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'Default' at location 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Razor\v4.0_1.0.0.0__31bf3856ad364e35\System.Web.WebPages.Razor.dll'. Type B originates from 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'Default' at location 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Razor\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Razor.dll'.
romulocpd
Posts: 73
Joined: Thu Oct 17, 2013 10:39 pm
Location: Nova Friburgo, Rio de Janeiro, Brasil

Re: MVC 4

Post by romulocpd »

I use Stimulsoft Web in my projects, MVC 4, and all works very well. Try create a new project and put the Stimulsoft files to create a new test. If works you'll compare web.config files and other to find the problem. As aleksey told, the tool don't have any limitations, just the watermark is showed.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: MVC 4

Post by Vladimir »

Hello,
I'm getting the below error when I include your assemblies with a MVC 4 Razor 2 project. Please advise.
Our product has been successfully tested under the MVC 2 - MVC 5.
Please for a start, follow the instructions above. If it does not help, please send us your project, we will try to solve the problem.

Thank you.
sbd_jeff
Posts: 27
Joined: Fri Nov 08, 2013 9:39 pm

Re: MVC 4

Post by sbd_jeff »

Attached is our project that has both references to your binaries and Devexpress' binaries and the error we are getting is "System.ArgumentNullException: Value cannot be null.
Parameter name: item".

Any help is greatly appreciated.
Attachments
Stimulsoft_Test.zip
(15.38 MiB) Downloaded 707 times
Last edited by sbd_jeff on Mon Nov 18, 2013 7:55 pm, edited 1 time in total.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: MVC 4

Post by Vladimir »

Hello,

Unfortunately we were not able to run your project, it lacks the necessary libraries:

Code: Select all

Could not load file or assembly 'DevExpress.Web.Mvc.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' or one of its dependencies.
For testing, we use the Visual Studio 2012 Update 4.
Please correct your project or send us all necessary files.

Thank you.
sbd_jeff
Posts: 27
Joined: Fri Nov 08, 2013 9:39 pm

Re: MVC 4

Post by sbd_jeff »

I placed those files in the bin folder of the project I sent you.

To be clear, the error we are receiving is:

Value cannot be null.
Parameter name: item

This happens when the @Html.Stimulsoft().RenderMvcMobileViewerScripts() is executed on the View.
Post Reply