This question is locked. New answers and comments are not allowed.
Nabil Shuhaiber
Top achievements
Rank 1
Nabil Shuhaiber
asked on 01 Sep 2009, 10:12 AM
I am having trouble accessing the /asset.axd?id=LgIAAB-LCAAAAAAABADtvQdgHEmWJSYvbcp7f0r1Stf.... url generated by script registrar (HTTP 404). I am using IIS 5 set up to use ASP.Net MVC using wildcard mapping. Do I need to set up a handler in the web.config?
Thanks
Nabil
Thanks
Nabil
4 Answers, 1 is accepted
0
Accepted
Hello Nabil Shuhaiber,
Make sure you have the following line in <system.web><httpHandler> in your web.config:
<add verb="GET,HEAD" path="asset.axd" validate="false" type="Telerik.Web.Mvc.WebAssetHttpHandler, Telerik.Web.Mvc"/>
It registers the asset.axd HTTP handler which is required to serve compressed and grouped resources (JavaScript and CSS).
All the best,
Atanas Korchev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Make sure you have the following line in <system.web><httpHandler> in your web.config:
<add verb="GET,HEAD" path="asset.axd" validate="false" type="Telerik.Web.Mvc.WebAssetHttpHandler, Telerik.Web.Mvc"/>
It registers the asset.axd HTTP handler which is required to serve compressed and grouped resources (JavaScript and CSS).
All the best,
Atanas Korchev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Samir
Top achievements
Rank 1
answered on 13 Aug 2010, 02:43 AM
Hi,
Although I have done what is suggested below but I still get Page Not Found for the compressed axd file. Locally there is no issue, its just when I deploy it to IIS7.
Thanks.
Although I have done what is suggested below but I still get Page Not Found for the compressed axd file. Locally there is no issue, its just when I deploy it to IIS7.
Thanks.
0
garevalo
Top achievements
Rank 1
answered on 24 Feb 2011, 04:25 PM
hi, asset.axd is fine on the personal web server, but on IIS server i get a 404. i'm using the MVC2 window control, and i think it's IIS 7.5 now.
i need to get it to work on IIS because i use a test SSL cert that does not work on pers web serv and my site's css and everything else works off both a virtual root and off the server root, except for this handler.
what's the trick?
loving to code the server-side again :) thanks
gshock
i need to get it to work on IIS because i use a test SSL cert that does not work on pers web serv and my site's css and everything else works off both a virtual root and off the server root, except for this handler.
what's the trick?
loving to code the server-side again :) thanks
gshock
0
Hi garevalo,
Atanas Korchev
the Telerik team
Please check this help topic and verify that the asset.axd HTTP handler is correctly registered in your web.config file. Have in mind that there is a difference if you are using Visual Studio Web Server and IIS7.
Regards,Atanas Korchev
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!