Posts

Showing posts from December, 2010

Dynamic SMTP Send Port - Unknown Error Description

The other day I was using the Dynamic SMTP port to send an email message after a technical error had occurred in BizTalk. I used a BRE Policy to configure the Email settings and had set the SMTP.EmailBodyText property. Although there are a lot of things that can go wrong I was convinced it was rooted in my BRE call and result. It took me several dreadful minutes before i stumbled on a post of a fellow BizTalk developer who had faced the same issue. It turns out that when you use the BodyText you MUST set the charset: EmailMessage(SMTP.EmailBodyTextCharset) = "UTF-8";   Cheers.

BizTalk 2010 exam review

Hi there, I just finished providing some feedback for the upcoming BizTalk 2010 exam and I hope the input was valuable. As I am preparing for the SQL Server 70-342 I hope the exam will be finalized early next year so that I can it to my list of exams to take. Cheers.

File Adapter quirks

Image
Since I try to have posts for all the adapters I have encountered it can be that this is a post that it not new for all the people already working with BizTalk for a long time. It just wanted to have it on my blog for the sake of completeness; The FILE adapters requires that the Host Instance account user has FULL Control on the folder it tries to read from. I was giving a course on security in BizTalk and explained the security modal of BizTalk (like BizTalk operator / BizTalk administrator) and the ability to run Host instances under minimal privileges accounts (BizTalk Application Users member) and had a hard time to explain why the file was not picked up when Read only rights were assigned. This answer is: because I said so   Regards.

Scheduled Task Adapter

Image
After considering the options for a project where interfacing in a scheduled manner was required i came across the Scheduled task adapter. This thing is so easy to use, I must speak about it! The following section describes the steps required to implement the scheduled task adapter. Installation Register the components To install the Scheduled task adapter download the adapter from ‘Codeplex’ ( http://biztalkscheduledtask.codeplex.com/ ). Run the setup and follow the steps during the setup. Note: In the current version the setup does not register the necessary dll’s in the Global Assembly Cache. These steps have to be performed manually. - Start the Visual Studio command prompt - Navigate to ‘C:\Program Files\Biztalk ScheduledTask Adapter’ - Run ‘GACUTIL –i Biztalk.Adapter.ScheduledTaskProperties.dll’ - Run ‘GACUTIL –i Calendar.Schedules.dll’ - Run ‘GACUTIL –i ScheduledTaskAdapter.Admin.dll’ - Run ‘GACUTIL –i ScheduledTaskAdapter.dll’ - Run ‘GACUTIL –i Scheduled

BizTalk 2010 Mapper Pros/Cons

Image
I am now using the BizTalk mapper 2010 frequently, I faced 2 changes I don’t appreciate: PROS - Search elements When you type in a fieldname, it is highlighted! You can even toggle buttons so that only the highlighted elements are shown. Cool - Copy Paste Copy/paste works like a charm, elements can be selected easily and it now works as it should have been a long time…intuitive. CONS - Replace functoid does not work anymore It used to be, that when you drag a functoid and drop it over a functoid already on the mapping grid that it would replace the existing functoid. Well, it’s noted, not really what I wanted. - Create a message from scratch When I make a new message and I don’t have input for it a Assign a new message using a Message variable of type XmlDoc. Assign it a value with the first element of the schema (e.g. <Error />) and then use the mapper to set all the different elements in the message (using a string concatenate with an empty value). I am not 100% finished with a