title: ASP.NET WCF Service error "The calling thread must be STA, because many UI components require this. "?
body: <p>I have some window workflows which use some .net assemblies. I am accessing some hardware from these workflow windows. My XYZ services which are being published on IIS through virtual directory method help this all.
  Now I want to consume these workflows from my .Net web Application. I made a wcf service and a web client. my wcf service (on web client request) load the workflows (Success) and try to Execute.</p>
  
  <p>The Problem is when I Call the execution of the loaded workflow, It gives the exception <strong>"The calling thread must be STA, because many UI components require this."</strong> </p>