#133 Working with watin from within asp.net server

open
nobody
None
5
2012-09-15
2011-03-21
Anonymous
No

I'm trying to use watin from my web server and keep getting the exception where the current thread must be in the STA ApartmentState.

I tried tried to create a new thread in that apartment and invoking it but i'm getting different exceptions.
The only way i found is to create a console application (running in STA AppartmentState) and starting a new process with the console's executable from my web server.

Any idea how i can use Watin from inside my asp.net web server ?

Discussion