• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs web.config parsing errors

Fredrik Svensson

New Pleskian
TITLE:
web.config parsing errors
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Obsidian RC4,Windows Server 2019, ASP.NET 4.0, x64
PROBLEM DESCRIPTION:
This subject was up ages ago and for beeing a bit lazy, I refer to that post from 2007 which is located at web.config parsing errors

I discovered today that this error is till present in Obsidian latest RC.
It's about Plesk writing <trust level="xxxx" /> in the first occurence where it finds the <system.web> tag. The problem is that there might be multiple occurences of <system.web> and the first one is not always the correct one to put trust level in.

What you get then is an error in the form of:
<< Exception message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. >>
STEPS TO REPRODUCE:
Insert manually the following somewhere at the top in web.config:
<location path="NonExistent.aspx" allowOverride="false">
<system.web>
<authorization>
<deny users="?" />
</authorization>
<trust level="Full" />
</system.web>
</location>

Then change CAS Trust Level from Plesk and you will see that <Trust level=xxx> is written in the section I pasted above without looking for further <system.web> tags later in web.config.
ACTUAL RESULT:
<< Exception message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. >>

You have to manually edit web.config and remove the line with <trust level=xxx> every time you change something in ASP.NET settings within Plesk.
EXPECTED RESULT:
Well, expected result is that Plesk parse the whole web.config file and inserts trust level in the correct section.
ANY ADDITIONAL INFORMATION:
I hope you can provide a solution for the sharp release of Obsidian on Sept 25th.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Thank you for report. Bug PPP-44387 was confirmed and submitted.
 
Back
Top