I Having Problem While Hosting ASP.NET Application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SajidKamal
    New Member
    • Jul 2007
    • 1

    I Having Problem While Hosting ASP.NET Application

    Dear Friends

    While Hosting My Application On Hosting Server, i am geting error bellow.
    please help me ought.

    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 ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

    Source Error:


    Line 40: by Microsoft that offers a single logon and core profile services for member sites.
    Line 41: -->
    Line 42: <authenticati on mode="Forms"/>
    Line 43:
    Line 44: <!-- AUTHORIZATION


    Source File: C:\Inetpub\vhos ts\akhilsystems .com\subdomains \aspnet\httpdoc s\aspx\web.conf ig Line: 42



    Show Additional Configuration Errors:


    It is an error to use a section registered as allowDefinition ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\Inetpub\vho sts\akhilsystem s.com\subdomain s\aspnet\httpdo cs\aspx\web.con fig line 73)



    Thanks & Regards
    Sajid Kamal
    --------------------------------------------------------------------------------
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    Originally posted by SajidKamal
    Dear Friends

    While Hosting My Application On Hosting Server, i am geting error bellow.
    please help me ought.

    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 ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

    Source Error:


    Line 40: by Microsoft that offers a single logon and core profile services for member sites.
    Line 41: -->
    Line 42: <authenticati on mode="Forms"/>
    Line 43:
    Line 44: <!-- AUTHORIZATION


    Source File: C:\Inetpub\vhos ts\akhilsystems .com\subdomains \aspnet\httpdoc s\aspx\web.conf ig Line: 42



    Show Additional Configuration Errors:


    It is an error to use a section registered as allowDefinition ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\Inetpub\vho sts\akhilsystem s.com\subdomain s\aspnet\httpdo cs\aspx\web.con fig line 73)



    Thanks & Regards
    Sajid Kamal
    --------------------------------------------------------------------------------
    how did you host your app in the server??
    Have you made a Virtual Directory to copy your app folder to it???

    Comment

    • radcaesar
      Recognized Expert Contributor
      • Sep 2006
      • 759

      #3
      VS.NET 2005 was complaining about a configuration section within the web.config file in the Backup folder of your application.
      Just remove (or move) the backup folder so it doesn't have a web.config file under the Virtual directory that your ASP.NET 2.0 application is running in.

      Comment

      Working...