Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Running .vbs script inside RM
Hi,
I am running a .vbs script in the commanLine Operator. Though the script runs perfect outside RM, it doesn't work when called from RM. The error I get "Permission Denied", Line 12, Code 800A0046, Microsift VBScript runtime error.
The link http://www.computerperformance.co.uk/Logon/code/code_800A0046.htm says about this error, where the solution proposed is
"If its Exchange, then check the MailRoot and Pickup folder permissions. If its IIS check the permissions to run scripts. If its SQL check the execute permissions on the services."
So, guess this problem has to do with some permissions to run VB scripts in RapidMiner? Could I get any help regarding this? Is there a way to work this out?
The operator process is below:
Thanks,
Shubha
I am running a .vbs script in the commanLine Operator. Though the script runs perfect outside RM, it doesn't work when called from RM. The error I get "Permission Denied", Line 12, Code 800A0046, Microsift VBScript runtime error.
The link http://www.computerperformance.co.uk/Logon/code/code_800A0046.htm says about this error, where the solution proposed is
"If its Exchange, then check the MailRoot and Pickup folder permissions. If its IIS check the permissions to run scripts. If its SQL check the execute permissions on the services."
So, guess this problem has to do with some permissions to run VB scripts in RapidMiner? Could I get any help regarding this? Is there a way to work this out?
The operator process is below:
<operator name="Root" class="Process" expanded="yes">
<operator name="CommandLineOperator" class="CommandLineOperator" breakpoints="before">
<parameter key="command" value="cmd /c start E:\Trial\k.vbs"/>
</operator>
</operator>
Thanks,
Shubha
0
Answers
I'm not familiar with vbs scripting, but it seems to me, that it needs some priviliges the user who started rapid miner does not have.
Does this occur on every script or is it something inside this particular script?
Greetings,
Sebastian
The error does not occur for simple display command like creating a message boxes like:
VBS Script: But, for the script where I try to create a CSV file from the script, this error appears (Me too not familar with VBA). The script is below:
I need to run this inside RM. It works outside RM as I indicated earlier.... As you said it hjas got something to do with the privileges.. Do I need to change any settings in the RM for this?
Thanks,
Shubha
no you don't need. Please ask you admin why you don't have the permission. I argue, that you are trying to write into the RM directory because the script uses the current directory, which is not set if you call cmd script.vbs directly and not from the shell. Change the path to an absolute value and be happy.
Greetings,
Sebastian
Shubha