Is WCF supported?

Discussion in 'ASP.NET / ASP.NET Core' started by brotherbill, Dec 26, 2008.

  1. Is WCF (Windows Communication Foundation) for Visual Studio 2008 supported by discountasp.net?
    The WCF service works fine on my local server, but produces the following error:

    HTTP Error 500.19 - Internal Server Error
    The requested page cannot be accessed because the related configuration data for the page is invalid.






    Module
    IIS Web Core

    Notification
    BeginRequest

    Handler
    Not yet determined

    Error Code
    0x800700b7

    Config Error
    Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ScriptHandlerFactory'

    Config File
    \\?\E:\web\vbcscom0000\htdocs\IMSWebService\web.config


    <LEGEND>Config Source</LEGEND>
    Code:
    [b]  127: 			<remove name="WebServiceHandlerFactory-Integrated"/>
    [i]  128:       <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>[/i]
      129:       <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    [/b]
    Code:
    [b]If supported, is there a workaround to get it to work?
    Thank you.[/b]
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You should be able to use WCF application our server. You should be able to find many post related to WCF in this forum.

    The error you are seeing is related to a malformed web.config file. Have you tested this web.config on an IIS 7.0 environment?

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page