• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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