Fiddler does not work with Internet Explorer 7 ?

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

If you already have installed Internet Explorer 7 and during WebApp development you use Fiddler, you have probably noticed, that the Fiddler does not react (more) on any request related to your ASP.NET application.

 

This is because the IE does not route local machine requests tha same way as it was done in the previous versions of IE.

 

Hmmm, this is not so fine. To solve the problem, it could be possible to use some other name than “localhost”. Unfortunately, the build-in web server (cassini) does not allow you to use any other name as the host name. And this is not so fine.

 

Fortunately, there is very simple workaround. For example, assume your WebApp usually starts with following request: http://localhost:1234/VirtFolder/MyWebApp

To make it working, start the application as usual (Fiddler does not track the request) and change the request as shown bellow:

 

http://localhost.:1234/VirtFolder/MyWebApp

 

Note that the localhost ends with dot “.”. If the application use forms authentication you will have to logon again.


Posted Nov 20 2006, 05:28 PM by Damir Dobric

Comments

Mike Ormond's WebLog wrote Having Trouble Getting Fiddler to Work with Cassini
on 01-31-2007 17:17

Yep, I couldn't get Fiddler to register anything when using the VS built-in web server earlier today

Rick Strahl wrote re: Fiddler does not work with Internet Explorer 7 ?
on 02-01-2007 0:21

I tend to use the NETBIOS name when running through Fiddler. Of course that doesn't work so well for the built-in Web server.

Incidentally the . at the end explains one of the mysteries I have with FireFox showing up with localhost. domain names that fry cookies.

http://www.west-wind.com/weblog/posts/10435.aspx

andrew price wrote re: Fiddler does not work with Internet Explorer 7 ?
on 08-10-2007 9:50

Thanks that worked for me, i have an ASP.NET project running in VS2003 and Fiddler totally ignored the request in IE7.

Adding the DOT made it work

Thanks very much !!

John Pick wrote re: Fiddler does not work with Internet Explorer 7 ?
on 11-08-2007 0:44

It didn't work for me. Fiddler replied:

HTTP/1.1 502 Fiddler - Connection Failed

Content-Type: text/html

Connection: close

Timestamp: 15:40:34:1580

[Fiddler] Connection to localhost. failed.<BR>Exception Text: No connection could be made because the target machine actively refused it

John Pick wrote re: Fiddler does not work with Internet Explorer 7 ?
on 11-08-2007 1:13

Though http://localhost.:1234/ didn't work for me, the following did:

http://127.0.0.1.:1234/

Notice the period after the 1. That made all the difference.

David Padbury wrote re: Fiddler does not work with Internet Explorer 7 ?
on 11-28-2007 23:12

Thank you Damir  and John, localhost. failed to work for me as well where as 127.0.0.1. did.

Chris Brandsma wrote re: Fiddler does not work with Internet Explorer 7 ?
on 12-20-2007 22:07

Interesting, works with IE, but not with Firefox.

But at least it works IE, so thank you.

EricLaw [MSFT] wrote re: Fiddler does not work with Internet Explorer 7 ?
on 01-03-2008 18:44

You shouldn't need this workaround in Firefox in general.

The reason that using the 127.0.0.1. address works and Localhost doesn't is most likely that you're on Vista.  The Cassini server only listens on the IPv4 address, but on Vista, Localhost maps by default to IPv6, where Cassini isn't listening.

TangibleThoughts wrote Fiddler not working with ASP.NET Development Server
on 01-29-2008 13:32

Yes, I ran into the above mentioned issue. The solution is that fiddler does not catch url that go by...

The Wolf wrote re: Fiddler does not work with Internet Explorer 7 ?
on 01-29-2008 19:34

I am using WinXP with IE7 and while using Fiddler with Cassini, I kept on getting the error "[Fiddler] Connection to localhost. failed.<BR>Exception Text: No connection could be made because the target machine actively refused it".  Then I remembered an article I read.....  geeks.ms/.../fiddler-no-connection-could-be-made-because-the-target-machine-actively-refused-it.aspx.  

Turn off the "Enable IPv6" in Fiddler, and voila! it works!

phani wrote re: Fiddler does not work with Internet Explorer 7 ?
on 06-11-2008 2:00

Thanks Wolf,

After opening fiddler tool,

goto Tools menu --> Fidder Options, "Enable IPV6" found..

rüya tabiri wrote re: Fiddler does not work with Internet Explorer 7 ?
on 09-06-2008 6:46

Thanks very much !!

shabbirbasha wrote re: Fiddler does not work with Internet Explorer 7 ?
on 12-11-2010 16:14

thank you

shabbir wrote re: Fiddler does not work with Internet Explorer 7 ?
on 12-12-2010 1:38

thankyou

Vishy wrote re: Fiddler does not work with Internet Explorer 7 ?
on 08-24-2012 12:27

Wow! Thank you Damir. It works. :)

Having Trouble Getting Fiddler to Work with Cassini | Mike Ormond's Blog wrote Having Trouble Getting Fiddler to Work with Cassini | Mike Ormond&#039;s Blog
on 03-16-2016 18:15

Pingback from  Having Trouble Getting Fiddler to Work with Cassini | Mike Ormond's Blog

developers.de is a .Net Community Blog powered by daenet GmbH.