none
Parser Error Message while doing wcf in IIS Hoasting RRS feed

  • Question

  • Hi Sir/Mam,

    I simply crreated a WCF application as per below:

    Open new project --> WCF Service application.

    Then I went to ISS-->Default Web site-->create Virtual direcetory--> gave alias name and physical path

    Then I clicked on The new created folder --> choosed Directory Browser Icon-->Enabled from right Panel

    But when I went to Manage Virtual Director-->Browse, I am getting below error.


    Server Error in '/' Application.



    Configuration Error

    Description:
    An error occurred during the processing of a configuration file required to
    service this request. Please review the specific error details below and modify
    your configuration file appropriately.

    Parser Error Message: It
    is an error to use a section registered as
    allowDefinition='MachineToApplication' beyond application level.  This error can
    be caused by a virtual directory not being configured as an application in
    IIS.

    Source Error:
    Line 15: 			</serviceBehaviors>
    Line 16: 		</behaviors>
    Line 17: 		<serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
    Line 18: 	</system.serviceModel>
    Line 19: 	<system.webServer>

    Source
    File:
    D:\WCF Practice\web.config    Line: 17




    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
    Version:4.0.30319.272

    PLease help me. I have alreaady googled but not getting any specifi result.

    Thanks

    Siibasis


    bbpitha

    Thursday, August 8, 2013 5:05 AM

Answers

All replies