Hosting WinForm control loacted on different Web Server than the ASP.net application

H

Hercules Dev.

hi all,

I developed a winform control and succeeded in hosting it in my ASP.Net
application, I used the default way which is installing my winform
control in the same directory of my ASP.Net application and referencing
it in my code this way:

<object id="_container_OBJECT" width="100%" height="98%"
classid="http:somefolder/MyControl.dll#Namesapace.ControlCalss">

But it fails to load the control when I try to reference the control
using full web address like this:

<object id="_container_OBJECT" width="100%" height="98%"
classid="http://myserver/virtualdirectory/somefolder/MyControl.dll#Namesapace.ControlCalss">

I can't find the problem, let's say that I want to reference a
winform control located on a different web server for example, is this
possible and how?
 
H

Hercules Dev.

damn it!!!

i finally found it, have anyone ever know that the classid attribute
has a limit!!!

when i use a full address the classid value will be too long and for
some reason the IE don't accept it and it won't load the control.
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top