"request for the permission of type"

M

magyar.laszlo

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.
 
W

Willy Denoyette [MVP]

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.
 
M

magyar.laszlo

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
 

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

Top