Hi all,
I was asked to post this in the WCF forum, so here you are.
I have an application that was build for .NET1.1, which uses MessageQueues. Since upgrading to .NET 2.0, I get a NullReferenceException from System.Messaging:
at System.Messaging.MessageQueue.MQCacheableInfo.Dispose(Boolean disposing)
at System.Messaging.MessageQueue.MQCacheableInfo.Finalize()
I already posted this at:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=748806&SiteID=1
and some time ago at
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=369114&SiteID=1
I can't find a solution to get rid of this exception and I can't catch it :-(
Any help appreciated!
Best Regards
Bernd Ritter

NullReferenceException in System.Messaging.MessageQueue+MQCacheableInfo
Pockey
Hello,
sorry for the delayed answer!
My e-mail address is correct (of course without the "DoNotSpam" ;-) )
By the way, I found a workaround so that my application doesn't crash anymore.
I added
<runtime>
<legacyUnhandledExceptionPolicy enabled="1" />
</runtime>
to the application config file. This seems to solve all my problems...
Best Regards
B. Ritter
Thymen
Hi Ritter,
As mentioned on http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=369114&SiteID=1, you might be running into a known issue that is fixed in Whidbey SP1. Pls. confirm if the email on your profile is valid and we can talk offline on how to request a fix just for you (also known as QFE).