How to fix NetworkScanner exception: System.TypeInitializationException?
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.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)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings