Click here to Skip to main content
14,207,753 members
Rate this:
Please Sign up or sign in to vote.
See more:
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 54:       </compilation>
Line 55:
Line 56:       <authentication mode="Windows" />
Line 57:
Line 58:         <!--

Source File: C:\Inetpub\vhosts\\httpdocs\newadmins\web.config    Line: 56

I am getting this error after uploading the application or the server. I have also configured the application in IIS server, but the error remain exists.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hi there,
1. run Internet Information Service.
2. right-click on your virtual directory and then select Properties.
3. Choose Directory tab.
4. Near of Application name textbox. click on the Create button.
5. Then set Execute Permissions to Scripts only.
Member 7985285 20-Mar-13 2:28am
Can you give me screen shoots, I am new to development, I have try a lot but :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.190612.1 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100