RegionPopupBehavior causing COM error in my app

May 10, 2010 at 10:14 PM

I ported all the code from the latest RI Infrastructure/Behaviors folder as well as PopStyle into my SIlverlight 4 app. I reference it in my Shell.xaml in the same manner that is used in the RI. When I add a View, and then Activate that view, I receive:

Error HRESULT E_FAIL has been returned from a call to a COM component.

The RI runs fine on my machine.  Clearly I'm missing something however I can't find it.  Any help is appreciated.  Thanks.

May 11, 2010 at 2:45 AM

Problem solved. I copied PopupStyle however the referenced ButtonStyle was missing.  However, I will say that this was a BS error.  Why so vague?

May 12, 2010 at 10:19 PM


I agree with you in that this is probably not the best description of the issue you were facing. Take into account that it is not specifically related to Prism’s functionality, but to SL4 XAML instead. For that reason you might get a more detailed explanation of the cause of that particular message, and not a more descriptive one, being shown in the Silverlight forums.

Please let me know if this helps.

Damian Schenkelman