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 ]
|