468,765 Members | 802 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

"request for the permission of type"

Hi !

I have an activex .net dll in a webpage. This activeX is trying to
connect to an LDAP server using System.DirectoryServices.
Unfortunatelly it gets always "request for the permission of type"
error.

If I give full trust at the .net config tool it is working fine.

Is there any way to avoid this client .net confoguration?
Any kind of signature, or something that makes my ActiveX full trust,
and let it communicate with an LDAP server.

Thanks in advance.

Mar 8 '07 #1
2 1799
<ma***********@gmail.comwrote in message
news:11**********************@v33g2000cwv.googlegr oups.com...
Hi !

I have an activex .net dll in a webpage. This activeX is trying to
connect to an LDAP server using System.DirectoryServices.
Unfortunatelly it gets always "request for the permission of type"
error.

If I give full trust at the .net config tool it is working fine.

Is there any way to avoid this client .net confoguration?
Any kind of signature, or something that makes my ActiveX full trust,
and let it communicate with an LDAP server.

Thanks in advance.

What do you mean with an Activex .net dll in a webpage? Note that such thing like an activex
..net dll doesn't even exist.
Do you mean you have a .NET "Webcontrol", that is trying to access the directory from the
client browser?

Willy.
Mar 8 '07 #2
On Mar 8, 6:15 pm, "Willy Denoyette [MVP]"
<willy.denoye...@telenet.bewrote:
<magyar.las...@gmail.comwrote in message

news:11**********************@v33g2000cwv.googlegr oups.com...
Hi !
I have an activex .net dll in a webpage. This activeX is trying to
connect to an LDAP server using System.DirectoryServices.
Unfortunatelly it gets always "request for the permission of type"
error.
If I give full trust at the .net config tool it is working fine.
Is there any way to avoid this client .net confoguration?
Any kind of signature, or something that makes my ActiveX full trust,
and let it communicate with an LDAP server.
Thanks in advance.

What do you mean with an Activex .net dll in a webpage? Note that such thing like an activex
.net dll doesn't even exist.
Do you mean you have a .NET "Webcontrol", that is trying to access the directory from the
client browser?

Willy.
Hi

This control is a simple windows controll library. And it is bulit in
the webpage.
(I write ActiveX because for me it is really similar to ActiveX)

And this webcontrol is trying to access the directory server from the
client borwser.

If I give full trust in the .Net configuration tool. than it works
fine.

I would like to know, how can I avoid this .Net configuration tool. Is
there any way, maybe installing this activex, or signing it.

Thanks
Mar 9 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.