ASP.NET error: Server Error in ‘/’ Application

Quick Fix:

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:

Source File: c:\inetpub\wwwroot\website1\web.config Line: 52
Source File: c:\inetpub\wwwroot\somewhere\web.config Line: 51
This error is generated because the default set of configuration values in web.config require IIS to treat the web site as an application but this has not been configured.


  1. Control Panel > Administrative Tools >IIS
  2. Open webiste properties (Default Web Site>Your Website >Right click > Properties)
  3. If the “application name” (under “Application Settings” on the “Directory” tab) is greyed out then click ‘[Create]’ and then ‘[OK]’.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">