Cassini service keeps crashing

frosty1 used Ask the Experts™
I'm running XP home which doesn't support IIS. Therefore i'm running Cassini.

It usually works well. How ever i've notice in the last 2 weeks it crashes. I'm guessing there is some conflict. Perhaps something i've installed recently tho i can't work out what.

How can i work what is conflicting, also i've read about running it on a different port that 80. How would i set this up? Or maybe it's something else?

##### error 1 ######
Exception in Cassini web application [11692, "CWS"].
System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at Cassini.Server.Start()
   at CassiniService.Service1.WebAppEntry.Start()
For more information, see Help and Support Center at 
##### error 2 ################
Faulting application ultidevcassinwebserver2a.exe, version, stamp 45caafc1, faulting module kernel32.dll, version 5.1.2600.5781, stamp 49c4f482, debug? 0, fault address 0x00012afb.

Open in new window

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Possible that your port is locked(I mean used by one resource) and is not releasing it.
Download TCPView tool and see which application is using this port


thanks, useful tool. Though i'm not sure how to interupt the results. See attached. This is taken after it crashes.

The website i was running was http://localhost:43469/



I've attached the TCP view when cassini is running,
are you doing some socket programming.Is it possible to paste the code


Hi, no actually i'm just doing run of the mill web dev. basic websites that run mssql.

So what is happening is that every few hours cassini stops working. Actually the service is still running but i can get to any of my sites or the cassini control page.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial