BizTalk Server Applications Integration - URGENT HELP REQD

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Applications Integration > March 2004 > URGENT HELP REQD





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 URGENT HELP REQD
Shrinivas

2004-03-21, 3:34 am

I am trying to create a Biztalk AIC componenet using .NET

When I try to add it into the COM+ services the error
thrown is

"Could not install type
library 'C:\Testing\ClassLibAIC\ClassLibrary1\bi
n\BizT
alkSapWebAIC.tlb' into application 'BizTalkSapWebAIC'.
C:\Testing\ClassLibAIC\ClassLibrary1
\bin\BizTalkSapWebAIC.tlb: The TypeLib could not be
loaded"

Where BizTalkSapWebAIC.dll is my AIC component created
in .NET

I have done the following steps till now:
1)I have impelemented IBTSAppIntegration in my code.
2)I registered my BizTalkSapWebAIC.dll into GAC.
3)created the tlb file for BizTalkSapWebAIC by regasm.
4)Now when i try to add into COM+ by using MMC for COM+
or through regsvcs the error given above pop's up.

Can anyone please explain as to what could be going
wrong .
I am new to Biztalk though, but i need a solution urgenlty
or could anybody guide me to a particular group where I
can get the solution fast?

Regards,
Shrinivas Naik
Tomas Restrepo \(MVP\)

2004-03-21, 8:34 am

> I am trying to create a Biztalk AIC componenet using .NET
>
> When I try to add it into the COM+ services the error
> thrown is
>
> "Could not install type
> library 'C:\Testing\ClassLibAIC\ClassLibrary1\bi
n\BizT
> alkSapWebAIC.tlb' into application 'BizTalkSapWebAIC'.
> C:\Testing\ClassLibAIC\ClassLibrary1
> \bin\BizTalkSapWebAIC.tlb: The TypeLib could not be
> loaded"
>
> Where BizTalkSapWebAIC.dll is my AIC component created
> in .NET
>
> I have done the following steps till now:
> 1)I have impelemented IBTSAppIntegration in my code.
> 2)I registered my BizTalkSapWebAIC.dll into GAC.
> 3)created the tlb file for BizTalkSapWebAIC by regasm.
> 4)Now when i try to add into COM+ by using MMC for COM+
> or through regsvcs the error given above pop's up.
>
> Can anyone please explain as to what could be going
> wrong .
> I am new to Biztalk though, but i need a solution urgenlty
> or could anybody guide me to a particular group where I
> can get the solution fast?


If you want your component to live in COM+, you need to make your .NET
component a ServicedComponent. That means your .net class needs to derive
from System.EnterpriseServices.ServicedComponent.

Also, with .NET, you can't use the MMC console to install components, you
need to use the command line regsvcs.exe tool to register them in the COM+
catalog. (no need to use regasm, just use gacutil to put it in the gac, and
regsvcs to register with com+)

--
Tomas Restrepo
tomasr@mvps.org


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com