keyongtech


  keyongtech > biztalk.* > biztalk.general

 #1  
02-27-06, 03:18 PM
bjg
Hi,
I'm having problems with a test biztalk 2006 project in VS 2005.
I'm trying to use the call rules shape from a simple orchestration, to
call a BRE policy which accepts a schema and dataconnection as
arguments.

The problem occurs when I add a project reference to
"Microsoft.RulesEngine" which I need for the variable I'm using
[dcNorthwind] of type "Microsoft.RuleEngine.DataConnection" used with
the expression

"dcNorthwind = new Microsoft.RuleEngine.DataConnection( "Northwind" ,
"BusinessClassList", cnn);"

cnn and other variables exist and work OK.

The error is:
"Error 2 An assembly with the same identity 'Microsoft.RuleEngine,
Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has
already been imported. Try removing one of the duplicate references. "

If I remove reference to "Microsoft.RulesEngine" from the project,
followed by the variable [dcNorthwind] and comment out the line
referring to the variable in the expression, then the project builds
OK.

I notice that in the orchestration (opened as as plain text file) there
are repeated refs to the "Microsoft.RuleEngine" namespace.. Not sure
where the ref exists, or how to leverage it with my variable??

Can anyone help?

Thanks in advance

Note:
I'm following the jist of a useful biztalk 2004 sample in
http://datacogs.com/datablogs/archiv...01/01/183.aspx
 #2  
02-27-06, 03:36 PM
bjg
I have partly answered my own question but I dont know why...

If I remove the ref added via path:

C:\WINDOWS\assembly\GAC_MSIL\Microsoft.RuleEngine\ 3.0.1.0__31bf3856ad364e35

And instead add the ref from:

C:\Program Files\Microsoft BizTalk Server 2006

The project builds OK... I dont understand why this is??
Similar Threads
Thread Thread Starter
spurious "duplicate lookup reference" errors loading sample data

I am trying to use the DMM to load the sample data using the data map that comes with the sample data. My environment is the trial VPC (virtual PC). I think I understand the...

Clark Wilson
VS2005, Include "TAPI3.H" and get a compiler error "Cannot open include file: 'ddraw.h'"

On Visual Studio 2008, I can include TAPI3.h and use the TAPI COM object with no real difficulties, other than learning curve. On Visual Studio 2005, the same code produces...

Gravy Jones
VS2005 - "Always show Error List if build finishes with errors" not working

Hi there, I have a fresh install of Visual Studio 2005 and I'm trying to get my setting up the way I like it. Under tools -> options -> Projects and Solutions there's a...

Mark Mikulec
VS2005 equivalent of the "Supported Runtimes" build setting from VS2003?

In VS2003 you can specify whether your project will support 1.1 or 1.0. This does not mean *targetting* 1.1 or 1.0, it simply specifies compatability. But I can't find a...

jjkboswell
VS2005: "Build CAB file" - missing in action ?

The subject says it all really. In VS2005 (I'm reluctantly using RC1), does anyone know what's happened to the infinitely useful "Build CAB file" option ? In VS2003, you...

Michael Gledhill

Privacy Policy | All times are GMT. The time now is 05:32 PM.

Merging Information Logo
[Deutschland] [Espaņa] [France] [Italia] [Nederland] [Polska] [United Kingdom]