Morten Lehrmann - BizTalk Blog

Morten Lehrmann - BizTalk Blog

Mapping

BizTalkPosted by Morten Lehrmann 2013-11-12 13:08:57

Must deliver:


Given:

Created an XSLT Inline Template in a Scripting Functoid in the map:














Connection with the Application Object Server could not be established.

BizTalkPosted by Morten Lehrmann 2013-07-15 13:55:21

Running BizTalk 2010 connecting to a Microsoft Dynamics AX 2009 SP1 RU6. For BizTalk we have three AX instances running. The AX configuration files reads:

aos2,Text,PROD@W99557:2713;PROD@W99556:2713;PROD@W99555:2713

If the first AX instance fails we have the issue that BizTalk will never start using the other ones.

We just get the error:

Connection with the Application Object Server could not be established.

again and again.

We have contacted Microsoft regarding this issue, and they were not able to replicate the error on a system running Microsoft Dynamics AX 2009 SP1 RU8.

So it seems like the issue has been resolved from RU6 to RU8.

BizTalk Configuration refresh interval

BizTalkPosted by Morten Lehrmann 2013-05-25 10:44:59

Updating settings on e.g. receive locations and having BizTalk acknowledge the new settings may be frustrating. Sometimes it seems like BizTalk picks up the changes right away, and sometimes you have to restart services.

Some of the confusion comes from BizTalk Configuration refresh interval, see:

http://books.google.dk/books?id=5OfNicXpazYC&pg=PA672&lpg=PA672&dq=%22Configuration+refresh+interval%22+biztalk&source=bl&ots=H2A8WvU54A&sig=g1r6nKCpI8gm-GZZZfScYx_2dgs&hl=da&sa=X&ei=4rmdUbqfE6ep4gSdtoHIAQ&redir_esc=y#v=onepage&q=%22Configuration%20refresh%20interval%22%20biztalk&f=false

Custom XSLT referred from BizTalk Map

BizTalkPosted by Morten Lehrmann 2013-03-06 08:47:24

You look at the properties of the .btm map in Visual Studio but cannot determine the path of the XSLT.

Press on the canvas of the map - now Visual Studio will display "Grid Properties" instead - here the Custom XSLT Path property tells the XSLT name.

FTP Receive Location: The username or password is incorrect.

BizTalkPosted by Morten Lehrmann 2013-03-01 15:26:43

Checked everything again. But still no success.

Exported bindings on the Receive Port and looked in the XML file.

It turned out that the FTP user name had a trailing space. BizTalk does not remove these - and you cannot see them in the UI.

Error: Unable to lock resource channel '???'.

BizTalkPosted by Morten Lehrmann 2013-02-18 16:40:31
The adapter "Microsoft Dynamics AX 2009" raised an error message. Details "The adapter is unable to receive messages from Microsoft Dynamics AX:

Error: Unable to lock resource channel '???'.

Solution:

Shutdown BizTalk services.

Delete row in Dynamics AX, table AIFResourceLock (unless it has already been deleted).

Clean-up AIF Queue in Dynamics AX.

Start up BizTalk services.

Validate Map

BizTalkPosted by Morten Lehrmann 2013-02-18 16:31:56

Right-clicking on a map in Visual Studio and selecting Validate Map allows you to see the generated XSLT.

BizTalk FTP Upload

BizTalkPosted by Morten Lehrmann 2013-02-13 19:38:08
Using BizTalk 2010 with FTP adapter. Uploads files to an external FTP server.
No errors in FTP log. But at the receiver end the file is created but it's empty. It turned out that the error was that the local Windows firewall on the BizTalk server was enabled although the server farm is protected by an external firewall.

« Previous