Tags: | Categories: Blog Posted by admin on 4/27/2010 5:14 PM | Comments (0)

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



blog comments powered by Disqus