I had a script that was working for ~months, now the service provider moved the server and it will not work- I am going back and forth regarding iusr_ permissions and such but I have no access to the server- My script is NOT giving the browser/me an error that I can see and report to these knuckleheads, and my exe is not throwing an stdout or stderror like it would before if I gave it bad commands.. but the file it is supposed to build is not getting built.. and the exit code is 1................
Q: my question to you is either can i get any other ASP or IIS error codes for these fellows? or how can 'they' see if this is an access denied for iusr - I am not a sysadmin person.. I do not have access..are there anymore questions I can ask them that may lead to an answer for my code to begin to run again? is there anything else that could be wrong, verisons of the shell?
Dim WshShell, oExec, input
Set WshShell = CreateObject("WScript.Shel
l")
Set oExec = WshShell.Exec(mergeCmd)
do while not oExec.StdOut.AtEndOfStream
Response.Write("<BR>not end of stream for stdout...")
output = output & oExec.StdOut.Readline
error_out = error_out & oExec.StdErr.Readline
Loop
'Added the loop to wait for the process to terminate
Do While oExec.Status = 0
Response.Write("<BR>Waitin
g...")
Loop
'This returns the exit code
Response.Write("<BR>SHELL Exit Code: " & CStr(oExec.ExitCode))
response.write("<BR>EXE Out: " & output & "<p>" & "EXE Error: " & error_out & "<p>")
Set WshShell = Nothing
Set oExec = Nothing
------RUNS LIKE ( I do not think it is running the exe...)
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
SHELL Exit Code: 1
EXE Out:
EXE Error:
Check to see if PDF File was written sucessfully!
Check AGAIN for finished file: c:\we\mmm\mmm\PIPEAPP_834.
pdf
NO file.. That is VERY VERY SAD!
Start Free Trial