while adding web reference

Mar 28 2009 6:31 AM
       I get an error when i try to add a web reference in a web site using C#.NET
      The error message that i get is
Configuration 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 24:             ASP.NET to identify an incoming user. 
Line 25:         -->
Line 26: 		<authentication mode="Forms"/>
Line 27: 		<!--
Line 28:             The <customErrors> section enables configuration 

Source File: c:\inetpub\wwwroot\author\web.config    Line: 26


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42



Answers (1)