![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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) |
| Guest | 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 | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Validating a signature or file that does not have a signature | Hamo | Vista security | 2 | 12-28-2007 06:19 PM |
| Signature for Windows Mail | DanW9999 | Vista mail | 3 | 11-01-2007 11:49 AM |
| invalid windows key | kciredorr | Vista General | 2 | 10-15-2007 10:47 PM |
| signature verification missing (digital Signature) on the Vista | verify | Vista security | 3 | 07-11-2007 12:38 PM |
| Windows Explorer fails and fails and fails... | Bill | Vista General | 30 | 06-09-2007 10:57 PM |