upload webappliction get error RRS feed

  • Question


    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 36:       ASP.NET to identify an incoming user. 
    Line 37:     -->
    Line 38: 		<authentication mode="Passport"/>
    Line 39: 		<!--
    Line 40:       The <customErrors> section enables configuration 

    Source File: e:\Webspace\webmaster\theweddingbells\theweddingbells.co.in\www\search2\web.config    Line: 38

    Version Information: Microsoft .NET Framework Version:2.0.50727.3620; ASP.NET Version:2.0.50727.3618




    give me solution



    i am using vs2008 .application on asp.net c#.



    Wednesday, April 27, 2011 12:15 PM


  • Hi Anuj,

    1.       Have you configured your asp.net application in IIS? If not, please configure it first, and give permission (read, write) to the application. Refer to this similar thread. http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/76dc4c88-48bb-4fb0-8327-badea6521384/

    2.       Have you kept a copy of the web.config file in the subfolder or virtual directory beneath the root/application level? If so, please remove web.config from subfolder and try again.

    If the problem persisted, could you please provide the ULS logs and Event logs to us?

    Thanks & Regards,

    • Marked as answer by David HM Thursday, May 5, 2011 8:11 AM
    Friday, April 29, 2011 5:52 AM