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

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,287 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,389 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
306 questions
{count} votes

2 answers

Sort by: Most helpful
  1. MotoX80 32,246 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) 57,891 Reputation points
    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