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.
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 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
Your host has set the trust level value in machine.config(Web.config), and set it to not allow overrides.
You will need to remove the <trust level=”Medium” originUrl=”http://localhost/.*” /> line from your web.config.