473,421 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,421 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 2034
<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 component to log events to the OS Application...
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 we use POST protocol, we MUST use...
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 form elements (that is done by clicking on a radial...
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"); object myObj = Activator.CreateInstance(myType);...
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 statement is run, an event is logged in the event viewer...
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 should work but it does not. Below is the test code...
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 Server.Transfer("Page.aspx"); That's on a Win2003 Server machine. ...
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 familiar with web apps Pyfacebook is the wrapper for...
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 in the license itself. Search, and... get... 50...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.