License Error
However I get a build error with the following description:
Error 1 Exception occurred creating type 'ABB.Robotics.Controllers.Licenses.PCSdk, ABB.Robotics.Controllers, Version=5.9.167.0, Culture=neutral, PublicKeyToken=1da709b7d1f14b7b' System.ComponentModel.LicenseException: A valid license cannot be granted for the type ABB.Robotics.Controllers.Licenses.PCSdk. Contact the manufacturer of the component for more information.
File: Licenses.licx
Line: 1
Project: IELaunchTestApp
The license expires in September 2008.
Does anybody know why I'm getting this exception?
Thanks in advance,
Neil
Comments
-
This error occurs when the license file is included in the project and I try to build the program (using VS2005).
If I exclude the license file from the project, it builds with no problem. Running the exe, I get the exact same error as described in this forum:
http://forums.robotstudio.com/forum_posts.asp?T ID=1639&KW=license
Can anybody help? Any help appreciated...
Neil
neil2007-12-12 13:52:20 -
Hi Neil,
1st check
Did you do "Add Existing Item" and selected
C:Program FilesABB Industrial ITRobotics ITRobot Application BuilderPC SDKLicenses.licx
or did you include the file in another way?2nd check
In the project, on the Licenses.licx, check that the "Build Action" property is correct. In my working system its set to "Embedded Resource".John
Developer Center0 -
Hi John,
1st check:
I have added the license file to the project in the way you suggested. I also tried copying the license file over to the project folder and then "Add Existing Item". Both methods give the build error as shown in the original post.
2nd check:
The "license.licx" "Build Action" is set to "Embedded Resource" as you suggest (and has been all along).
I have read through other license related errors posted on the forum and issues addressed in the RAB manual but I can't see anything relating to this problem.
I have found a similar error on the Microsoft Support website. I don't know if I have 32bit or 64bit OS though...
http://support.microsoft.com/kb/913961
Any help appreciated,
Neil
0 -
Hi Neil,
One reason for the error could be that the ABB.Robotics.Controllers.dll that you reference in your project does not belong to the PC SDK but to the FP SDK.
Right-click the reference in the Solution Explorer and select Properties. Check that the reference path is C:Program FilesABB Industrial ITRobotics ITRobot Application BuilderPC SDK.
(If you want to you can download RAB 5.10, which does not have any licensing check.)
Best regards,
Ingela Brorsson
Software Engineer
ABB Robotics, Sweden0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings