passing command line arguements thru ASP Page
hello everyone,
we are making a control panel for IIS, DNS, DSN, FTP, MAIL,
STAT Mgmt for Windows Server for Web Hosting purposes which is almost complete. We are having some problems in passing command line arguements thru ASP for Mail Mgmt. We are using IMail..
While passing the parameters thru command prompt we r getting the desired output but if we call using shell thru ASP & WSH,
the process runs in backened and doesnt gives the desired output, if we call a simple notepad also thru ASP , its in vain as its running in memory where as we need it as a outer memory process, we have tried calling it thru the component ASPExec also but same is the case with it..
the following codes runs out of memory..
<%
Set Shell = CreateObject ("WScript.Shell")
Shell.run ("C:\imail\adddomain.exe -h ff22.com -i 66.96.221.150 -t C:\mail\ff22_com")
%>
we have tried using the component ASPExec also calling notepad
<%
Set Executor = Server.CreateObject("ASPExec.Execute")
Executor.Application = "notepad.exe"
Executor.ShowWindow = True
Response.Write "Attempting to execute " & Executor.Application & "
"
strResult = Executor.ExecuteWinApp
Response.Write "The result of this call was: " & strResult
%>
well we tried setting permissions active for ' Allow Service to interact with desktop' also in Services but it didnt worked.
We also build an a dll for that and tried to call it in ASP PAge but same was the result..
<%
set imail=createobject("Control.Imail")
call imail.adddomain("c:\imail\adddomain.exe","123.com","22.22.11.21","c:\imail\124")
%>
please can anyone tell what permission do we h
Last updated 11 years ago by mafidul
You must be logged in to answer or post comments to this question.
Click here to login now.
ExpertHelp LLC is an independent provider of professional support services for 3rd party products and services. Any use of 3rd party trademarks, brand names, products and services is only referential and ExpertHelp LLC hereby disclaims any sponsorship, affiliation or endorsement of or by any such 3rd party.