PDA

View Full Version : [CLOSED] ext.axd is not loading in Azure project



kunal
Jul 03, 2013, 2:54 PM
I am trying to build a Windows Azure site with Ext.Net. This project can be downloaded here (https://docs.google.com/file/d/0B6FFvzJ98JwTVXN2RU41cm44M1U/edit?usp=sharing).
I am getting below error whenever I try to look the sample (Ext.NET.Default.aspx) page on browser (on local)


Failed to load resource: the server responded with a status of 404 (Not Found) http://127.0.0.1/extnet/extnet-all-js/ext.axd?v=40838
Failed to load resource: the server responded with a status of 404 (Not Found) http://127.0.0.1/extjs/ext-all-js/ext.axd?v=40838
Uncaught ReferenceError: Ext is not defined Ext.NET.Default.aspx:14


Since I added the ext dlls from nuget so config file etc are self generated & correct.


Please help me out here , it is urgent for me.

Vladimir
Jul 03, 2013, 3:03 PM
If you add the following IgnoreRoot rule to App_Start/RouteConfig.cs file (in RegisterRoutes method) then does it help?


routes.IgnoreRoute("{exclude}/{extnet}/ext.axd");


Also (if RouteConfig modification has no effect) try to set CleanResourceUrl="false" for ResourceManager (or in web.config)


<extnet cleanResourceUrl="false" />

kunal
Jul 03, 2013, 3:29 PM
Adding <extnet cleanResourceUrl="false" /> in config file has done the trick.

Thank You.

Vladimir
Jul 03, 2013, 4:06 PM
Did you try IgnoreRoute first?


routes.IgnoreRoute("{exclude}/{extnet}/ext.axd");