RobotStudio event

How to fix NetworkScanner exception: System.TypeInitializationException?

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.
Tagged:

Best Answer

Answers

  • Always look at the inner exception

    In my case was due to the fact that <configSections> was not the first child of <configuration>

    Regards

    Federico