Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

NetMsmqBinding fails with Signature Is Invalid on Windows 2003R2

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 03-04-2006   #1 (permalink)
James Saull
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 SpecsSystem Spec
Old 03-04-2006   #2 (permalink)
James Saull
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 SpecsSystem Spec
 

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


Vistax64.com 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 2005-2008

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 47 48 49 50 51