# RobotStudio SDK

**URL:** <https://tech-community.robotics.abb.com/t/robotstudio-sdk/11295>\
**Category:** Developer Tools\
**Created:** [November 29, 2023, 7:47am UTC](https://tech-community.robotics.abb.com/t/robotstudio-sdk/11295 "2023-11-29T07:47:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aliwe](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@Aliwe](https://tech-community.robotics.abb.com/u/Aliwe)\
**Post date:** [November 29, 2023, 7:47am UTC](https://tech-community.robotics.abb.com/t/robotstudio-sdk/11295/1 "2023-11-29T07:47:35Z")

</div>

while compilation this command: Station station = Station.ActiveStation; makes this error this error : System.TypeInitializationException  
HResult=0x80131534  
Message=The type initializer for ‘ABB.Robotics.RobotStudio.Stations.Station’ threw an exception.

Inner Exception 1:  
ReflectionTypeLoadException: Unable to load one or more of the requested types.  
Could not load file or assembly ‘System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’. The system cannot find the file specified.  
Could not load file or assembly ‘System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’. The system cannot find the file specified.  
This means that the connection with RobotStudio through SDK was not established. What is the solution for that?  
I appreciate any help!

---

<div class="post-metadata">

**Author:** ![sugumar\_venkatesan](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@sugumar\_venkatesan](https://tech-community.robotics.abb.com/u/sugumar_venkatesan)\
**Post date:** [June 13, 2024, 11:06am UTC](https://tech-community.robotics.abb.com/t/robotstudio-sdk/11295/2 "2024-06-13T11:06:02Z")

</div>

Hi!

I am facing the same issue right now! Could you please let me know if you get any answer for this query.

Thanks!

---

<div class="post-metadata">

**Author:** ![Johannes\_Weiman](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@Johannes\_Weiman](https://tech-community.robotics.abb.com/u/Johannes_Weiman)\
**Post date:** [July 10, 2024, 10:46am UTC](https://tech-community.robotics.abb.com/t/robotstudio-sdk/11295/3 "2024-07-10T10:46:58Z")

</div>

What are you trying to do exactly?
