· software-development fiddler

Using Fiddler with IIS

We’ve been using Fiddler to debug the requests and responses sent via web services to a service layer our application interacts with and it works pretty well when you run the application using Cassini but by default won’t work when you run the website through IIS.

The key to this as one of my colleagues (who gives credit to Erik) showed me today is to ensure that IIS is running under the same user that Fiddler is running under which in our case is the ‘Administrator’ account.

The default user for IIS is ‘Network Service’ but as far as I’m aware you can’t actually launch an application such as Fiddler from that account.

We therefore changed IIS to run under the ‘Administrator’ account on local development machines since this is where we typically use Fiddler.

To do this we need to:

Fiddler should now capture requests/responses!

I’m not sure running IIS as the Administrator account is such a great idea although it’s only on the local development environment so maybe it’s a reasonable trade off for the benefits we get from being able to debug web service communication.

  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket