ryanlcs
04-16-2008, 01:42 AM
I got one problem here. I have a ASP script which hosted under Window 2003 Server. The script will invoke an exe file and it does invoke the exe. But after invoke the exe file, it should perform some execution, but it didnt. But the same method works fine fine under Window XP Pro SP2.
One thing I noticed the different is that from the Task Manager, the User_Name that invoke this exe under Win XP is "IUSR_<machine name>", but under Win 2003 Server, the User_Name is "NETWORK SERVICE". It this something abnormal?
Script to invoke exe
Set WShell = Createobject("WScript.Shell")
WShell.Run ("""" & Session.Contents("HTMLGuardianPath") & """ f, " & strSource1 & ", " & strDestination1 & ", , 1")
Set WShell = Nothing
Thanks
One thing I noticed the different is that from the Task Manager, the User_Name that invoke this exe under Win XP is "IUSR_<machine name>", but under Win 2003 Server, the User_Name is "NETWORK SERVICE". It this something abnormal?
Script to invoke exe
Set WShell = Createobject("WScript.Shell")
WShell.Run ("""" & Session.Contents("HTMLGuardianPath") & """ f, " & strSource1 & ", " & strDestination1 & ", , 1")
Set WShell = Nothing
Thanks