Login | |
|
 |
RE: VB Script ERROR - 1/2/2007 9:54:14 AM
|
|
 |
|
| |
Cthulhu
Posts: 4
Score: 0
Joined: 11/27/2006
Status: offline
|
I could be wrong, as I'm new to VBS myself, but I think you need to use != as your 'not equal' operation instead of <>.
< Message edited by Cthulhu -- 1/2/2007 12:19:44 PM >
|
|
| |
|
|
|
 |
RE: VB Script ERROR - 1/3/2007 12:23:20 AM
|
|
 |
|
| |
mbouchard
Posts: 1924
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
You can use <> Which line is 7? It appears to be the If Temp line. If so, what happens when you add the msgbox, what is returned?
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: VB Script ERROR - 1/3/2007 2:52:46 AM
|
|
 |
|
| |
mbouchard
Posts: 1924
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
in the code you have the msgbox commented out just above what appears to be line 7, what happens when that is added back?
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: VB Script ERROR - 1/3/2007 7:23:24 AM
|
|
 |
|
| |
mbouchard
Posts: 1924
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
What that tells me is that you are not getting a return from your net start command. Try changing the stdout.ReadLine to ReadAll and see if anything is displayed with the msgbox.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: VB Script ERROR - 1/4/2007 2:30:50 AM
|
|
 |
|
| |
ebgreen
Posts: 5246
Score: 31
Joined: 7/12/2005
Status: offline
|
"This vb script runs fine on one of our servers but not this new server." Then I would suspect that the problem is in the configuration of the server and not the script. There isn't a lot that we can do to troubleshoot your server configuration. Here are some ideas: -Is Informatica installed on the server? -Can you manually start the service? -Can you run the net start command at a command line?
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|