This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.

Dhananjay Dangadi 0 Reputation points
2024-05-12T12:11:59.8466667+00:00

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:__This configuration section cannot be used at this path.  This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file. Source Error:

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

__Source File:__D:\INETPUB\VHOSTS\sgi.net.in\ecom.sgi.net.in\web.config   __Line:__34


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4718.0

Developer technologies | ASP.NET | ASP.NET API
Windows for business | Windows Server | User experience | Other
Developer technologies | .NET | Other
Developer technologies | ASP.NET | Other
Developer technologies | C#
{count} votes

2 answers

Sort by: Most helpful
  1. MotoX80 36,401 Reputation points
    2024-05-12T12:57:28.94+00:00

    Identify what setting line 34 of D:\INETPUB\VHOSTS\sgi.net.in\ecom.sgi.net.in\web.config refers to.

    Remove that section.

    If you wish/need to override the IIS default setting, then in the IIS manager at the server level, select Feature Delegation. Find the feature and set it to Read\Write.

    User's image

    0 comments No comments

  2. Bruce (SqlWork.com) 78,086 Reputation points Volunteer Moderator
    2024-05-12T15:51:20.3333333+00:00

    The error is pretty clear. Use of <location> tag in web.config is not allowed by your IIS configuration.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.