WCF AJAX svc/jsdebug 404 error

Discussion in 'ASP.NET WebServices' started by zxed, Sep 24, 2009.

  1. Can someone at discountasp please verify that the wildcard mapping for svc is setup correctly?

    a call to xxxx.svc works.. displays the meta
    a call to xxxx.svc/jsdebug throws a 404 error... (its supposed to hand over the javascript proxy clss)

    not sure if the following can help verification..

    Open IIS Manager, and go to your Port 80 classic mode site that you're trying to fix.
    Go to "Handler Mappings"
    Add a script map for
    Request Path: *.svc
    Executable: %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
    Name: svc-ISAPI-2.0
     
  2. Joseph Jun

    Joseph Jun DiscountASP.NET Staff

    If there's a reference for the "Handler Mappings" module, I'm guessing you're hosted on our Windows Server 2008/IIS 7 platform.

    You can add the script map directly or verify that it exists through the IIS 7 Manager. If you need more information on how to connect to your site using IIS 7 Manager, you can view the instructions outlined in the following DiscountASP.NET Knowledge Base article:

    http://support.discountasp.net/KB/a400/how-to-connect-to-windows-2008iis-7-using-microsoft.aspx
     
  3. looks like the mapping exists... need to do a bit more research to figure out why WCF ajax.net JSON implementation wont work.
     

Share This Page