Lawrence Avery
asked on
AlReadyInUseException
I am confused on the AlreadyInUseException. We have several applications on a website using port 80 and that works.
How does a AlreadyInUseException happen? Is it only with WCF service application?
How does a AlreadyInUseException happen? Is it only with WCF service application?
ASKER
I am using .NET 4.0.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
After reading articles on http headers
Host headers
https://technet.microsoft.com/en-us/library/cc753195(v=ws.10).aspx
This is what I was looking for.
Host headers
https://technet.microsoft.com/en-us/library/cc753195(v=ws.10).aspx
This is what I was looking for.
Are you using framework 4.5?
If so, as I understand it, default NetTcpBinding settings for framework 4.0 when using listenBackLog and MaxConnections were 10* ProcessorCount.
However, in 4.5, these defaults were revised as 12.
So in 4.5, the defaults were still being computed as 10* processCount as opposed to 12*processCount.
To correct this, you will have to go to your config file and remove listenBackLog and MaxConnections settings.
This forces it to compute at the correct number which is 12 and should fix the problem.