Tengo un servicio WCF alojado en un servicio de Windows que establecí en Automático para que se inicie automáticamente cuando se abre el servidor. El servicio es endpoint respaldado por MSMQ.El servicio WCF respaldado por MSMQ alojado en un servicio de Windows falla al iniciar
Cuando inicio el servicio manualmente, todo está bien. Sin embargo, cuando el servicio se inicia en el arranque, recibo una excepción MSMQ:
System.TypeInitializationException: The type initializer for
'System.ServiceModel.Channels.Msmq' threw an exception. --->
System.ServiceModel.MsmqException: The version check failed with the error:
'The Message Queuing service is not available (-1072824309, 0xc00e000b)'. The
version of MSMQ cannot be detected All operations that are on the queued channel
will fail. Ensure that MSMQ is installed and is available.
at System.ServiceModel.Channels.MsmqQueue.GetMsmqInformation
(Version& version, Boolean& activeDirectoryEnabled)
at System.ServiceModel.Channels.Msmq..cctor()
--- End of inner exception stack trace ---
Parece que el MSMQ no está listo para ser utilizado antes de que comience el servicio ... ¿hay una solución para esto?
gracias! ¡googlear ese mensaje de excepción resultó infructuoso! – puffpio