CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2006
    Posts
    449

    Error when hosting...

    Hi all,

    In my local system , all was fine. But when I host the same on to web server, then I get the following error: Please guide me through.

    =================================================================
    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 25: ASP.NET to identify an incoming user.
    Line 26: -->
    Line 27: <authentication mode="Windows"/>
    Line 28: <!--
    Line 29: The <customErrors> section enables configuration

    =================================================================
    Thank you for your support.

    Best regards,
    Lax

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Error when hosting...

    caused by a virtual directory not being configured as an application in IIS.
    Configure the server.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jan 2010
    Posts
    1

    Re: Error when hosting...

    Please check whether you have configured the IIS correctly then Try again configuring Server.

    your error will be rectified.

    you can get the issue solved by having the folder which had bin directory set as application thru Properties of the virtual directory.

    __________________
    Affordable & Reliable Web Hosting
    http://www.speedhost.in

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured