-
Jan 14th, 2013, 12:11 PM
#1
Thread Starter
New Member
Scripts getting aborted abruptly
I was running and testing a vbscript which went into a long loop . I killed the wscript to exit out of loop. When I tried to re-run the script it stopped running. I noticed
that the wscript appears in the task manager for 2 seconds and then it goes away. Now it happens for any script(which were working before without any issues) that I
run from my machine. There are absolutely no error messages displayed.
I tried to add On Error Resume next option, but still do not get any error messages. Checked the windows event logs. There are no logs there. I am new to scripting and I am not sure if there are any other logs for vbscript. Any idea what might be causing this ?
-
Jan 15th, 2013, 10:53 AM
#2
Lively Member
Re: Scripts getting aborted abruptly
Originally Posted by smitha_md
I was running and testing a vbscript which went into a long loop . I killed the wscript to exit out of loop. When I tried to re-run the script it stopped running. I noticed
that the wscript appears in the task manager for 2 seconds and then it goes away. Now it happens for any script(which were working before without any issues) that I
run from my machine. There are absolutely no error messages displayed.
I tried to add On Error Resume next option, but still do not get any error messages. Checked the windows event logs. There are no logs there. I am new to scripting and I am not sure if there are any other logs for vbscript. Any idea what might be causing this ?
Hi
You should show us your code
And to get any error , you must delete the line on error resume next
-
Jan 15th, 2013, 11:25 AM
#3
Thread Starter
New Member
Re: Scripts getting aborted abruptly
The problem was that the wscript entry in the registry was corrupted. Changing that fixed the issue.
Last edited by smitha_md; Jan 16th, 2013 at 02:13 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|