Geeks With Blogs

News View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn
Michael Stephenson keeping your feet on premise while your heads in the cloud

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);

}

Posted on Wednesday, July 17, 2013 4:02 AM BizTalk | Back to top


Comments on this post: Failed to retrieve basic properties of pipeline component

# kodi
Requesting Gravatar...
good counter top and available ‘App Signer’ Kodi for iPad If you even now own any concerns, content it in the below review section. Kodi for iPad nice.
Left by rima on May 01, 2016 7:20 PM

# re: SnapTube app
Requesting Gravatar...
good Staying an excellent film and video tutorial downloader and SnapTube Free Download I would to reading them. Be grateful for you SnapTube APK nice.
Left by krush on May 12, 2016 8:13 PM

# re: Failed to retrieve basic properties of pipeline component
Requesting Gravatar...
good Therefore in this guidebook we will help you how CinemaBox Windows PC You can get the software from this hyperlink. CinemaBox Windows Download nice.
Left by akash on Jul 03, 2016 5:09 PM

Your comment:
 (will show your gravatar)


Copyright © Michael Stephenson | Powered by: GeeksWithBlogs.net | Join free