June 14, 2006

The server committed a protocol violation

Skype nearly got me into screaming this night. I was debugging an ASP.NET 2.0 problem and at some time the IIS started to behave very strange. The debugging in Visual Studio failed with error “Unable to start debugging on the web server. The server committed a protocol violation. Section=ResponseStatusLine” and any attempt to load a page from the local IIS server returned an empty page even for those that did not exist :). At some time (couple of hours lost) I saw in the IIS Management Console that the web site was not running at all. When I tried to start it I got the error “Unexpected Error 0x8ffe2740 Occurred” and the long awaited event log entry (there was no entry at the time I tried to start the web site) – Event ID: 115 Description: “The service could not bind instance 1.”. A quick google showed that this error is due to already opened port 80 and the web server just could not open and use that port. Indeed netstat –a showed that port 80 is already opened but there was no way to see who was using it. This is where TCPView, marvelous tool from Sysinternals, helped a lot (Update: I just found that netstat –b would display the owning processes of each connection.). There was Skype listening on port 80, obviously taken ownership of the socket during the number of restarts when I was debugging. How stupid is that?
Attention to all web developers who are using Skype! Make sure to uncheck the option for using port 80 and 443 from Tools\Options\Connection dialog.

30 comments:

yiannisezn said...

Thanks,
That worked for me.
Although this is an old post, it is the only one that had a valid solution.

Michael Richardson said...

THANK YOU! Skype is forever getting on my nerves. Too bad it's so popular.

Vlad Milyutin said...

Thank you very much. post very helpful. is not the first time this.

mauro said...

Thank you, very helpful!

Anonymous said...

Que bien, muy util... (y)

Niven Sookharan said...

Thank you.... worked great saved me a good few restarts.

Лео МС said...

Thank you!

Ricardo said...
This comment has been removed by the author.
Ricardo said...

Congratulation!! it Helped my alot ^^

AK said...

Thank You Martin.
Save me atleast an hour or two.
Great tip.

Anonymous said...

Thanks a lot!!

Anonymous said...

Netstat showed an app called skypekit.exe running even after uninstall and reboot. Closed it in task manager and the web site started in IIS. thanks for the post!

Dallas Web Design said...

This is so cool..thanks so much for the info. Love it!

Vasile said...

Thanks!

Nurhak KAYA said...

Thanks mate!

Accredited GED Online said...

Really important written content. the information that you shown is hard to faith and many superbly i liked the way you afford things here.

deky ardita said...

I was very impressed with the blogs that you create , thank you for sharing with us .
tas branded murah

deky ardita said...

nice blog, I like to read and I It will not hesitate to visit this site again
Financialnewss.com
|www.lagingetren.com

KAK DECO said...

This comment has been removed by the author.Jam Tangan Online Murah

Candra Gunwanto said...

Things are very open and intensely clear explanation of issues. was truly information. Your website is very beneficial.
http://www.jamtangan-murah.net

Azam Zami said...

Your article is very interesting and informative. I very like it a lot. You have done fantastic job. Thanks for sharing post
harga tas wanita

suci alinda said...

I do not know how to thank you but already the subject deserves thanks and respect
Thank you Will allow me to put some links to my website
http://jualjamtanganonline.net

cantika said...

Thank you very much.
tas wanita branded
http://sehatdokter.com

babay uyut said...



Elektronik Blog blog merupakan buah. Buah
manggis memiliki baca Artikelnya dan dagingnya yang Pengobatan Sindrom serta rasanya yang sangat segar, Sumber ini Sehingga banyak orang-orang , klik di sini Selengkapnya yang menggemari buah manggis, Obat Hamil Anggur tersebut. sumber
ini merupakan buah yang menyegarkan bagi tubuh bayi bocor karena memiliki sumber
kadar air yang banyak. Manggis merupakan buah tropis.anak Buah, Kulit, Ranting dan
Kulit kayu manggis ini dapat digunakan sebagai obat hamil anggur Setelah di teliti secara Obat Buang Air Besar Secara Ampuh lebih lanjut mengenai buah manggis,bayi memang buah manggis di balita

babay uyut said...


ini sangat bermanfaat bagi kesehatan, Obat Tradisional tekanan Darah Tinggi Hal ini sudah sangat populer di amerika nefrotik dan di eropa.obat herbal tetanus Dinyatakan Bahwa buah manggis ini sangat laris anggur dan dijual dalam
bentuk sediaan jus.Info resmi kami

kami menawarkan terbak Jus manggis ini jantung menjadi sebuah jus Untuk Kesehatan
yang sering dikonsumsi oleh masyarakat sindrom amerika serikat terkadang di
kombinasikan dengan anggur jus baca
ini gan
lainya. Seorang ahli obat tradisional di amerika Kandungan Buah Durian serikat mengatakan jus manggis ini bukan hanya rasanya
saja Blog Segala Penyakit yang nikmat ternyata
banyak khasiat yang di peroleh dari Manfaat Jus mAnggis ini untuk Gudang kesehatan.
Diantaranya dapat Mengurangi bocor Peradangan. sumber

babay uyut said...


Kami menyediakan Panduan pemberian Makanan gamat gel yang digunakan sebagai topical / dioleskan
di bagian luar tubuh obat Herbal kaligata namun dapat juga digunakan untuk mengatasi sariawan atau luka
pada daerah genital / kelamin & luka gangrene diabetes. Sumber Kami
Gamat gel akan mempercepat proses pengeringan luka cara cepat mengobati asam lambung, menghilangkan bau pada luka diabetes, dan Baca Blog ini dengan seksama membantu memulihkan luka selepas bersalin. Konsumsijely gamat sekaligus menggunakan gamat gel akan membantu obat herbal polip hidung / mempercepat pemulihan luka

Bolehkah meminum jely gamat dengan mencampurnya dengan jus buah atau air kunjungi website Kami Selengkapnya?

Bahan dasar jely gamat adalah ektrak info resmi Blog kami, tanpa penambahan jelly gamat
bahan kimiawi yang membahayakan. Namun meskipun demikian konsumsi jely gamat
yang sesuai dengan kebutuhan tetap kami sarankan.Cara mengobati Epilepsi

1146.45.401.Obat Asam lambungTestimonial apa saja yang sudah ada berkaitan dengan produk jely gamat ? Obat panu

gamat. testimony luxor, kliping Trubus ataupun dengan
mengunjungi bagian koleksi video testimony Obat Penyakit Lambung

Abhinav Kumar said...

Thanks for post this helpful post - Please visit for More information about -
Packers and Movers Pune
Packers and Movers in Pune

Abhinav Kumar said...

Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write
Packers and Movers in Hyderabad
Packers and Movers in Bangalore
Packers and Movers in Pune
Packers and Movers in Mumbai
Packers and Movers in Delhi
Packers and Movers in Gurgaon

sohan ku said...
This comment has been removed by the author.
sohan ku said...

Faridabad Packers and Movers
Ghaziabad Packers and Movers
Noida Packers and Movers
Delhi Packers and Movers