none
HTTP Error 404.3 error when deployed on IIS7.5 RRS feed

  • Question

  • Hi,

    I have created one wcf service library and I want to deploy it on IIS. My IIS version is 7.5.

    I created a new wcf website into current solution and added the reference of my wcf library project into website project.

    Also in web.config file of website I created endpoints. It is working fine when I run from VS but when I created a site in IIS under default website and ran this app it give me one error-

    HTTP Error 404.3 - Not Found

    The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

    I am stuck at this place. Kindly help.

    Any help is highly appreciated.

    Thanks in advance. 


    Best Regards, vivek

    Friday, September 13, 2013 3:11 AM

Answers


  • Hi Iamvivek,

    Such error usually indicates that the extension mapping for WCF service (.svc) file hasn't been correctly configured in IIS server. For IIS server, dynamic content (like ASP.NET page, http handler, ASMX webservice, WCF service, etc...) need to have a certain extension mapping setting to tell the IIS which extension component will be used to handle the request (targeting the extension file). For WCF you can try using the ServiceModelReg.exe tool from visual studio command prompt (or from its installed directory) to register the extension mapping. Here are some related references:

    #ServiceModel Registration Tool (ServiceModelReg.exe)
    http://msdn.microsoft.com/en-us/library/ms732012.aspx

    #WCF and 404.3 Errors
    http://blogs.msdn.com/b/davidwaddleton/archive/2007/11/02/wcf-and-404-3-errors.aspx

    #Deploying an Internet Information Services-Hosted WCF Service
    http://msdn.microsoft.com/en-us/library/aa751792.aspx


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, September 16, 2013 3:33 AM
    Moderator

All replies