I have a winform on a server which normally holds .net .exes ready for zero touch deployment. It normally allows me to copy the required dll into the same deployment directory on the web server. The zero touch deploy normally works fine.
However, for some reason it didnt work with DSO ActiveX Document Framer Control. This ActiveX has two dlls which are needed to run my application.
If i double click on my application from windows explorer which the two dlls are in the same directory the program works fine. But it will not work when i try to zero touch deploy?
The error message i get is below
IEEExec.exe - Common Lauguage RUntime Debugging Services
Application has generated an exception that could not be handled
Process id=0,560(1376), Thread id=0x708(1800)
If I press cancel I get the next error message
Microsoft CLR Debugger
An unhandled exception of type 'System.Threading.ThreadStateException' occurred in mscorlib.dll
Additional information: Could not instantiate ActiveX control '00460182-9e5e-11d5-b7c8-b8269041dd57' because the current thread is not in a single-threaded apartment.