Page 2 of 2

Re: MVC 4

Posted: Thu Nov 21, 2013 6:10 am
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.

Re: MVC 4

Posted: Thu Nov 21, 2013 7:44 am
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.

Re: MVC 4

Posted: Thu Nov 21, 2013 2:56 pm
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

Re: MVC 4

Posted: Fri Nov 22, 2013 10:07 am
by HighAley
Hello.

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

Thank you.

Re: MVC 4

Posted: Tue Mar 08, 2016 7:08 am
by salmasi
hello
can you send problem resolving here
i have same problem in mvc 4
thanks

Re: MVC 4

Posted: Tue Mar 08, 2016 7:11 am
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

Re: MVC 4

Posted: Wed Mar 09, 2016 8:57 am
by HighAley
Hello.

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

Thank you.