Feb 08, 2017, 9:53 PM
[CLOSED] Upgrading Ext.Net 2.5.3 to 4.2 having ext.axd issues
I have upgraded v2.5.3 to v4.2, so i am getting the error "Failed to load resource: the server responded with a status of 404 (Not Found)" for below scripts.
If I add CleanResourceUrl="false" in the Resource Manager its working, but Its not loading ext.axd scripts instead its loading webresource.axd , and the UI is not the same as the old, how to make this work with out setting the CleanResourceUrl="false" in the Resource Manager?
Please see the attached doc it is rendering too many WebResources.axd.
below is Web.config
<link type="text/css" rel="stylesheet" href="/extjs/packages/theme_classic/build/resources/theme-classic-all-embedded-css/ext.axd?v=4.2.0" id="ext-theme" />
<link type="text/css" rel="stylesheet" href="/extnet/resources/css/extnet-all-embedded-css/ext.axd?v=4.2.0" id="extnet-styles" />
<script type="text/javascript" src="/extjs/ext-all-js/ext.axd?v=4.2.0"></script>
<script type="text/javascript" src="/extjs/packages/theme_classic/build/theme-classic-js/ext.axd?v=4.2.0"></script>
<script type="text/javascript" src="/extnet/extnet-all-js/ext.axd?v=4.2.0"></script>
<script type="text/javascript" src="/ux/clearbutton/clearbutton-js/ext.axd?v=4.2.0"></script>
<script type="text/javascript" src="/ux/filterheader/filterheader-js/ext.axd?v=4.2.0"></script>
and also ext not found....If I add CleanResourceUrl="false" in the Resource Manager its working, but Its not loading ext.axd scripts instead its loading webresource.axd , and the UI is not the same as the old, how to make this work with out setting the CleanResourceUrl="false" in the Resource Manager?
Please see the attached doc it is rendering too many WebResources.axd.
below is Web.config
<configSections>
<section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false" />
</configSections>
<system.web>
<pages>
<controls>
<add assembly="Ext.Net" namespace="Ext.Net" tagPrefix="ext" />
</controls>
<namespaces>
<add namespace="System.Web.WebPages" />
<add namespace="Ext.Net" />
</namespaces>
</pages>
<httpModules>
<add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" />
</httpModules>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules >
<add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net" />
</modules>
<handlers>
<add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler" />
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.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>
</assemblyBinding>
</runtime>
<extnet theme="Default" licenseKey="" />
Last edited by fabricio.murta; Mar 10, 2017 at 6:17 PM.
Reason: no user feedback for 7+ days