BizTalk Server General - AIC in BTS 2004

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > May 2005 > AIC in BTS 2004





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author AIC in BTS 2004
Mikael Östberg

2005-05-30, 7:52 am

Hello!

I am migrating a BTS 2004 solution to BTS 2004 and I'm almost there.

The only thing not working is a AIC that was written for the 2002 solution.

I get this error message:

The adapter failed to transmit message going to send port "Default". It will
be retransmitted after the retry interval specified for this Send Port.
Details:"An unexpected failure occurred while processing a message. The text
associated with the exception is "File or assembly name BTSComponentsLib, or
one of its dependencies, was not found.". ".

And the problem seem to be that the BTSComponentsLib is not found.

I have made a dll from btscomplib.tlb using tlbimp with a sn key and placed
it in the GAC. I referred to this dll in my new AIC as well which Inherits
ServicedComponent and Implements BTSComponentsLib.IBTSAppIntegration and the
registerd as a serviced component (COM+). This i then used as an adapter in
BTS 2004 and is used by some of my send ports.

What is it that I am missing?

Why can't it find the BTSComponentsLib?

The AIC is performing some SQL Server tasks. What can I use instead of this
AIC to perform the same tasks?

Thankful for any tips!

Mikael Östberg


Mikael Östberg

2005-05-30, 5:51 pm

Hello!

I solved the previous error by installing .Net toolkit for BTS 2002. In the
toolkit, I found the missing DLL which I installed in the GAC and that
problem was solved.

However, now I am left with a new problem.
Event Type: Error
Event Source: BizTalk Server 2004
Event Category: BizTalk Server 2004
Event ID: 5754
Date: 2005-05-30
Time: 17:42:32
User: N/A
Computer: *********
Description:
The "CSABizTalkAIC" adapter is suspending an outbound message going to
destination URL:"Default". Details:"An unexpected failure occurred while
processing a message. The text associated with the exception is "An error
occurred during ProcessMessage: Object reference not set to an instance of
an object.". ".

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

CSABizTalkAIC is the name of my AIC and Default is the URI set for the AIC
(which I don't know what it is for actually).

My guess is that this exception does not come from my AIC, but from BizTalk.
That would mean that it's Biztalk that fails to instantiate my AIC
component.

Why?

Has anyone seen this before?

Thanks in advance!

Mikael Östberg

"Mikael Östberg" <mikael.ostberg-at-intellecta.se> wrote in message
news:e3qgJOQZFHA.3040@TK2MSFTNGP14.phx.gbl...
> Hello!
>
> I am migrating a BTS 2004 solution to BTS 2004 and I'm almost there.
>
> The only thing not working is a AIC that was written for the 2002

solution.
>
> I get this error message:
>
> The adapter failed to transmit message going to send port "Default". It

will
> be retransmitted after the retry interval specified for this Send Port.
> Details:"An unexpected failure occurred while processing a message. The

text
> associated with the exception is "File or assembly name BTSComponentsLib,

or
> one of its dependencies, was not found.". ".
>
> And the problem seem to be that the BTSComponentsLib is not found.
>
> I have made a dll from btscomplib.tlb using tlbimp with a sn key and

placed
> it in the GAC. I referred to this dll in my new AIC as well which Inherits
> ServicedComponent and Implements BTSComponentsLib.IBTSAppIntegration and

the
> registerd as a serviced component (COM+). This i then used as an adapter

in
> BTS 2004 and is used by some of my send ports.
>
> What is it that I am missing?
>
> Why can't it find the BTSComponentsLib?
>
> The AIC is performing some SQL Server tasks. What can I use instead of

this
> AIC to perform the same tasks?
>
> Thankful for any tips!
>
> Mikael Östberg
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com