Calling a .NET 2.0 Assembly from BizTalk 2004 Orchestration
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Calling a .NET 2.0 Assembly from BizTalk 2004 Orchestration




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Calling a .NET 2.0 Assembly from BizTalk 2004 Orchestration  
Sudhir Darbha


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-23-06 06:15 PM

Can we use .NET 2.0 Assemblies in BizTalk 2004?
I would like to invoke a static method from a component developed in .NET
2.0. The BizTalk 2004 project wouldn't let me add a reference to the .NET 2.
0
assembly which is in GAC.
Any help is appreciated.
Thank you,
Sudhir.





[ Post a follow-up to this message ]



    RE: Calling a .NET 2.0 Assembly from BizTalk 2004 Orchestration  
Doug Girard [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-24-06 12:15 AM

Sudhir,

BizTalk Server 2004 runs in the 1.1 CLR, so it is not possible to invoke a
.NET 2.0 method from within this process directly.  To work around this,
you'll need to place the .NET 2.0 assembly out-of-process and invoke the
method some other way, e.g web services, COM+, or otherwise.

HTH,
Doug Girard [MSFT]

Note: This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>Thread-Topic: Calling a .NET 2.0 Assembly from BizTalk 2004 Orchestration
>thread-index: AcZ+g8PxMspy/WPJSqe/x1+GJ6v/bw==
>X-WBNR-Posting-Host: 204.9.5.119
>From: examnotes
<SudhirDarbha@discussions.microsoft.com>
>Subject: Calling a .NET 2.0 Assembly from BizTalk 2004 Orchestration
>Date: Tue, 23 May 2006 09:13:02 -0700
>Lines: 7
>Message-ID: <8192BB72-DACF-482B-93DA-6EE5578C7647@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
>	charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Newsgroups: microsoft.public.biztalk.general
>Path: TK2MSFTNGXA01.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:37764
>NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Can we use .NET 2.0 Assemblies in BizTalk 2004?
>I would like to invoke a static method from a component developed in .NET
>2.0. The BizTalk 2004 project wouldn't let me add a reference to the .NET
2.0
>assembly which is in GAC.
>Any help is appreciated.
>Thank you,
>Sudhir.
>






[ Post a follow-up to this message ]



    Re: Calling a .NET 2.0 Assembly from BizTalk 2004 Orchestration  
Scott Colestock


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-24-06 12:15 AM

Two things -

1) you always need an assembly to reside in the file system (outside the
gac) in order to reference it
2) you won't be able to reference your 2.0 assembly from vs2003

Scott Colestock
www.traceofthought.net


"Sudhir Darbha" <SudhirDarbha@discussions.microsoft.com> wrote in message
news:8192BB72-DACF-482B-93DA-6EE5578C7647@microsoft.com...
> Can we use .NET 2.0 Assemblies in BizTalk 2004?
> I would like to invoke a static method from a component developed in .NET
> 2.0. The BizTalk 2004 project wouldn't let me add a reference to the .NET
> 2.0
> assembly which is in GAC.
> Any help is appreciated.
> Thank you,
> Sudhir.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:36 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register