Life Balance for Windows crashes during iPhone sync
Symptom
When you perform a Network operation from Life Balance for iPhone to Life Balance for Windows, the Windows version of Life Balance crashes with the error:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
The crash is accompanied by the creation of a "Life Balance crash.log" file on the desktop that contains messages like the following:
Life Balance crashed at 16/07/2009 20:42:26 Attempted to read or write protected memory. This is often an indication that other memory is corrupt. System.Windows.Forms at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) at Life_Balance.LBDocument.SyncWith(String sqlPath) at LBEngine.IPhone.WindowsDocument.SyncWith(WindowsDocument* , basic_path<std::basic_string<wchar_t\,std::char_traits<wchar_t>\,std::allocator<wchar_t> >\,boost::filesystem::wpath_traits>* sqlPath)
Solution
This problem appears to be caused by a particular sequence of security updates to the .NET Framework issued by Microsoft. We don't know the exact sequence, but the problem can be solved by reinstalling or repairing the latest .NET Framework components.
One possible solution is to install a HotFix from Microsoft. http://support.microsoft.com/kb/923028
If you are on Windows XP, then you may be able to reinstall or repair the .NET Framework 2.0 using instructions from Microsoft. See http://support.microsoft.com/kb/306160 and http://support.microsoft.com/kb/908077
If you are running Vista, then one customer was able to fix the problem by re-installing/repairing Microsoft Visual Basic 2008 Express edition.
