简体   繁体   中英

How to Host Service svc on Local IIS?

I am hosting site on my local IIS, The service (*.svc) file i put in MyProjectFolder/Service directory . I am getting following error. I am calling service from ajax call direct through service path. "neo.Mysite.Net/Prent.svc"

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

Most likely causes:

•The directory or file specified does not exist on the Web server.

•The URL contains a typographical error.

•A custom filter or module, such as URLScan, restricts access to the file.

Things you can try:

•Create the content on the Web server.

•Review the browser URL.

•Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM