• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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