Ask a questionAsk a question
 

AnswerHosting service on IIS

  • Monday, August 25, 2008 8:46 PMGPAM Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am trying to host the Northwind data service on my local server directly from Visual Studio 2008 but I get an error message when I try to access the service.

    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.

    The IIS manager did not have a handler for *.svc. So I added a script handler to handle *.svc with aspnet_isapi.dll and I got a new error.

    The requested content appears to be script and will not be served by the static file handler.

    Can someone point me to some resources which can solve this issue?

    Thanks!

Answers

  • Saturday, March 28, 2009 7:59 PMPhani Raju MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi GuruPrasad,
     It looks like the script maps for the .svc extension are not registered. 
     You will need to run ServiceModelReg.exe -i from the "%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation" directory to register the script maps.
    Phani Raj Astoria

All Replies

  • Saturday, March 28, 2009 7:59 PMPhani Raju MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi GuruPrasad,
     It looks like the script maps for the .svc extension are not registered. 
     You will need to run ServiceModelReg.exe -i from the "%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation" directory to register the script maps.
    Phani Raj Astoria