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 ?

RE: Hosted Winforms control in Internet Explorer by tjfdownsouth

tjfdownsouth
Thu Nov 17 09:00:10 CST 2005

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>



"Russ C." wrote:

> 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 ?

RE: Hosted Winforms control in Internet Explorer by RussC

RussC
Mon Nov 21 04:09:02 CST 2005

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.

"tjfdownsouth" wrote:

> 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>
>