![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | NetMsmqBinding fails with Signature Is Invalid on Windows 2003R2 Using the latest available Windows SDK and WinFx RTCs as of 10th Jan 2006. Created a very simple Service, hosted in a console Application. Created a very simple client console application. Got everything working using BasicHttpBinding and using Svcutil to create the config file. Then modified host to advertise MSMQ end point instead by changing the binding of the endpoint to netMsmqBinding and the address to net.msmq://localhost/private/propagationin. I then pointed SVCUTIL at the same base URI of the host but it magically created the a different configuration file where I have changed the authentication mode and protection level to None because the Windows Server R2 machine is not part of a domain. The client can send the message very quickly but the message ends up in the transaction dead letter queue with "The signature is invalid". Any ideas how to modify the config file to work?! Any checks I should be doing? I am trying to live the dream by establishing a working service/consumer, change the config files to use a different address/binding and have it work perfectly! Client config file: <client> <endpoint address="net.msmq://localhost/private/PropagationIn" bindingConfiguration="NetMsmqBinding_IPropagate" binding="customBinding" contract="IPropagate" name="PropagationEndPoint"/> </client> <bindings> <customBinding> <binding name="NetMsmqBinding_IPropagate"> <binaryMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" /> <msmqTransport manualAddressing="false" maxBufferPoolSize="524288" maxMessageSize="65536" deadLetterQueue="net.msmq://localhost/System$;DEADXACT" durable="true" exactlyOnce="true" maxImmediateRetries="5" maxRetryCycles="2147483647" poisonMessageHandling="EnabledIfSupported" rejectAfterLastRetry="false" retryCycleDelay="00:10:00" timeToLive="1.00:00:00" useSourceJournal="false" useMsmqTracing="false" maxPoolSize="8" convertAddressUsingActiveDirectory="false"> <msmqTransportSecurity msmqAuthenticationMode="None" msmqEncryptionAlgorithm="RC4Stream" msmqProtectionLevel="None" msmqSecureHashAlgorithm="SHA1" /> </msmqTransport> </binding> </customBinding> </bindings> |
My System Specs![]() |
| | #2 (permalink) |
| | RE: NetMsmqBinding fails with Signature Is Invalid on Windows 2003R2 Because the VM was not running in a domain I set the msmqAuthenticationMode to None as well as the protection level. However I had failed to create the MSMQ queue with the "Authenticated" option turned off! Doh. "James Saull" wrote: > Using the latest available Windows SDK and WinFx RTCs as of 10th Jan 2006. > > Created a very simple Service, hosted in a console Application. Created a > very simple client console application. Got everything working using > BasicHttpBinding and using Svcutil to create the config file. > > Then modified host to advertise MSMQ end point instead by changing the > binding of the endpoint to netMsmqBinding and the address to > net.msmq://localhost/private/propagationin. > > I then pointed SVCUTIL at the same base URI of the host but it magically > created the a different configuration file where I have changed the > authentication mode and protection level to None because the Windows Server > R2 machine is not part of a domain. The client can send the message very > quickly but the message ends up in the transaction dead letter queue with > "The signature is invalid". > > Any ideas how to modify the config file to work?! Any checks I should be > doing? I am trying to live the dream by establishing a working > service/consumer, change the config files to use a different address/binding > and have it work perfectly! > > Client config file: > > <client> > <endpoint address="net.msmq://localhost/private/PropagationIn" > bindingConfiguration="NetMsmqBinding_IPropagate" > binding="customBinding" > contract="IPropagate" name="PropagationEndPoint"/> > </client> > <bindings> > <customBinding> > <binding name="NetMsmqBinding_IPropagate"> > <binaryMessageEncoding maxReadPoolSize="64" > maxWritePoolSize="16" /> > <msmqTransport manualAddressing="false" maxBufferPoolSize="524288" > maxMessageSize="65536" > deadLetterQueue="net.msmq://localhost/System$;DEADXACT" > durable="true" exactlyOnce="true" maxImmediateRetries="5" > maxRetryCycles="2147483647" > poisonMessageHandling="EnabledIfSupported" > rejectAfterLastRetry="false" > retryCycleDelay="00:10:00" timeToLive="1.00:00:00" > useSourceJournal="false" useMsmqTracing="false" > maxPoolSize="8" > convertAddressUsingActiveDirectory="false"> > <msmqTransportSecurity msmqAuthenticationMode="None" > msmqEncryptionAlgorithm="RC4Stream" > msmqProtectionLevel="None" > msmqSecureHashAlgorithm="SHA1" /> > </msmqTransport> > </binding> > </customBinding> > </bindings> > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Windows Mail signature | Live Mail | |||
| Validating a signature or file that does not have a signature | Vista security | |||
| invalid windows key | Vista General | |||
| signature verification missing (digital Signature) on the Vista | Vista security | |||
| Windows Explorer fails and fails and fails... | Vista General | |||