Santana Posted August 18, 2009 Share Posted August 18, 2009 Hi all, I have a script that was running fine during testing. I had the files in a Virtual Workstation with windows terminal server (2003). I was testing the script remotely and it was working fine. When I tried to test the script from the server itselfe, it gives the error: The requested action with this object has failed.: and it points to: $rpt = $Call & $fileLocation & $mod & $export $objshell = objcreate("wscript.shell") $objshell.Run($rpt) <<<================== The error is in this line I dont know where to start looking since it works well in windows 2k and windows XP Can anyone give me suggestion? Thanks Just another special date with a different challenge Link to comment Share on other sites More sharing options...
herewasplato Posted August 19, 2009 Share Posted August 19, 2009 I have not got a clue - but here is a free bump to the first page while some smarter folks than I are on line :-) [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Juvigy Posted August 19, 2009 Share Posted August 19, 2009 Try IsObj($objshell). It is possible that "wscript" is not installed or corrupted on that system. Try to reinstall it Link to comment Share on other sites More sharing options...
Santana Posted August 20, 2009 Author Share Posted August 20, 2009 Well. It is quite embarrazing but have to say it. The problem was that I am using Monarch to process some text files and was testing in two PCs and only used the production workstation once. Some "smart" person decided to uninstall Monarch from the production machine while I was using the testing one and I never bother to double check. Soooo. I think I didn't investigate enough. ha ha. Thanks anyways for your answers. I really apreciate it. Just another special date with a different challenge Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now