I have weird problem with web role not starting and recycling continuously after upgrading to osFamily 3 (Windows Server 2012). After number of hours of the research and discovered that a service reference with WS2007FederationHttpBinding does not allow the web role to start, so if I remove that from web.config all works fine with Win 2012.
The weird thing is that if I change the osFamily to 2 (Windows 2008 R2) with service reference, there is no problem it starts fine.
Here is the WS2007FederationHttpBinding config details.
<system.serviceModel><bindings><ws2007FederationHttpBinding><binding name="WS2007FederationHttpBinding_IOpenSpaceCallbackService"><security mode="TransportWithMessageCredential"><message establishSecurityContext="false"><issuer address="http://schemas.microsoft.com/2005/12/ServiceModel/Addressing/Anonymous" /><issuerMetadata address="https://xx/issue/wstrust/message/username/mex" /><tokenRequestParameters><trust:SecondaryParameters xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512"><trust:KeyType xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://docs.oasis-open.org/ws-sx/ws-trust/200512/SymmetricKey</trust:KeyType><trust:KeySize xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">256</trust:KeySize><trust:KeyWrapAlgorithm xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p</trust:KeyWrapAlgorithm><trust:EncryptWith xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://www.w3.org/2001/04/xmlenc#aes256-cbc</trust:EncryptWith><trust:SignWith xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://www.w3.org/2000/09/xmldsig#hmac-sha1</trust:SignWith><trust:CanonicalizationAlgorithm xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://www.w3.org/2001/10/xml-exc-c14n#</trust:CanonicalizationAlgorithm><trust:EncryptionAlgorithm xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://www.w3.org/2001/04/xmlenc#aes256-cbc</trust:EncryptionAlgorithm></trust:SecondaryParameters></tokenRequestParameters></message></security></binding></ws2007FederationHttpBinding></bindings><client><endpoint address="https://xx/sprinttest/OpenSpaceCallbackService.svc" binding="ws2007FederationHttpBinding" bindingConfiguration="WS2007FederationHttpBinding_IOpenSpaceCallbackService" contract="ServiceReference2.IOpenSpaceCallbackService" name="WS2007FederationHttpBinding_IOpenSpaceCallbackService" /></client></system.serviceModel>
Any help will be appreciated.
Bhavesh