[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Zero touch deployment (cant find the dlls)

Posted on 2004-11-20
1
Medium Priority
?
332 Views
Last Modified: 2008-02-01
Hi

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
0
Comment
Question by:narmi2
1 Comment
 
LVL 12

Accepted Solution

by:
vascov earned 2000 total points
ID: 12692724
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

hth

Vasco
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month18 days, 16 hours left to enroll

834 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