Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
After posting about using TCP with the .Net Service Bus and making it look sooooo simple, I’ve lost most of today trying to get the fracking thing working! I doesn’t matter what I do in the config, the service host keeps prompting me for a Card (from CardSpace) even though I had everything setup for UserNamePassword creds.
After much stuffing around I noticed that my solution had the wrong version of the service bus DLL (0.15.0.0 – March CTP I think). This was my bad – I had copied the DLL to a solution folder. So I grabbed the '”new” version (0.16.7.0) from the July CTP Assemblies folder and tried that.
Same result! Arg!
Looking in the GAC I could see it had version 0.16.0.0. What the ?!!
Time for a reinstall me think.
Download from MS. Install. Chug chug….
Ok, now I have version 0.16.71.1. Right. Fine.
But the GAC still has 0.16.0.0 and my app still is broked. Lord - give me strength!
I re-added the project assembly reference to my local non gac copy and set copy local and now it all works again.
I can’t delete the old version from the GAC without uninstalling the SDK completely so it will have to stay there.
Weird! The Joy of CTP.