Mark Barto's Blog

Technical Blog about the Microsoft .NET Platform and everything that surrounds it such as .Net, C#, BizTalk, WCF, ASP.NET, SQL, Silverlight, IIS ...

WCF, BizTalk: The signature is invalid

Bb226564_ca6b9909-1383-4fc9-afb8-80467ef39c81(en-us,BTS_20) We have generated with the BizTalk WCF Publishing Wizard a WCF Service based on a Metadata only endpoint for a Receive Location. The receive location will be configured as a net-MSMQ transport type.

We have encountered a problem that the message will not be send to the queue but to the dead letter queue with the message "The signature is invalid".

After some investigation we have encountered that the problem exists if you have regenerated the WCF service with the wizard and you do an update service reference in your project.


--

Event Type:    Warning
Event Source:    MSMQ
Event Category:    None
Event ID:    2196
Date:        8-6-2010
Time:        9:38:23
User:        N/A
Computer:    -
Description:
Message Queuing failed to verify digital signature of a message sent to queue machine\qspin. The message was rejected. A negative arrival acknowledgement will be sent if requested by the sender. This event is logged at most once per 600 seconds. To change this setting, set \HKLM\Software\Microsoft\MSMQ\Parameters\Event2196 registry value to desired time in seconds.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


--

We didn't use any security as transport so the error about the signature is invalid is very strange.

The solution was to delete the service reference to this WCF Service and create the service reference again.

When we have done that the problem was solved and we didn't got the above error anymore.

Strange behavior

Posted by Mark on 08-06-2010 Filed under: WCF ,BizTalk



Comments

Commented by lofgmsxme on 29-05-2011
2MOk50 , [url=http://qjwuzxxnlurs.com/]qjwuzxxnlurs[/url], [link=http://kraffzpvdthz.com/]kraffzpvdthz[/link], http://ucuwjeaqrqsw.com/
Commented by Christopher Machine on 14-08-2011
This post is very useful for me, much appreciated! :)
Commented by ukwkpws on 13-05-2011
mYbgKm , [url=http://whyqzjqsrqfp.com/]whyqzjqsrqfp[/url], [link=http://ydvoxttcbqlf.com/]ydvoxttcbqlf[/link], http://epzrjqmufaza.com/
Commented by aluminium composite panels on 25-04-2011
I think youve made some truly interesting points. Not too many people would actually think about this the way you just did. Im really impressed that theres so much about this subject thats been uncovered and you did it so well, with so much class. Good one you, man! Really great stuff here.
Commented by Kayo on 12-05-2011
Walking in the presence of gniats here. Cool thinking all around!
Commented by coeneNumeRomb on 02-06-2011
lart mikid

Leave a comment