| |
Support Forum -
Display Thread
Date: 10/16/2003 6:28:55 PM |
Author: Kristoffer |
Subject: Logon failure |
Hi!
I get a very strange error.
I build a tqc file and it works just perfekt when double click on the file. But I get an error when I run it from a WSH script using shell objects run:
objShell.Run "\\myServer\d\tqcrunas.exe -f \\myServer\d\myfile.tqc"
Everthing works fine but when everything is finished i get the "Logon failure: Bad username or password" error. Why is that?
It works fine all the time but when I use it in a .vbs file.
I get the same error if I don't use the TQC file and instead writes:
objShell.Run "\\myServer\d\tqcrunas.exe -d domain -user admin -pw passwd -e "wscript \\myServer\d\myFile.vbs"
Please help me!!
Thanks in advance!
Kristoffer
kristoffer@storstadensit.se |
Reply |
|
Date: 10/16/2003 8:40:00 PM |
Author: Quimeras |
Subject: Re: Logon failure |
Does the user passed to TqcRunas have the needed access rights to the network shares?
|
Reply |
|
Date: 10/23/2003 5:43:28 PM |
Author: Kristoffer |
Subject: Re: Re: Logon failure |
Well I thought that could be the problem. The thing is for some users it works fine and for some user I get the above problem. Is it network rights that is the problem? It's very strange, for example it for one administrator but not for another one...
Thanks for your help! |
Reply |
|
Date: 11/4/2003 11:42:23 PM |
Author: Quimeras |
Subject: Re: Logon failure |
First, update to TqcRunas 2002.2 edition if you're using an old version.
Second, enter the executable and arguments in different fields. In your example:
objShell.Run "\\myServer\d\tqcrunas.exe -d domain -user admin -pw passwd -e wscript.exe -a "\\myServer\d\myFile.vbs"
|
Reply |
|
|