Edmund Zhao's BizTalk abc

We share, We learn

  Home  |   Contact  |   Syndication    |   Login
  23 Posts | 1 Stories | 14 Comments | 8 Trackbacks

News



Article Categories

Archives

Monday, April 02, 2007 #

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  

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati