MessageEnrichment Sample not working!

Running into this error, after I successfully ran the setup.bat for Msg Enrichment sample in the SDK

TITLE: BizTalk Server 2006 Administration Console

Could not enlist orchestration 'Microsoft.Samples.BizTalk.MessageEnrichment.MessageEnrichmentOrchestration,MessageEnrichment, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2720f9c291c03aa9'. Could not enlist orchestration 'Microsoft.Samples.BizTalk.MessageEnrichment.MessageEnrichmentOrchestration,MessageEnrichment, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2720f9c291c03aa9'. Object reference not set to an instance of an object. (Microsoft.BizTalk.SnapIn.Framework)


[705 byte] By [vai2000] at [2008-1-7]
# 1

Hello!

It seems that something went wrong during the setup phase.

In order to track the issue do the following:

1. Run CleanUp.bat to remove all the artifacts deployed.

2. From command line, run Setup.bat again.

3. After setup.bat is finished running scan through the console output to see if there are any warnings or errors.

The expected result of running setup.bat is:

1. Orchestration is deployed and enlisted.

2. Send and receive port are created and started.

So, if your ouput is different, it means something went wrong during setup.

In this particular case it seems that Message Enrichment library cannot initialize some classes it needs. The only 2 references it uses are:

- Microsoft.BizTalk.Edi.BaseArtifacts

- Microsoft.XLANGSs.BaseTypes

Make sure that they are accessible. You can try to gac them and see if that helps. If it does, that can help you to isolate the problem.

Thank you,

Yury

YuryBogucharov-MSFT at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk EDI and AS2...