MVC 4

Stimulsoft Reports.WEB discussion
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: MVC 4

Post by HighAley »

Hello.
sbd_jeff wrote: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'.

Sorry, but we don't see our assemblies in the Exception.
How did you come to a conclusion that this exception connected with our assemblies?

Thank you.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: MVC 4

Post by Vladimir »

Hello,

Also, your project requires some other dependent DevExpress libraries.
We installed the latest 13.1.8 version and reconfigure your project. Please see the attached archive.

Thank you.
Attachments
StimulsoftTest2.zip
(15.09 MiB) Downloaded 314 times
sbd_jeff
Posts: 27
Joined: Fri Nov 08, 2013 9:39 pm

Re: MVC 4

Post by sbd_jeff »

Aleksey

I have added that project that I showed you with the Value is null error. I have also added the DevExpress Zip File within this Stimulsoft.Test.zip so you can add the DevExpress references from there. Below is the link to the DropBox to where you can get the zip file.

https://www.dropbox.com/s/7d02odg824618 ... t.Test.zip


Regards

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

Re: MVC 4

Post by HighAley »

Hello.

We have reproduced your issue.
We will send you an answer by email.

Thank you.
salmasi
Posts: 8
Joined: Tue Mar 08, 2016 7:04 am

Re: MVC 4

Post by salmasi »

hello
can you send problem resolving here
i have same problem in mvc 4
thanks
salmasi
Posts: 8
Joined: Tue Mar 08, 2016 7:04 am

Re: MVC 4

Post by salmasi »

HighAley wrote:Hello.

We have reproduced your issue.
We will send you an answer by email.

Thank you.
hello
can you send problem resolving answer here
i have same problem in mvc 4
thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: MVC 4

Post by HighAley »

Hello.

Please, describe your issue more detailed and we will do the best to help you.

Thank you.
Post Reply