Problems with Silverlight 3 Bitmaps

As many people move to Silverlight 4, some of us that still have old projects in Silverlight 3, I haven’t found any solution to the below problem just yet, just a workaround for now.

Still when using Visual Studio 2008 and Silverlight I receive this error on BitmapImages, something that looks like got fixed in Visual Studio 2010 and Silverlight 4, I haven’t tried in VS2010 and Silverlight 3.

Silverlight 3: BitmapImage.SetSource - Catastrophic failure

Message="Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))"

Looks like that happens in GIF and PNG files, if I convert the image to BMP Silverlight 3 doesn’t throw the exception. This is the only workaround I can find right now

Anybody seen this problem?

Cheers

Al



Published Wednesday, April 28, 2010 8:14 PM by albertpascual
Filed under:

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required)