Problems with Windows Control and Asp.net

G

Guest

Hi,

I'm creating an ASP.NET 2.0 application that must have a Windows Control
into.

I created a very simple Windows Control Library, a hello world example,
compiled the dll, putted it in the same directory of my asp.net application
and in my asp.net application i've the following code:

<OBJECT id='myObject' height='100%' width='100%'
classid='http:myObject.dll#defaultNameSpace.ClassName' VIEWASTEXT> </OBJECT>

And when i run it, a big empty box appears without the Windows Control.

Any idea?
Thanks in advance.
 
G

Guest

You will probably need to set CAS policy on this object to trust the URL to
the assembly. You can use the Control Panel applet for this. Also, the site
will need to be in your Trusted Sites in IE.
Peter
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top