BizTalk Server

BizTalk Server related stuff

MIME Processing

Recently I did some work on receiving MIME or NOT-MIME encoded Messages. Some interesting facts: It is possibly to get encoded Emails (including Email Headers) via PassTrough Pipeline from a POP3 Mailbox and save them to the file system. (don't forget to disable the mime decoder that is integrated in the POP3 adapter) One can easily read these "raw" Emails from the file system and send them to subscribers. Only a pipeline is needed with a MIME decoder and a ContextProperty should be set: CopyMailHeadersToContext...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Ordered Delivery Suprise

Recently I had a scenario where I activated Ordered Delivery on a send port. To my suprise - after I sent about 100 messages through the send port - one active instance of the port remained in admin console. I was able to terminate it but after sending some new messages through the port, the active instance appeared again. Seems that this is by design - but I'm not really sure. I couldn't find any information about this in documentation or online. Does anybody know this behaviour
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Binary Messages in BizTalk

In a current project I work with Binary Messages in BizTalk Orchestration (received by WebService, sent with dynamic SMTP Adapter). To get to know more about the topic the following ressources where extremely useful: http://www.novaenterprisesy... http://www.novaenterprisesy... http://blogs.msdn.com/richa... http://vdcruijsen.net/post/...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

MIME Encoder is missing 64bit Support

Recently I used the mime encoder in a custom pipeline and got an error when sending a message through the pipeline at runtime: There was a failure executing the send pipeline: ........................ Reason: Retrieving the COM class factory for component with CLSID {254B4003-2AA7-4C82-BB2E-18... failed due to the following error: 80040154 After some time I figured out that this was because the send port run under a 64bit Host Instance. I changed it to 32bit and it worked. Obviously MimeEncoder...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Specify multiple schemas in document schema property field of XMLReceive Pipeline

Last week I had the following problem: I published two orchestrations (with different input schemas) as WebService. The client application which of course used the same two schemas was also a BizTalk application and run in the same group. I had no influence on that and therefore the problem of duplicate schemas occured. So I had one Receive Location for the two orchestration and needed to specify the "Document Schema" property to tell the XMLReceive pipeline which of the deployed schemas it should...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

BizTalk + Visual Studio Team System + Unit Test Project = ??

The combination of a Team System solution, including a BizTalk project and an Unit Test C# project is not a good one, as I learned recently. ;-) The problem occured, when I wanted to add a BizTalk map in an orchestration - simply nothing happened. The only thing was an bunch of errors while closing Visual Studio afterwards: --------------------------- Microsoft Visual Studio --------------------------- Unexpected error encountered. It is recommended that you restart the application as soon as possible....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Magic 65536

Today I managed to get a strange Error (like you get it in Excel if you have more than the famous 65536 rows) during BizTalk testing with HAT. :-) I suppose the reason is that HAT (where I displayed some debugging data) uses Office WebComponents in background and therefore this limitation is causing problems with greater amounts of data. Anyway an interesting error...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Generate well formed XML out of a BizTalk map

A property of a BizTalk map that I didn't know before: Ident (to generate well-formed XML out of a map) Thanks to Erika Ehrli for further information: http://blogs.msdn.com/erika
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Strange FTP Adapter Error

Recently I got these two errors with EventID 5740 from a FTP Receive Location: The adapter "FTP" raised an error message. Details "WARNING: An unexpected failure occurred when attempting to disconnect from the remote FTP server. The error code was 0x8004200C ". The adapter "FTP" raised an error message. Details "A failure occurred when parsing the remote folder listing. ". The strange behaviour was that BizTalk got alle files from the Receive Location, succesfully processed it and after some minutes...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

SQL Adapter Links

Recently I have done some work with the BizTalk SQL Adapter. I collected the following Links out of the Blogs of Richard Seroter and Stephen Kaufman which are perfect (excellent content) for getting a better understanding of the work with updategrams: http://blogs.msdn.com/richa... http://blogs.msdn.com/richa... http://blogs.msdn.com/skauf... http://blogs.msdn.com/skauf...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Error: "Attempted to access an unloaded AppDomain"

Today I encountered the following error after changing a value in a web.config file of a published webservice on two nodes of an NLB cluster "Attempted to access an unloaded AppDomain" After the web.config change all web service requests failed. The solution was to reset the IIS and restart the corresponding BizTalk Hostinstance. (although I think restarting IIS should have been enough) The interesting thing was that another application, running under the same AppPool also had the same error. Update:...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Set Advanced Transport Properties dynamically

Sometimes when using dynamic ports, you also need properties from the advanced transport properties tab. These are the ones I have already used: BizTalkMessage(BTS.RetryCount) = 5 (Specifies how often sending on the port is retried) BizTalkMessage(BTS.RetryInt... = 5 (Specifies how many minutes to wait before the next retry) BizTalkMessage(FILE.CopyMode) = 0 (Specifies the behaviour when copying files: 0 = append, 1 = create, 2 = overwrite)...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

CData Sections in BizTalk Orchestration

Recently I worked for the first time with CData sections in XML messages. A CData section in an XML Document starts with <![CDATA[ and ends with ]]> and everything between is ignored by the XML parser. In my scenario I got xml (with some CData sections) from a WebService, transformed it with a map (and did some other things in an orchestration) and sent it to another WebService. The first WS gave me xml with CData but the second WS received none. After some debugging I found out that the xml...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Redeploy Pipeline Components

When you try to redeploy Pipeline Components BizTalk locks the dlls under C:\Program Files\Microsoft BizTalk 2006\Pipeline Components. They are locked by the BizTalk Host Instance that used them. To update a Pipeline Component one has to stop the Host Instance, redeploy and then start the Host Instance. UPDATE: Thanks to Th Almeida who pointed me to this: Pipeline Components are locked by the host that is using the pipeline not by the standard host. I did my pipeline deployment test with a dynamic...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Specify how Credentials are used in Dynamic SOAP Messages - Part 2

Short Update to my previous post about this: Setting the AuthenticationScheme to NTLM means that the user of the host instance is sending the message to the destination. In case of a dynamic port there is no host specified - BizTalk then automatically executes the dynamic Send Port under the standard host user. (for example BizTalk Server Application)
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Interesing BizTalk Pitfall

Today I faced a really interesting problem when redeploying a BizTalk application: In an orchestration I map the Response of a WebService call together with another message to an outbound message. Everything went fine until I changed the WebService. I put the WebMethod into another WebService (called method and return parameter remained the same as before), deleted the whole webreference, added the webreference to the new WebService and changed the types of my Webservice request and response messages...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Specify how Credentials are used in Dynamic SOAP Messages

When calling a WebService from BizTalk, beside specifying Username and Passwort, one has to set the form of authentication (Anonymous, Basic, NTLM, etc.) too. This can be done either on the Sendport Configuration or - when using a dynamic port - by the following code (example for using NTLM = Windows Integrated Authentication) in an expression shape: MessageName(SOAP.Authentica... = "NTLM";
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Experiences with BizTalk Webpublishing Wizard

Today I worked on a BizTalk project where I have two Orchestrations in one BizTalk Project and I want to publish them as WebService. There are some things to consider when publishing WebServices: To publish an orchestration the orchestration's receive porttype has to be public. (Don't make the orchestration itself public) If you have already deployed one Orchestration to BizTalk and after that you develop a new orchestration (not deployed), you don't see the second orchestration in the Publishing...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

BizTalk 2006 R2

BizTalk 2006 R2 is scheduled for June 2007, there will be some interesting features:http://geekswithbl... Best of all: RFID Supporthttp://www.ddj.com/d
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

BizTalk News

Some News and Information regarding BizTalk 2004 and 2006: - Understanding BizTalk2006 Document: http://www.microsoft.com/bi... - Not a BizTalk topic but related to some extent ist he following white paper about the Business Value of RFID from Microsoft: http://www.microsoft.com/bi... - Slides and Code Samples from Marty Wasznicky’s BizTalk 2004 Commando Training Course à very high quality(!!) http://blogs.msdn.com/marty...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

New Features in BizTalk 2006

Today I did a short research on the new features of BizTalk 2006 with the help of www.microsoft.com: Improved Setup Process (simplified for beginners – “single account installation”, more flexible for advanced users – “server farm installation”) Seamless Upgrade installation from BT 2004 to 2006 possible BizTalk Application Concept: Logical container in Administration for all objects regarding a BizTalk solution BizTalk Application Packaging: One msi file for a...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Calling or starting Orchestrations

Today I worked with the BizTalk Shapes Call and Start Orchestrations. In German they have the silly names "Aufruforchestration" and "Start Orchestration" which do not express their purpose. I found to really good blog entries about this topic: http://dallas.sark.com/Sark... Also a fine example from Scott Woodgate exists. (See...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Usefull BizTalk Infos

Some usefull hints for BizTalk Developers, I found out during BizTalk development during the last weeks: File System Security for BizTalk File Adapterhttp://dotnet.org.za... File Receive Locations need Full Control File Permissions Send Ports need Change Permissions Very interesting collection of helpfull BizTalk Tools:http://blogs.msdn.com... Few Developers know: BizTalk has also a Config File:http://geekswithblogs....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Using BizTalk Assembly Viewer

BT Assembly Viewer is installed during setup but not activated.Use: regsvr32 BTSAsmExt.dell in C:\<BT Directory>\Developer ToolsTo unregister: regsvr32 /u BTSAsmExt.dll The Tools shows delpoyed BizTalk Assemblies and their references, PortTypes and the XML Code of Orchestrations or Schemas.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Write Event Log Entry / WebService Timeout with BizTalk

The following Code (written in Expression Shapes) will write to the Event Log:System.Diagnostics.Even... "+System.Convert.ToString(S... following Code will set a Timeout for a WebService:WSRegistrationRe... = 20000; Both Tips are out of a nice MSDN Article (BizTalk 2004 and WebServices):http://msdn.mi...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Sad News

Mr. BizTalk Scott Woodgate is changing jobs. From now on he will be working on the Windows Client Product Planning Team. His job will be rather an internal one at Microsoft therefore we probly won't hear much from him in the internet. In my opinion his efforts where a key part, why BizTalk is as successfull as it is today. http://blogs.msdn.com/scott... Thank you for doing a great job and all the best wishes for your new role at Microsoft...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

How to send a "Text" Email with BizTalk Server 2004

Due to the fact that sending a plain, easy Text Email is not a straightforward task, which is easy to accomplish with BizTalk 2004, I have created (with the perfect input from a colleague who has looked it up at Scott's blog) a little checklist, to do the sending. Although it is a common and often needed task to send Text Emails out of BizTalk Server, it is not an out of the box feature - but I promise it's really easy if you know how to do it! ;-) Create a new Pipeline in your Project. (Or in a...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

New Microsoft Certifications

Certifications for the new Microsoft Products that ship in November were published this week.And there is also a certification for BizTalk! :-) http://www.microsoft.com/le... It is only a single exam but I greatly appreciate that BizTalk2006 is honoured by it's own certification
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

New BizTalk Ressources

Scott Woodgate announced some great BizTalk Ressources: http://blogs.msdn.com/scott... There will be BizTalk 2006 documents soon :-) and there is also a new competition. Hopefully I will have enough time to participate this time. You can get all the information here: https://www.csdevcompetitio... I get an error when I try to order a BizTalk 2006 kit. Scott also postet the link to a BizTalk performance blog: http://blogs.msdn.com/bizta... What...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

BizTalk Advanced Developer Training Content

Here is the content of my Advanced Developer Training: Correlation Convoy Patterns Rules Engine SQL Adapter Enterprise Single Sign On Flat File Import WebServices Enhancements 2.0 Adapter Pipeline Components and Debugging We got some in depth knowledge and a lot of useful Tricks for our work with BizTalk Server...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

BizTalk Advanced Developer Training

I am visiting an Advanced Training for BTS2004 today and tomorrow.We have the first break now - the first topics we covered where Correlation and Convoys. I will post later what the two days where like. The start was fantastic. ;-)
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Executive Webcast: Using BizTalk 2004 to Implement an SOA for Service Provisioning

I wasn't able to attend yesterdays Webcast about "Using BizTalk 2004 to Implement an SOA for Service Provisioning" because of some problems at work but I have had time to download the slides. I think they are really fantastic and I plan to watch the replay of the WebCast. I got some new ideas about BizTalk solutions architecture. I can recommend this to everyone interested in BizTalk solutions and I will post some ideas of mine about it later.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

The Bloggers Guide to BizTalk V1.3

A new Version of the Blogger Guide: http://www.gotdotnet.com/wo... Thanks to Alan Smith: http://geekswithblogs.net/a...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

BizTalk Error: "'ActiveView.ColumnAxis' is null or not an object"

Action that causes Error: Running Queries in HATError Message: "'ActiveView.ColumnAxis' is null or not an object"Reason: Maybe Office XP WebComponents are not installed on your Machine Note: The solutions in my posts may be the reason for specific errors but there is no guarantee because there are a lot of different system configurations and therefore many reasons for errors exist. But maybe they are useful hints
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Interoperability Webcasts

There is a Webcast Series about Interoperability in Microsoft Environments.Registration at https://www.interopmonth.co... I have registered for the following Webcast that are related to BizTalk, sounds like interesting information for BizTalk Developers: MSDN Webcast: Strategies and Tactics for Interoperability Using BizTalk Server (Level 300) - 10.2.2005MSDN Webcast: Web Services Interoperability with BizTalk Server 2004 (Level 200) - 9.2.2005Microsoft Executive Circle Webcast: Using BizTalk...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

BizTalk Error: Message Engine Permissions

Action that causes Error: When invoking an Orchestration published by the WebServices Publishing WizardError Message: Warning and Error Message in Event Log every minute. Looks like that: Event Type: WarningEvent Source: ENTSSOEvent Category: Enterprise Single Sign-OnEvent ID: 10536Date: Time: User: N/AComputer: Description:SSO AUDITFunction: GetConfigInfoTracking ID:Client Computer: XXX (aspnet_wp.exe:2976)Client User: XXXApplication Name: {2F16324E-11A6-4B9E-AD7C-B1... Code: 0x80070005,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

BizTalk Error: "The master secret has not been backed up"

Action that causes Error: None - EventLog ErrorError Message: "The master secret has not been backed up ... "Reason: Backing Up the master secret will help, as stated in the error message: C:\Program Files\Common Files\Enterprise Single Sign-On\ssoconfig -backupsecret MasterSecret.bak Note: The solutions in my posts may be the reason for specific errors but there is no guarantee because there are a lot of different system configurations and therefore many reasons for errors exist. But maybe they...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910