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

Members online

No members online now.

Forum statistics

Threads
474,433
Messages
2,571,683
Members
48,796
Latest member
Greg L.

Latest Threads

Top