Simple instructions on how to deploy a WCF service

Discussion in 'ASP.NET WebServices' started by rockybound, Oct 9, 2010.

  1. I just created a WCF service using VS 2010. I have tested it within VS 2010 and it works fine. I have not deployed it to any IIS server. I'd like to deploy it to DASP under a sub directory of my account. Are there any step by step instructions on how to do this? I tried to deploy it through VS2010 using the Publish project option, plugging in the ftp address to deploy to. It looked like it deployed without error. I try to browse to it and I receive an error:

    The requested page cannot be accessed because the related configuration data for the page is invalid.

    Module IIS Web Core
    Notification Unknown
    Handler Not yet determined
    Error Code 0x800700b7
    Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined

    I don't know why it's failing or even if I deployed it correctly, or if I missed a step in modifying the app.config to get it to work. I can't find any instructions that say how to deploy a WCF service using VS2010 or any other method, for that matter. Please help. Thank you in advance.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

Share This Page