Hi
When i am setting the source using the SetSource method in BitmapImage i got the Out of memeory exception in Silverlight .How to solve the problem
System.Exception was unhandled by user code Message="Error HRESULT E_FAIL has been returned from a call to a COM component." StackTrace: at MS.Internal.XcpImports.CheckHResult(UInt32 hr) at MS.Internal.XcpImports.BitmapSource_SetSource(BitmapSource bitmapSource, CValue& byteStream) at System.Windows.Media.Imaging.BitmapSource.SetSourceInternal(Stream streamSource) at System.Windows.Media.Imaging.BitmapImage.SetSourceInternal(Stream streamSource) at System.Windows.Media.Imaging.BitmapSource.SetSource(Stream streamSource)
Thanks Sekar