Zero touch deployment (cant find the dlls)

Posted on 2004-11-20
Last Modified: 2008-02-01

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.

please help
Question by:narmi2
    1 Comment
    LVL 12

    Accepted Solution

    DSO Framer is a COM control. It's not a .NET control. Note that the assemblies for interop are just a shim, and not the actual code.
    It will require not only COM registration, as well as some dependent .DLLs (like Crt...)

    You'll need to provide some pre-setup or just copy the DSO dlls, and do regsrv32 on the ocx one. (i think there should be a .ocx one...)

    The next problem is security.
    With the default policies you'll not be able to create the DSO control... (it memory doesn't fail, that should require UnmanagedCode permission or even FullTrust)
    So, you should make sure that the policy in place for the source of the app has the necessary permissions



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Normally a window is moved by clicking on the caption bar and dragging. You may want your user to be able to move borderless forms or move a form by clicking anywhere in the form without the limitation to the caption bar. There are many ways to do i…
    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now