Value cannot be null. Parameter name: key
Posted: Tue Mar 08, 2016 12:08 pm
hello
i use stimulsoft 2014.3.0.0 in mvc 4 ,win 10,visual studio 2015 and below references copy local in bin folder
Stimulsoft.Base
Stimulsoft.Report
Stimulsoft.Report.Mvc
Stimulsoft.Report.Web
and assmblies part in web.config
binding redirect part in web.config
in view using part
in view script render part
in using viewer part
i get in local running "Value cannot be null. Parameter name: key" error
but when upload to server with win server 2008r2 OS it run perfect
please help me.
i use stimulsoft 2014.3.0.0 in mvc 4 ,win 10,visual studio 2015 and below references copy local in bin folder
Stimulsoft.Base
Stimulsoft.Report
Stimulsoft.Report.Mvc
Stimulsoft.Report.Web
and assmblies part in web.config
Code: Select all
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="Stimulsoft.Base, Version=2014.3.0.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a" />
<add assembly="Stimulsoft.Report, Version=2014.3.0.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a" />
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
Code: Select all
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers"
publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages.Razor"
publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc"
publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="4.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages"
publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Code: Select all
@using Stimulsoft.Report.Mvc;
Code: Select all
@Html.Stimulsoft().RenderMvcViewerScripts()
Code: Select all
@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions()
{
ActionGetReportSnapshot = "GetReportSnapshot",
ActionViewerEvent = "ViewerEvent",
ActionPrintReport = "PrintReport",
ActionExportReport = "ExportReport",
RightToLeft = true
})
but when upload to server with win server 2008r2 OS it run perfect
please help me.