Control asp.net app from other asp.net app

H

Headless Rider

Hello,

I'd write admin application whitch stops other asp.net
application by ADSI (on the same machine):

DirectoryEntry deApp = new DirectoryEntry
("IIS://localhost/W3SVC/1/Root/My_Other_App");
deApp.Invoke("AppDelete", true);

The result is of course Access Denied. What I must set up
or how to autenticate/authorize/impersonate to the admin
app to obtain right access for this action?

Thanks for help, HlR.
 

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

Staff online

Members online

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top