AppFabric Cache won’t start on boot of Windows 2008 R2

appfabricwindows-server-2008

I have a windows 2008 R2 server using AppFabric caching services to fuel an ASP.NET site.

When I restart the server, the AppFabric caching won't start with it. I have to start it manually. I've checked with the Services and the 3 AppFabric services are set to automatic.

There are sometimes when it will start, but I can't understand when it will start and when it will not. Any Ideas?

Best Answer

Are you using the XML Configuration provider? There's a piece here detailing how there are problems with auto-starting services and XML.

There's an excellent article here about getting round the problems with auto-start with a scheduled task and a bit of Powershell.