Sep 03, 2015, 12:30 PM
[CLOSED] Parser error in runtime
Hi,
After deploying a test application to a web server, I receive a parser runtime error complaining about missing System.Web.Mvc assemblies. The project isn't supposed to rely on MVC related components although apparently its dependencies are somehow present. Could you point me out which assembly may depend on it? Let me know if you need more information.
Web.config
After deploying a test application to a web server, I receive a parser runtime error complaining about missing System.Web.Mvc assemblies. The project isn't supposed to rely on MVC related components although apparently its dependencies are somehow present. Could you point me out which assembly may depend on it? Let me know if you need more information.
Web.config
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false"/>
</configSections>
<extnet theme="Default" initScriptMode="Linked"/>
<system.web>
<httpRuntime targetFramework="4.5"/>
<compilation debug="true" targetFramework="4.5"/>
<customErrors mode="Off">
<error statusCode="404" redirect="~/404.aspx"/>
</customErrors>
<authentication mode="Windows"/>
<authorization>
<allow users="*"/>
<deny users="?"/>
</authorization>
<httpHandlers>
<add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false"/>
</httpHandlers>
<httpModules>
<add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net"/>
</httpModules>
<pages autoEventWireup="true" enableSessionState="true" enableViewState="false" enableViewStateMac="false" smartNavigation="true" validateRequest="false" controlRenderingCompatibilityVersion="4.0">
<controls>
<add assembly="Ext.Net" namespace="Ext.Net" tagPrefix="ext"/>
</controls>
</pages>
<sessionState timeout="60"/>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true">
<remove name="ScriptModule"/>
<add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler"/>
</handlers>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="30000000"/>
</requestFiltering>
</security>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Ext.Net.Utilities" publicKeyToken="2c34ac34702a3c23"/>
<bindingRedirect oldVersion="0.0.0.0-2.5.0" newVersion="2.5.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Transformer.NET" publicKeyToken="e274d618e7c603a7"/>
<bindingRedirect oldVersion="0.0.0.0-2.1.1" newVersion="2.1.1"/>
</dependentAssembly>
<!--<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
</dependentAssembly>-->
</assemblyBinding>
</runtime>
</configuration>
Last edited by fabricio.murta; Sep 03, 2015 at 6:37 PM.
Reason: [CLOSED]