RobotStudio event

Debug Error:LisenceException

Options
   I debug program under VC#2005,When debugging the codes:

"this.controller=ControllerFactory.CreateFrom(controllerInfo );" 

   there is an error :

"LicenseException was unhandled",

it is not a syntax error,i can't figure out why.please help me handle this problem.

Comments

  • RussD
    Options

    You must add a file called licenses.licx to your Visual Studio project that provides references to several namespaces. This is described in the RAB help files and elsewhere here in the forum.

    Russell Drown
  • cookie
    Options

    But how to add a file called "licenses.licx"

    I write in a text "ABB.Robotics.Controller.Licenses.PCSdk,ABB.Robotics.Control lers" and name the file Licenses.licx then import the file to my project,but it doesn't work

  • PerSvensson
    Options
    Hi
    In VS just right click on the class library node and select add new item and then select text file and rename it to Licenses.licx and after that add the information to the file
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering
  • cookie
    Options
    It works,thank u for instruction