This is a recurring topic, but after reading all over the web I was not
able to find any solutions that worked for me. In a nutshell - no
matter what I do I cannot get any windows form controls to get
displayed in an IE window. This applies to both SDK example under
iesourcing (does not work) and any other samples on the web that are
supposed to display windows forms -
http://www.eggheadcafe.com/articles/20021205.asp has one that I do not
see at all. I have tried it on multiple machines (XP and Server 2003) -
created my own pages, and deployed and redeployed following numerous
15seconds articles on how to do it - none of my computers want to pick
up form controls in IE. I set all permissions to Full Trust for every
kind of site and under Admin Tools made all .NET assemblies work under
Full trust status. So essentially, I think I have gone thru most of
steps that sites out there offer, without any positive results. I have
also went thru the whole signed/gacutil routine (sidenote)
I would appreciate if someone who had this problem before could weight
in on what they have done to fix this problem. My goal at this stage is
simple - go to some random site that has windows forms displayed as
part of the web page and actually see them.
Thanks for any help,
Steve
Jason Hales - 28 Mar 2006 11:24 GMT
Don't know if you've tried this but your user controls assembly must be
in the same folder as your ASPX page. Not in the BIN folder. You
can't use a path in the classid
<OBJECT id="mycontrol1"
classid="MyControl.dll#MyControlNamespace.MyControl"
VIEWASTEXT>
</OBJECT>
Can you confirm using GACUTIL /LDL that the assembly is being download
into the cache?