# RobotStudio .NET exception: Access is denied.

**URL:** <https://tech-community.robotics.abb.com/t/robotstudio-net-exception-access-is-denied/8034>\
**Category:** Developer Tools\
**Created:** [January 10, 2018, 8:40am UTC](https://tech-community.robotics.abb.com/t/robotstudio-net-exception-access-is-denied/8034 "2018-01-10T08:40:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomHaxley](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/tomhaxley/32/3190_2.png) [@TomHaxley](https://tech-community.robotics.abb.com/u/TomHaxley)\
**Post date:** [January 10, 2018, 8:40am UTC](https://tech-community.robotics.abb.com/t/robotstudio-net-exception-access-is-denied/8034/1 "2018-01-10T08:40:45Z")

</div>

Hi all,  
  
We've been using our IRC5 controller with both robot studio and the PC SDK for about 6 months, every day.  
For some reason, on Friday (5th Jan) we can no longer connect through our application or Robot Studio.  
  
This is the error in Robot Studio&nbsp; (PC SDK doesnt seem to really give much information at all)  
  

RobotStudio .NET exception: Access is denied. (Exception from HRESULT: 0x80070005 (E\_ACCESSDENIED))

============================================

Base exception: UnauthorizedAccessException

Access is denied. (Exception from HRESULT: 0x80070005 (E\_ACCESSDENIED))

&nbsp; &nbsp;at RobotStudio.Services.RobApi.IRobComCtrlServerFactory.CreateRobComCtrlServer(String ipaddr, String systemid, RobCtrlType ctrltype, UInt32 netscanid, Object pUnkNetScan, Guid riid)

&nbsp; &nbsp;at RobotStudio.Services.RobApi.Desktop.RobPlatformDesktop.CreateCommServer(String ipAddress, String systemId, RobCtrlType ctrlType, UInt32 netscanId)

&nbsp; &nbsp;at RobotStudio.Services.RobApi.RobControllerConnection.\<\>c\_\_DisplayClass124\_0.\<Connect\>b\_\_0(TaskCompletionSource`1 tcs, List`1 \_)

&nbsp; &nbsp;at RobotStudio.Services.RobApi.Internal.TaskUtils.\<\>c\_\_DisplayClass0\_0`1.\<Run\>b\_\_0()

--- End of stack trace from previous location where exception was thrown ---

&nbsp; &nbsp;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

&nbsp; &nbsp;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

&nbsp; &nbsp;at ABB.Robotics.RobotStudio.Controllers.ControllerManager.\<AddController\>d\_\_35.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

&nbsp; &nbsp;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

&nbsp; &nbsp;at ABB.Robotics.RobotStudio.Controllers.ControllerManager.\<AddController\>d\_\_35.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

&nbsp; &nbsp;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

&nbsp; &nbsp;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

&nbsp; &nbsp;at RobotStudio.UI.Controller.Commands.ConnectController.\<TryConnect\>d\_\_2.MoveNext()

  

  
We've not changed any configurations of the controller/robot/Application.  
  
Any ideas as currently we cant use our machine

---

<div class="post-metadata">

**Author:** ![TomHaxley](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/tomhaxley/32/3190_2.png) [@TomHaxley](https://tech-community.robotics.abb.com/u/TomHaxley)\
**Post date:** [January 10, 2018, 9:02am UTC](https://tech-community.robotics.abb.com/t/robotstudio-net-exception-access-is-denied/8034/2 "2018-01-10T09:02:27Z")

</div>

Wow this has messed up the formatting!

this can be removed now anyway - it’s due to the latest windows updates as posted by admins on this forum 🙂
