I am having this exact same problem Markus - have you located a solution
yet? Anyone from Microsoft help out here?
I have tried a number of things:
- I have tried COM interop with the P3Admin interface which works great for
retrieving information about anything in the system, but nothing works that
requires modification (ie: creating a domain, mailbox, or changing password)
Gives the same Access is Denied errors for both P3Admin via COM or
Process.Start on WINPOP.
- In a virtual machine, I added Everyone full control to C:\ drive and all
subfolders (with the reset child objects option)
- In the same virtual machine, I added Everyone full control to each
registry hive starting at the root.
- In the same exact web, I used the P3Admin interface with classic ASP (ala
how the Server Appliance administrator works - no problems here!)
- In the same web using ASP.NET, I used Process.Start on "net.exe help" and
was able to see the StandardOutput, so starting of processes itself is not
the problem.
- Amazingly enough, anything involving this WINPOP.EXE gets Access is
Denied - "winpop.exe list" got an Access is Denied.
- Like you, I've twiddled with identity impersonate="tr ue" and it doesn't
seem to matter.
--Chris
"Markus Hopfenspirger" <Ma************ *****@discussio ns.microsoft.co m> wrote
in message news:D5******** *************** ***********@mic rosoft.com...
Hello,
I want to call a Command like
winpop add username@domain name /createuser: password
From a normal .Net Windows Application this is working without a problem.
The same code called from a ASP Net Application or a Windows Service
Application is not executed. Also if I do an impersonation to a local
admin
account before executing the Code.
(It makes no difference if I use shell or Prozess.start to execute the
command.)
Any suggesstions?
Greetings from Germany
Markus