Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can successfully ping an external IP address from my IIS server when connected via terminal services from a command line.

However, when I set up my web application to do the same thing, the ping fails. The site is running under the context of the anonymous account.

Are there permissions that I need to fix to get the ping to work within the web app?

Update: It does run successfully if I run the web app under the context of an admin account on the machine.

share|improve this question

Most likely a permissions issue. Are you able to easily configure your web app to use a user other an anonymous (even for testing purposes)?

share|improve this answer
Will try this now. – Dave Jul 16 '09 at 20:47
Yes, it worked when running under another account that has admin rights on the IIS machine. – Dave Jul 16 '09 at 20:48
Okay, so its a permissions issue. You're going to have to run your web app as a user that has the appropriate permissions for what you want to do. :-) – KPWINC Jul 17 '09 at 1:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.