Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cannot execute dnscmd /RecordAdd: Command failed: ERROR_ACCESS_DENIED 5 (00000005)

140 views
Skip to first unread message

andreas.pf...@gmail.com

unread,
Nov 26, 2012, 10:53:57 AM11/26/12
to
Hi everybody,

I'm developping an IP address mgmnt website in Perl. In order to get DNS entries added and deleted I try to execute dnscmd.exe with the corresponding parameters. IIS 6.0 does Windows autentication and the application pool runs as network service. Execute permissions is set to "Scripts and executables".

While logged in with my AD credentials the command executes and does his job. Whe executed on IIS I get an error message "ERROR_ACCESS_DENIED 5 (00000005)" which means IIS does not really run with my credentials despite the fact that pass-through authentication ist configured. Executing "whoami" instead of dnscmd.exe shows me my login information.

Does IIS cutoff some of my privileges when executing program files? How can I prevent this?

Thanks in advance
Andi
0 new messages