Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Login issue if I run a script via --runscript command line

jester
2014-12-08
2014-12-08
  • jester - 2014-12-08

    Hello,

    I am using a batch file to start the SoMachine LogicBuilder via command line and execute a script like

    set SCRIPT=test
    LogicBuilder.exe --nologo --noui --runscript="%SCRIPT%"

    The script itself is running well, I tested it also directly with "Tools -> execute script". But, when I use the same script via command line I get a message window which asking for "username" and "password" => see attached file !

    There is nothing defined or activated regarding user access rights. If the script is started directly within SoMachine this window will not appear ?

    IMG: Login_2014

     
  • jester - 2014-12-08

    Hello, I work now with "online.set_default_credentials('None')" and after some test like to say it is working now. Never the less I do not undertand why this command is necessary ?

     

Log in to post a comment.