Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - NetMsmqBinding fails with Signature Is Invalid on Windows 2003R2

 
 
Old 03-04-2006   #1 (permalink)
James Saull


 
 

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 SpecsSystem Spec
Old 03-04-2006   #2 (permalink)
James Saull


 
 

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 SpecsSystem Spec
 

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46