Advertisement

08.29.2005 at 06:12PM PDT, ID: 21544260
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.2

CreateObject("WScript.Shell") used to work now no errors presented... but no result

Asked by madpuppy in Active Server Pages (ASP)

Tags:

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.Shell")
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>Waiting...")
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
 
 
Loading Advertisement...
 
[+][-]08.29.2005 at 07:58PM PDT, ID: 14781172

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Active Server Pages (ASP)
Tags: denied
Sign Up Now!
Solution Provided By: peterxlane
Participating Experts: 3
Solution Grade: B
 
 
[+][-]08.29.2005 at 08:11PM PDT, ID: 14781248

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.29.2005 at 08:17PM PDT, ID: 14781278

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.30.2005 at 02:23AM PDT, ID: 14782690

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.30.2005 at 04:41AM PDT, ID: 14783384

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.30.2005 at 04:50AM PDT, ID: 14783458

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.30.2005 at 05:58AM PDT, ID: 14783956

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.30.2005 at 10:38AM PDT, ID: 14787064

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.31.2005 at 01:00PM PDT, ID: 14797244

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.31.2005 at 01:48PM PDT, ID: 14797648

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.31.2005 at 02:13PM PDT, ID: 14797866

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32