Trust level not allow overrides

Tác giả Network Engineer, T.Một 12, 2021, 07:38:38 CHIỀU

« Chủ đề trước - Chủ đề tiếp »

0 Thành viên và 2 Khách đang xem chủ đề.

Mã nguồn [Chọn]
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:

Line 158:    </httpHandlers>
Line 159:    <!– set code access security trust level – this is generally set in the machine.config–>
Line 160:        <trust level="Medium" originUrl="http://localhost/.*" />
Line 161:
Line 162:    <!– set debugmode to false for running application –>

Source File: D:\Web\DotNetHostingAccounts\mysite\wwwroot\web.config    Line: 160

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

Web shared hosting của bạn đã thiết lập trust level value trong tập tin machine.config(Web.config) và đã không cho phép ghi đè lên overrides.

Bạn sẽ phải cần xóa bỏ dòng <trust level="Medium" originUrl="   Đăng nhập để xem liên kết" /> trong tập tin cấu hinh web.config.