Hosted Winforms control in Internet Explorer

G

Guest

Hi All,

I've got a WinForms control that I host in IE to allow certain people to
upload a directory structure to my Intranet.

The control is signed, strongly named and the web site it's running from is
Trusted and Trusted sites have been given full permissions in the .Net
configuration tool.

It works perfectly if I only have Framework 1.1 installed, as soon as I
install 2.0 - it stops working entirely, the placeholder on the page never
disappears.

It's the same behaviour that I get when I try and run it from a non-trusted
sites, but I've made sure that it's setup in 1.1 and 2.0

I've tried it on my bosses machine so he doesn't have Visual Studio
installed and it's the same, install 2.0 it stops working, uninstall 2.0 and
it starts working again.

Any ideas please ?
 
G

Guest

Have you tried setting the control to version 1.1 in the app.config? I thing
if 2.0 is installed it is supposed to use the latest version by default and
if may not be able to depending upon what your control is doing.

<?xml version ="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v1.1.4322" />
</startup>
</configuration>
 
G

Guest

Thanks for that, it's the same solution that I was attempting to do also,
the problem is that this control is a .DLL file, and I can't work out how to
make it use a config file like that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top