Question

I need to create a new custom pipeline component for BizTalk 2013. As far as I know, the excellent Pipeline Component Wizard does't work with VS2012 so I'm having to hand code all the boiler plate stuff.

I have built the custom component and deployed to the gac along with all dependencies.

I am getting the common yet miss-leading error message:

You have selected an invalid pipeline component assembly. Please check security settings for the assembly if you are loading it from an UNC path

My class begins as follows:

 public class UpsSupersededRecordRemover : Microsoft.BizTalk.Component.Interop.IComponent, IBaseComponent, IPersistPropertyBag, IComponentUI
{

    private System.Resources.ResourceManager resourceManager = new System.Resources.ResourceManager("BizTalkers.PipelineComponents.UpsSupersededRecordRemover", Assembly.GetExecutingAssembly());

I have created a .resx resource file called UpsSupersededRecordRemover.resx. When I use Reflector to view the component assembly I can see the resx file is nicely contained within:

enter image description here

So I have checked for the usual causes of this error: public class, correct ref to the resource file, dependencies gac'd.

Can anyone see where I've gone wrong or suggest what else I can do to get a better error message?

Was it helpful?

Solution

  1. Download the source for the Pipeline Component Wizard and upgrade the project to VS 2012 (I actually haven't tried with VS 2012 but we did have to do this in the 2006-2009 era.
  2. Create you Pipeline Component Project in Visual Studio 2010 then add/upgrade the project to you VS 2012 Solution.

All of the BizTalk Interfaces are identical to previous versions so the VS 2010/2012 difference is perfunctory.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top