Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Server Error

Server Error

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesql-serversysadmin
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bhattiprolu
    wrote on last edited by
    #1

    hi all, i developed my application using Asp.Net and Sql Server. its running fine in my local system and when i move all my content to the server its throwing the following error under web.config file. 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 93: Line 94: Line 95: Line 96:

    C S 2 Replies Last reply
    0
    • B bhattiprolu

      hi all, i developed my application using Asp.Net and Sql Server. its running fine in my local system and when i move all my content to the server its throwing the following error under web.config file. 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 93: Line 94: Line 95: Line 96:

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The error means what it says. Do you have a virtual directory set up at the level of the file throwing the error ?

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • B bhattiprolu

        hi all, i developed my application using Asp.Net and Sql Server. its running fine in my local system and when i move all my content to the server its throwing the following error under web.config file. 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 93: Line 94: Line 95: Line 96:

        S Offline
        S Offline
        Shujaat Ullah Khan
        wrote on last edited by
        #3

        I think you have not configured virtual directory.

        Shujaat

        B 1 Reply Last reply
        0
        • S Shujaat Ullah Khan

          I think you have not configured virtual directory.

          Shujaat

          B Offline
          B Offline
          bhattiprolu
          wrote on last edited by
          #4

          can you guide me how to configure Virtual Directory? I am using Windows Vista, (VS2005)ASP.Net2.0, SQL Server 2005. please guide me how to configure virtual directory

          S 1 Reply Last reply
          0
          • B bhattiprolu

            can you guide me how to configure Virtual Directory? I am using Windows Vista, (VS2005)ASP.Net2.0, SQL Server 2005. please guide me how to configure virtual directory

            S Offline
            S Offline
            Shujaat Ullah Khan
            wrote on last edited by
            #5

            Do you have iis installed on your system ? if not get it installed first. Then Goto Start--> Run and type inetmgr and click ok This will open iis manager Now there must be atree with your system name It will be containing a node name websites under websites there will be a node default web site now under this node find your project folder and right click on it and goto properties and in front of application name click create this will create virtual directory.

            Shujaat

            B 1 Reply Last reply
            0
            • S Shujaat Ullah Khan

              Do you have iis installed on your system ? if not get it installed first. Then Goto Start--> Run and type inetmgr and click ok This will open iis manager Now there must be atree with your system name It will be containing a node name websites under websites there will be a node default web site now under this node find your project folder and right click on it and goto properties and in front of application name click create this will create virtual directory.

              Shujaat

              B Offline
              B Offline
              bhattiprolu
              wrote on last edited by
              #6

              After Creating Virtual directory i am geeting the following error while running the application under Server Server Error in '/Modules' 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: The URL specified in the config file is invalid. Source Error: Line 63: Line 64: Line 65: Line 66: Line 67: Source File: D:\Domains\i-vertys.com\wwwroot\modules\web.config Line: 65 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

              C 1 Reply Last reply
              0
              • B bhattiprolu

                After Creating Virtual directory i am geeting the following error while running the application under Server Server Error in '/Modules' 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: The URL specified in the config file is invalid. Source Error: Line 63: Line 64: Line 65: Line 66: Line 67: Source File: D:\Domains\i-vertys.com\wwwroot\modules\web.config Line: 65 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

                C Offline
                C Offline
                Christian Graus
                wrote on last edited by
                #7

                bhattiprolu wrote:

                defaultUrl="D:\Domains\i-vertys.com\wwwroot\modules\\Member\Member.aspx"/

                That's not a URL, it's a file path. Try putting URLs there. The base of your app ( probably wwwroot ) is the base of your URLs

                Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups