Serving WebResource.axd files

Last post 05-01-2008 6:03 PM by PJonDevelopment. 4 replies.

Sort Posts:

  • Serving WebResource.axd files

    08-23-2006, 7:20 AM
    • Loading...
    • mjcreamer
    • Joined on 07-18-2002, 8:44 PM
    • Virginia
    • Posts 34

    If there is a better place for this post, please let me know.

    I've created my own webserver using VB.NET (using System.Web.Hosting).

    It works great (.aspx, .gif, etc. files are getting to the browser) except that WebResource.axd files do not reach the browser after being served.  (I can pop up their contents in the vb app-- so they are coming from ASP.NET just fine-- but the functions inside [javascript mainly] are not available in the browser.

    WebResource.axd is a "virtual" file that the framework uses to serve the necessary embedded resources that an ASP.NET page needs (javascript functions, in this case, to work with the Menu control).

    These .axd files show up in C:\WINDOWS\Temp\Temporary Internet Files\Content.IE5 so they are definitely being created.  Is this maybe a permissions issue?

    Has anyone seen this problem in Cassini and/or using System.Web.Hosting?  Any ideas what might be causing it?

    Thanks!

     

    Michael Creamer
  • Re: Serving WebResource.axd files

    05-28-2007, 10:30 AM
    • Loading...
    • tomromanul
    • Joined on 05-28-2007, 2:16 PM
    • Posts 1

    Hi Michael,

    Did you find a solution to this problem? Thanks.

    Tom

  • Re: Serving WebResource.axd files

    09-06-2007, 6:42 PM

    Hi Michael

     

    i am also facing this issue with the IIS,

     did you find any solution.

     

    Thanx

  • Re: Serving WebResource.axd files

    11-05-2007, 1:27 PM
    • Loading...
    • Toddoms
    • Joined on 11-05-2007, 6:22 PM
    • Posts 1

    I saw this problem with cassini so I switched to using Neokernel (http://www.neokernel.com/) which correctly handles webresource.axd and scriptresource.axd HTTP handlers.
    This msdn link has more about webresource.axd and managing resources under ASP.NET 2.0: http://support.microsoft.com/kb/910442

  • Re: Serving WebResource.axd files

    05-01-2008, 6:03 PM

    mjcreamer:

    If there is a better place for this post, please let me know.

    I've created my own webserver using VB.NET (using System.Web.Hosting).

    It works great (.aspx, .gif, etc. files are getting to the browser) except that WebResource.axd files do not reach the browser after being served.  (I can pop up their contents in the vb app-- so they are coming from ASP.NET just fine-- but the functions inside [javascript mainly] are not available in the browser.

    WebResource.axd is a "virtual" file that the framework uses to serve the necessary embedded resources that an ASP.NET page needs (javascript functions, in this case, to work with the Menu control).

    These .axd files show up in C:\WINDOWS\Temp\Temporary Internet Files\Content.IE5 so they are definitely being created.  Is this maybe a permissions issue?

    Has anyone seen this problem in Cassini and/or using System.Web.Hosting?  Any ideas what might be causing it?

    Thanks!

    First of all, sorry for bumbing this old thread, but just in case anyone is still looking for a solution, you need to define the correct Content-Type for each web-resource you use.

    Check this entry in my blog, that describes it a little bit better.

    Filed under: ,
Page 1 of 1 (5 items)
Microsoft Communities
Page view counter