How to fix NetworkScanner exception: System.TypeInitializationException?
Options
ko414du4
✭
Hello all,
I have been following the ABB tutorial PC SDK getting-started (http://developercenter.robotstudio.com/pcsdk/gettingstarted) on scanning controllers available on the network. However, NetworkScanner class keeps throwing the following exception:
My PC SDK version is 6.04. I am using Visual Studio 2015 Community Edition; .Net framework: 4.6
I can't find any reference on how to fix this issue. Help please.. Thank you.
I have been following the ABB tutorial PC SDK getting-started (http://developercenter.robotstudio.com/pcsdk/gettingstarted) on scanning controllers available on the network. However, NetworkScanner class keeps throwing the following exception:
My PC SDK version is 6.04. I am using Visual Studio 2015 Community Edition; .Net framework: 4.6
I can't find any reference on how to fix this issue. Help please.. Thank you.
Tagged:
0
Best Answer
-
If you check the innerexception then you will read that you are missing the reference/assembly "RobotStudio.Services.RobApi". After adding this reference "RobotStudio.Services.RobApi.dll" it will work.
5
Answers
-
Always look at the inner exceptionIn my case was due to the fact that <configSections> was not the first child of <configuration>RegardsFederico
0
Categories
- All Categories
- 5.4K RobotStudio
- 385 UpFeed
- 15 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 285 IRC5
- 47 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 748 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings