• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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