472,330 Members | 1,367 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,330 software developers and data experts.

"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 1944
<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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Yitzhak | last post by:
I am having "Permission denied" error while calling LogEvent method of WScript.Shell component. Basically, ASP page calls Windows Script Host Shell...
1
by: Matt | last post by:
If we use GET protocol, we can use either Request("controlname") or Request.QueryString("controlname") to get the data entered by the user. But if...
5
by: Dani | last post by:
Hello everybody, I have some code that disables form elements on body load, but I notice when I hit the "back" button, I need to re-enable the...
3
by: FD | last post by:
A COM was used in VBscript and worked fine. Now I try to use C# to call it with following code: Type myType = Type.GetTypeFromProgID("MyProgID");...
0
by: ElGordo | last post by:
I have a routine which opens a command shell and runs an executable. This all worked fine until recently, and I noticed that each time the...
1
by: Charlie | last post by:
I am trying to make an XMLHttpRequest which violates the default "same- origin"policy in Firefox. I checked the archives and found a method that...
2
by: rico.fabrini | last post by:
Hello Everyone, I've suddenly started running into the error "error executing child request for Page.aspx" when doing a...
7
by: sami | last post by:
Hi I am trying to write a facebook application in python - I have been programming simple desktop applications till now and am not really...
1
FLEB
by: FLEB | last post by:
Something in my gut tells me this is an FAQ, but my furious Googling thus-far hasn't found the answer (Biggest problem? The terms I'm looking for are...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.