| re: COM Interop messes with IE hosted windows forms control
Steve Lutz wrote:[color=blue]
> I would think that there is a problem with the COM references then.[/color]
The user[color=blue]
> control cannot load the DLL, so it "bombs" and doesn't display[/color]
anything. Is[color=blue]
> the ASP.NET site compiled? Does the site have access to the COM .DLL[/color]
file[color=blue]
> when it tries to load the page? Have you attempted to walk through a[/color]
page[color=blue]
> load with the debugger?[/color]
I am sure there is nothing wrong with finding the references. I have
tlbimp'ed the original COM tlb and linked my .NET application with it.
In fact the windows forms control, the tlbimp'ed dll and a .manifest
file are all in the same directory (\inetpub\wwwroot). As I said, when
I look at fuslogvw, I can see the DLLs getting loaded properly. Its
just that the control doesn't render itself on the web page. It
_could_ be because I am making calls to unmanaged code in the control's
ctor and the control is not given access to call unmanaged code. The
thing is I don't understand how to set this permission.
Some help would be greatly appreciated. |