I have a Windows Server 2012 running IIS 8.0 Behind an Azure load balanced endpoint
I have 2 web sites, one hosts WCF-WF services and the other hosts a Web.API application
the errors reference the first project that hosts the ECF-WF Services.
All of a sudden one day the server started throwing these exceptions:
The exceptions say:
All of them say the same thing, Could not locate binding information for the site xxx and application /
This continued to happen for 3 hours every minute or so. Eventually IIS shut down the AppPool.
I just happened to check the logs and noticed this was happening, my traffic would come in, hit the load balancer and once in awhile get transferred to this server where it would give a Service unavailable error because the app pool was stopped. So the app worked some of the time, not all the time which is why it went unnoticed.
I wish there was a way to get notified if something fails like that via SMS or something!
Anyways, I restarted the App Pool and the app is running fine. I don't know what caused this problem though so I am constantly worried this will just happen again. What can I do to prevent this from happening in the future?
Should I change the App.Pool's shutdown criteria? or something else?
Thanks