1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How to get .svc extension to be handled correctly

Discussion in 'Plesk 9.x for Windows Suggestions and Feedback' started by Michael Legg, Sep 7, 2010.

  1. Michael Legg

    Michael Legg Guest

    I have a client who has an ASP.Net app that uses Syndication services, but we can't get it to run on our server. (IIS7/Plesk 9.5/ASP.Net 3.5)

    We've installed Windows Communication Foundation and run the ServiceModel Registration Tool (servicemodelreg –i) which is supposed to set up all of the handlers in IIS, but we still get a 404.3 Error - "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."

    Is there something about the way Plesk manages IIS that prevents the ServiceModel Registration Tool from working?
    Last edited by a moderator: Sep 7, 2010
  2. Michael Legg

    Michael Legg Guest

    I've made some progress ...

    "servicemodelreg –i" only sets up the handlers on the "Default" website, so you still have to manually add them to the individual websites that want to run .svc scripts.

    Having done this, the app isn't producing an IIS error anymore, but it's still having some sort of internal "file not found" error which is being handled within the application.

    So I'm still not sure if further configuration on the web server will be required.
  3. Michael Legg

    Michael Legg Guest

    oops back to square one - as soon as you make any changes to the domain via Plesk, IIS loses all of the .svc handlers that were added manually.

    So I'm thinking now that it's impossible to host WCF Services on Plesk.
  4. DWR

    DWR Guest

    Michael, I know this is a fairly old post, but I did find a couple people who suggested clicking on "Revert To Parent" in the Handler Mappings for your website in IIS. That wipes out all of those Plesk handlers and copies all of the handlers from the default into your site. Plesk won't override them after that.

    But, WCF services still don't run right.

    I'm just about ready to dump Plesk and maintain my server the old fashioned way.

    Anybody from Parallels care to save me as a paying client? Why won't WCF services run in IIS under Plesk?