Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.