I have some saved eml files and im displaying them in a WPF WebBrowser control by renaming the file extension to .mht, which IE (& therefore the WebBrowser control) will display quite happily.
Im having problems displaying eml files from FaceBook, I get an Assertion failed error like this in a MessageBox :-
Assertion failed!
Program:....bin\Debug\myApp.vshost.exe
File:../external/boost_1_31_0\boost/shared_ptr.hpp
Line: 254
Expression: px !=0
It completely crashes the app.
I have thousands of eml files with all sorts of content but I only get this error reading FaceBook emails (the spammy ones they auto send with every bit of activity on your FB account).
I have suppressed Script errors as per this StackOverflow post but the errors persist.
I have a try catch around the wb.Navigate(Uri) statements but its not caught it.
How can I stop the errors?