Server Error
-
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:
-
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:
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 )
-
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:
I think you have not configured virtual directory.
Shujaat
-
I think you have not configured virtual directory.
Shujaat
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
-
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
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
-
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
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
-
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
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 )