Create a DLL and port the application logic into the Dll.
Now create a COM+ package and run the DLL under Administrator context.
Instantiate the DLL from your ASP page.
This should do the trick!
Main Topics
Browse All TopicsI think this may be more of an Active Directory / ADSI question but I couldn't find an Active Directory area to ask it in !
I've written an asp page to query our active directory - enter first or surname and it returns a results page showing email addresses and extensions. I want the users to be able to update extension numbers - not just their own, but anyone's. The extension number column has the numbers in text boxes with a submit button which calls the edituser.asp page passing to it the DN of the selected user and the extension number in the box.
So far so good !
We have set up a user who has modify rights on the telephoneNumber attribute of all the users. I can get the edituser.asp page to authenticate as this user, and even change it's own telephoneNumber - but i cannot work out how then to get it to modify the telephoneNumber of the user specified by the DN pulled from the requesting form. Just keep getting Access Denied error.
To summarise - the edituser.asp page should authenticate as the telephonemodifier user and then apply the required change to the selecteduser from the previous form.
Any ideas ?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: thunderchicken {http:#8841169}
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
hongjun
EE Cleanup Volunteer
Business Accounts
Answer for Membership
by: thunderchickenPosted on 2003-07-02 at 08:25:30ID: 8841169
This is what is happening:
You are running your ASP Page under your IUSR account. That does not have access to update on the Directory. You'll need admin rights.
You can bypass this by two ways:
#1 - Change the IUSR to admin rights (bad)
#2 - Create a .dll to make the modifications for you, then run the .dll under an admin account