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:

  • Create a new application pool by going to the ‘Application Pool’ menu in IIS Manager and setting the ‘Identity’ of the new pool to be the Administrator account.
  • Change the application pool for our application to match that new application pool.
  • Go to ‘Computer Management > Local Users and Groups > IIS_WPG’ and add the Administrator as a user of that group.

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.

 

from: http://www.markhneedham.com/blog/2009/06/24/using-fiddler-with-iis/ 

转载于:https://www.cnblogs.com/Langzi127/archive/2012/08/08/2627664.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值