ERP application crash

Hi everyone,
i am currently working on a project which deals with an ERP system I created the bot and tested it its working fine when running it from studio but after publishing it to robot tray and running the bot from there the ERP application crashes. i can’t find any reasons as to why the application crashes when running it from robot tray??? i really appreciate everyone’s help on this…