Exerimenting with BizTalk Services

Last year during SOA and BPM Conference I heard about BizTalk Services during my visit there. Justin Smith did an introduction about it. Later during LEAP 2008 in January Clemens Vasters did a talk about the same subject. I just finished an article for a Dutch magazine called Software Release Magazine and I experimented with some samples from the SDK. Before I could do that I installed IE 7 on my new Dell Laptop from Getronics together with latest version of the SDK found at http://labs.biztalk.net/. Then I installed Visual Studio 2008 Standard Edition I received during the launch party from Microsoft (HerOmlympics). Having everything setup I took the EchoSample from the SDK and had to convert first before I could give it a try. So I executed the service and stumbled on the following error message a System.Configuration.ConfigurationErrorException:

{"Unrecognized element 'relayBinding'. (C:\\Program Files\\Microsoft BizTalk Services SDK\\Samples\\Communication\\GettingStarted\\Echo\\CS30\\Service\\bin\\Debug\\Service.vshost.exe.Config line 7)"}

Now I started to google around to figure this error out and found an excellent post from Vitro.Net. The Relay binding was not present in the machine config file found at C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG. So I had to do some changes (see below).

(Click to enlarge)

I also checked version number and public key token of the System.ServiceBus assembly installed by the SDK. This was and 31bf3856ad364e35 important to make things work.

(Click to enlarge)

After these changes I tried out the EchoSample and it worked like a charm. So BizTalk Services worked using VS 2008 and having a couple of .NET Frameworks on your machines (1.0, 1.1, 2.0, 3.0 and 3.5). Do not forget to read how to get started with BizTalk Services, because before you can start experimenting and having your development environment set you need to create an account and have or create a CardSpace Card.