• 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!
  • 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.

Viewing Web Directories in Plesk 8.6

M

mycool

Guest
Hi Guys,

I get the following error on a regular basis when clicking the web directories link in a domains plesk panel. I can find no pattern to why it is giving me the issue. Any ideas?

Plesk error in control panel:
WebServerManager::getWebDirs() failed: websrvmng failed: C Exception: 3221225477
---------------------- Debug Info -------------------------------
0: plib\common_func.php3:181
psaerror(string 'WebServerManager::getWebDirs() failed: websrvmng failed: C Exception: 3221225477')
1: htdocs\domains\webdirs\webdirs.php:67

I found the following in the event logs for plesk:
C Exception: 3221225477
at execute console command --list-wdirs(vconsoleapp::start line 129)
at execute "C:\Program Files\Parallels\Plesk\/admin/bin/websrvmng" --list-wdirs "--vhost-name=domain.com" "--wdir-name=/"(vconsoleapp::run line 140)
Execute file name: C:\Program Files\Parallels\Plesk\admin\bin\websrvmng.exe

We are running windows 2008 and plesk 8.6

Thanks for any assistance.

Mycool
 
Hi I am still having issues with this. But It appears to be caused by the handlers in the web.config.

The server is wondows 2008. If it uses default handlers I do not have the issue.
Here is the default handlers:

<handlers>
<clear />
<add name="Plesk_Handler_074100598" path="*.asp" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="c:\windows\system32\inetsrv\asp.dll" resourceType="Either" />
<add name="Plesk_Handler_074100800" path="*.cer" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="c:\windows\system32\inetsrv\asp.dll" resourceType="Either" />
<add name="Plesk_Handler_074100815" path="*.asa" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="c:\windows\system32\inetsrv\asp.dll" resourceType="Either" />
<add name="Plesk_Handler_074100824" path="*.cdx" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="c:\windows\system32\inetsrv\asp.dll" resourceType="Either" />
<add name="Plesk_Handler_074100843" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_074100858" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_074100869" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_074100899" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_074100924" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_074100961" path="*.shtm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="Either" />
<add name="Plesk_Handler_074100969" path="*.shtml" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="Either" />
<add name="Plesk_Handler_074100971" path="*.stm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="Either" />
<add name="Plesk_Handler_074100972" path="*.htm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="Either" />
<add name="Plesk_Handler_074100973" path="*.html" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="Either" />
<add name="Plesk_Handler_074100974" path="*.php" verb="*" modules="IsapiModule" scriptProcessor="c:\program files\parallels\plesk\additional\pleskphp5\php5isapi.dll" resourceType="Either" />
<add name="Plesk_Handler_074100975" path="*.php3" verb="*" modules="IsapiModule" scriptProcessor="c:\program files\parallels\plesk\additional\pleskphp5\php5isapi.dll" resourceType="Either" />
<add name="Plesk_Handler_074100976" path="*.phtml" verb="*" modules="IsapiModule" scriptProcessor="c:\program files\parallels\plesk\additional\pleskphp5\php5isapi.dll" resourceType="Either" />
<add name="Plesk_Handler_074100977" path="*.cgi" verb="GET,HEAD,POST" modules="CgiModule" scriptProcessor="c:\program files\parallels\plesk\additional\perl\bin\perl.exe &quot;%s&quot; %s" resourceType="Either" />
<add name="Plesk_Handler_074100978" path="*.pl" verb="GET,HEAD,POST" modules="CgiModule" scriptProcessor="c:\program files\parallels\plesk\additional\perl\bin\perl.exe &quot;%s&quot; %s" resourceType="Either" />
<add name="Plesk_Handler_074100979" path="*.plx" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="c:\program files\parallels\plesk\additional\perl\bin\perlis.dll" resourceType="Either" />
<add name="Plesk_Handler_074100980" path="*.py" verb="*" modules="CgiModule" scriptProcessor="c:\program files\parallels\plesk\additional\python\python.exe -u &quot;%s&quot; %s" resourceType="Either" />
<add name="Plesk_Handler_074100981" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_074100982" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_074100983" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" />
<add name="Plesk_Handler_074100986" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
<add name="Plesk_Handler_074100987" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" />
</handlers>

However the above handlers do not work for a number of sites and we get an 500.21 error usually matched to the "<add name="Plesk_Handler_074100869" path="*.aspx" " handler.

We can overcome this by replacing the default handlers with the following:
<handlers>
<add name="AJAX_ScriptResourceHandler" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />
<add name="AJAX_AppServiceHandler" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />
<add name="AJAX_WebServiceHandler" path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />
<add name="LogoffHandler*" path="Logoff.aspx" verb="*" type="DotNetNuke.Services.Authentication.LogOffHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
<add name="RSSJandler" path="RSS.aspx" verb="*" type="DotNetNuke.Services.Syndication.RssHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
<add name="LinkClickHandler" path="LinkClick.aspx" verb="*" type="DotNetNuke.Services.FileSystem.FileServerHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
<add name="CaptchaHandler" path="*.captcha.aspx" verb="*" type="DotNetNuke.UI.WebControls.CaptchaHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
</handlers>

But then we get the c exception error.

Please advise what we should change on the default handlers to resolve this?

Thanks
Michael
 
Hi All,

I really need to find a solution to the web.config issue as it causes errors in the plesk interface for the clients involved. I cant use the default plesk values in the web.config as the application the clients run will not work. They get the 500.21 error I mentioned earlier.

Please advise how to resolve this.
 
Hey MyCool,
I know it sucks, but the solution that we have found is to not run Plesk on Windows 2008. It sucks really bad. A couple months ago we started reporting bugs like crazy to Parallels about it, but every time they did, instead of saying "We're going to fix the issue" they'd say "If you don't want errors, then don't do that". It was really frustrating to see that kind of attitude coming from Parallels so we quit sending them reports.

Oh, and by the way, I work for www.PowerDNN.com so I am intimately familar with the error that you're having in your clients software.

A fundamental problem with Plesk on Windows 2008 is that it stores IIS configurations in the website's web.config instead of the server's ApplicationHost.config . This is really bad because it basically means that users have direct access to IIS confiuration settings by editing the web.config . I've reported this issue to Parallels multiple times and they don't seem to understand that web settings can be stored in two places.

-Tony Valenti
 
Hi Tony,

Thanks for the response. Yes it appears that not too many people out there are interested in this issue. I believe this is the cause of my plesk panel crashing on a semi regular basis also. We are running a few 2008 plesk servers and dont appear to have a too many issues all in all. It is just this one server that is giving the headaches.

Any further information would be great.
 
I got error

I got error: psaerror(string 'WebServerManager::getWebDirs() failed: websrvmng failed: C Exception: 3221225477'), and I really dont have the file: web.config. Before I had, but I deleted when upload files to server. Any Body knows, How can I create this file again?

Thanks for all.
 
Back
Top