Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
Error message when you try run a Web application that is built on the .NET Framework: "Server Error in '/' Application"
When you try to run a Web application that is built on the
Microsoft .NET Framework, you may receive an error message that resembles the
Server Error in '/'
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
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.
36: by Microsoft that offers a single logon and core
profile services for member sites.
Line 38: <authentication
Line 39: <forms
Drive:\InstallationPath\ApplicationName\web.config Line: 38
This problem occurs after you move
the application to a new server location.
This problem occurs when a virtual directory in Microsoft
Internet Information Services (IIS) is configured to have an incorrect
To resolve this problem, remove the virtual directory in
IIS. Then, re-create the virtual directory and configure it as an
application. To remove the virtual directory, follow these steps:
- Click Start, and then click
- In Control Panel, double-click
Administrative Tools, and then double-click Internet
Note If the Administrative Tools icon is unavailable
in Control Panel, click Switch to Classic
View, and then double-click Administrative
- Click the name of the server that you want to configure,
and then double-click Web Sites.
- Double-click the name of the Web site that you want to
- Right-click the name of the virtual directory that you
want to remove, and then click Delete.
- Click Yes.
To create a new virtual directory and configure it as an
application, follow these steps:
- Click to select the name of the Web site in which you want
to add the new virtual directory.
- On the Action menu, point to
New, and then click Virtual Directory.
- In the Virtual Directory Creation Wizard, click Next.
- Type the name of the virtual directory that you want to
create, and then click Next.
- Click Browse, select the directory for the
application, and then click OK.
- Click Next, and then click
Note By default, a new application that has the same name as the new
virtual directory is created in IIS.
Article ID: 917413 - Last Review: December 3, 2007 - Revision: 1.4
- Microsoft .NET Framework 1.1 Service Pack 1
- Microsoft .NET Framework 1.1
- Microsoft ASP.NET 1.1
- Microsoft ASP.NET 1.0
- Microsoft .NET Framework 1.0 Service Pack 3
|kbprb kbinfo kbtshoot KB917413|
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
- sevket_riza NOSPAM-AT-NOSPAM yahoo.com
Reported as Irrelevant
6/6/2006 5:41 PM