Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Using ADSSecurity.DLL from an ASP.NET web service

Thread Tools

Using ADSSecurity.DLL from an ASP.NET web service

Gilligan Joy
Posts: n/a
Hi all,

I'm trying to obtain a hex string security ID (SID) using ADsSecurity.DLL
from a web service. However, when the ADsSID.SetAs() method is invoked from
within the web service, a "page not found" error is generated in the browser
window. Impersonating using an administrator's account doesn't work.

I can obtain a hex string security ID without any difficulty using
ADsSecurity.DLL from a Windows Forms application running under an
administrator's account.

I have found code on the web for the .NET equivalent for obtaining the hex
string security ID (by using property "objectSID"), but it returns a blank

Any help would be appreciated!

Gilligan Joy

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does timer in Web Service Global.asax block my Web Service from processing web-site requests? Leo Violette ASP .Net Web Services 0 04-17-2009 12:39 AM
'web service call failed: 500' using ajax hovermenu and web service Not Me ASP .Net 1 06-05-2007 03:09 PM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
Calling a Web Service using Axis, from within an Axis Web Service running under Tomcat hocho888 Java 1 04-29-2005 08:26 PM
Web Service that calls an external Web Service Isaias Formacio Serna ASP .Net Security 5 02-02-2004 07:38 AM