• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Execute domain.exe in ASP

S

StephaneD

Guest
Hi!
I need to automate the domain creation from a ASP website. I did it once, but I'm now on a Windows 2008 server with IIS7, and I dont know how do to it. Here's my code:

set wshell = server.CreateObject("WScript.Shell")
wshell.run """C:\Program Files (x86)\Parallels\Plesk\admin\bin\domain.exe"" --create " & nom_domaine & " -dom_user true -du_passwd " & mot_passe & " -du_pname " & username & " -hosting true -ip " & adresseip & " -login " & username & " -passwd " & mot_passe & " -hard_quota " & hard_quota & " -ssi " & ssi & " -php " & php & " -cgi " & cgi & " -perl " & perl & " -python " & python & " -webstat awstats -asp.net " & aspnet & " -iis_app_pool true -clogin StephaneD"
set wshell = nothing

The problem is that nothing is executed. I added full permission for IUSR_xxx and IWPD_xxx users on the C:\Program Files (x86)\Parallels\Plesk\admin\bin\ folder.

Can somebody help me please?

Thanks!!
 
Back
Top