Geeks With Blogs
Edmund Zhao's BizTalk abc We share, We learn

You might receive the "pipeline component load() method failed on IPersisPropertyBag implementation" error message when you try to drag and drop a custom pipeline component into a pipeline stage. The root cause of this issue can be various, but the most common reason for this kind of failure is because ArgumentException is not caught when you develop the Load method of IPersistPropertyBag interface in your custom pipeline component class. A common way to catch exceptions in Load method is similar to the following:

            catch(ArgumentException)
            {
                return val;
            }
            catch(Exception ex)
            {
                throw new ApplicationException(ex.Message);
            }

If the first catch is missed, you will receive error when Load method runs for first time.

...Edmund Zhao  

Posted on Monday, April 2, 2007 3:53 PM | Back to top


Comments on this post: Error "pipeline component load() method failed on IPersisPropertyBag implementation"

# re: Error "pipeline component load() method failed on IPersisPropertyBag implementation"
Requesting Gravatar...
Load is a void method. I don't think you can return anything here. Catching the exception on the read and write propertbag pieces seems to work

Left by Chris Restall on Sep 11, 2007 5:07 PM

Your comment:
 (will show your gravatar)


Copyright © Edmund Zhao | Powered by: GeeksWithBlogs.net