BizTalk Server - Interop_AIComp

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > October 2004 > Interop_AIComp





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 Interop_AIComp
Gerrit Hulleman

2004-09-22, 9:53 pm

Can anyone supply me with this file? I seem unable to create it using the
howto (http://support.microsoft.com/defaul...kb;en-us;320852)

The 6th line in the howto keeps complaining that the "Referenced type
library 'PipeCompLib' does not have a primary interop assembly
registered.". I have installed BizTalk 2002, SQL server, .NET 2003, and the
"BizTalk Server 2002 Toolkit for Microsoft NET". Installations all
succesfull, ran the setup of the toolkit. Using gacutil I can see that the
required library is present, but still the tlbimp programs keeps complaining
that it is not. I have tried to make the interop using the "C:\Program
Files\Common Files\Microsoft Shared\Enterprise
Servers\Commerce\PipeComplib.tlb" file. It registeres, but still tlbimp
cannot find it.

Thx

Gerrit


is0butane

2004-10-18, 5:48 pm

The quick answer is:
You have this file. Do a search on BTSInterchangeLib.dll, and make sure you
place it in the same directory as your Interop AIC Assembly.
You may also need Microsoft.BizTalk.Interchange.dll

Also make sure you have added these as refrences in your AIC. You may not
need both of them. Actually I dont see how your AIC will even work if you
havent implemented one of these interfaces on your component, Unless of
course this is a IPipeline Component AIC. In this case you will need to
implement these interfaces:

public class MyCustomComponent : ServicedComponent, IPipelineComponent,
IPipelineComponentAdmin


Just in case you need it: Your "normal" AIC needs to implement
IBTSAppIntegration like so:

public class MyApplicationIntegrationClass : ServicedComponent,
IBTSAppIntegration

You will of course need to add a refrence to this in your assembly.

let me know if Ive just confused you.

Ps. the GAC has issues. As a general rule, I do not place anything in the
GAC unless absolutely necessary. Also, the GAC has a cache as well (weird
since that makes it a Gloabal Assembly Cache, Cache....) anyway use the
GACUtil to refresh the download cache. This will help avoid some of those
weird versioning problems.

"Gerrit Hulleman" wrote:

> Can anyone supply me with this file? I seem unable to create it using the
> howto (http://support.microsoft.com/defaul...kb;en-us;320852)
>
> The 6th line in the howto keeps complaining that the "Referenced type
> library 'PipeCompLib' does not have a primary interop assembly
> registered.". I have installed BizTalk 2002, SQL server, .NET 2003, and the
> "BizTalk Server 2002 Toolkit for Microsoft NET". Installations all
> succesfull, ran the setup of the toolkit. Using gacutil I can see that the
> required library is present, but still the tlbimp programs keeps complaining
> that it is not. I have tried to make the interop using the "C:\Program
> Files\Common Files\Microsoft Shared\Enterprise
> Servers\Commerce\PipeComplib.tlb" file. It registeres, but still tlbimp
> cannot find it.
>
> Thx
>
> Gerrit
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com