Michael Stephenson

keeping your feet on premise while your heads in the cloud
posts - 358 , comments - 427 , trackbacks - 11

My Links

News

View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn

Twitter












Archives

Post Categories

Image Galleries

BizTalk

Mates

Failed to retrieve basic properties of pipeline component

Just a note to self in case I bump into this one again.

 

I created a custom pipeline component and when adding it to the pipeline designer then clicking save you get the following error:

Failed to retrieve basic properties of the Pipeline Component: xxxxxxx

 

After a bit of digging I worked out the problem was my code interacting with IPropertyBag in the implementation of the Load and Save methods of the interface.

My problem was that the string I was using for the key of the property bag had spaced in it. See the below example

 

The below example doesn't work:

protected void WritePropertyBag(IPropertyBag pb, string propertyName, object propertyValue)

{

if (propertyValue != null)

PropertyBagHelper.Write(pb, " Property Name ", propertyValue);

}

The below example works:

protected void WritePropertyBag(IPropertyBag pb, string propertyName, object propertyValue)

{

if (propertyValue != null)

PropertyBagHelper.Write(pb, "PropertyName", propertyValue);

}

Print | posted on Wednesday, July 17, 2013 4:02 AM | Filed Under [ BizTalk ]

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Comment:
Verification:
 

Powered by: