Database check tool has encountered a problem

When trying to start the emClient, for a long time now it has been crashing referring to the database check tool and giving me the following message:

System.ArgumentException: Parameter is not valid.
   at System.Drawing.Image.get_FrameDimensionsList()
   at System.Drawing.ImageAnimator.CanAnimate(Image image)
   at System.Drawing.ImageAnimator.ImageInfo…ctor(Image image)
   at System.Drawing.ImageAnimator.Animate(Image image, EventHandler onFrameChangedHandler)
   at System.Windows.Forms.PictureBox.Animate(Boolean animate)
   at System.Windows.Forms.PictureBox.Animate()
   at System.Windows.Forms.PictureBox.InstallNewImage(Image value, ImageInstallationType installationType)
   at System.Windows.Forms.PictureBox.set_Image(Image value)
   at DbRepair.Form1.Form1_Load(Object sender, EventArgs e)

I have tried installing a new version on top of the old one, but no change. Also, I have not been able to find any similiar issue here in the forums. Any ideas?

Hi Malte, can you open the application, or does it crash constantly?
What version of eM client are you currently using?
Can you please copy the whole error message after it occurs and post it here on the forum?

Thank you,
Paul.

  • It crashes immediately, without even a hint of opening.
  • I’m using version 6.0.21040.0, as I’ve been trying to update the application in order to fix it. The problem started in an earlier version though.
  • That is the whole error message I get :s
  • FYI I’m running it on Windows 64-bit 8.1 if that adds anything of value

And thanks for responding :slight_smile:

Hi again, can you please download the installer to the version you’re currently running: http://www.emclient.com/dist/v6.0.21040/setup.msi , and run the installer on your computer, use the repair feature, and check if the issue persists.
If it does, can you please make a screenshot of the error you’re seeing?

Thank you,
Paul.

Still same problem

Hi, hate to keep chiming in me too, but it sounds similar to what I am experiencing.  

I believe the root cause of my issue is that somehow there is a “bad” e-mail that can’t be moved either to an archive, or even trash folders.  The move can’t complete, the system hangs, doesn’t fully shutdown on exit which results in the database check tool warning.  Best I can tell the tool can’t resolve the problem and eventually the whole thing eventually just locks up like you are seeing.   

I have sent the logs several times now, but haven’t heard anything back as to a resolution.  Hopefully a solution emerges. 

Hi again Malte, thank you for the received data, I’ve discussed the issue with the developers and it seems like your application crashes on loading the “loading wheel”, however it should not be a problem of the database nor the application, I’ll keep you posted once I have more information about the issue.

Sorry for the inconvenience,
Paul.

Hi again Eric, I’m don’t believe so as this issue is really specific, Malte’s application is crashing while loading a system default component (the loading wheel).
And is not actually connected to a database issue, that you seem to be having.

I’m sorry your issue has not been resolved yet, I’ve submitted the data to the developers and I’m still waiting for a response.

Thank you,
Paul.

Thanks. Is there any way to recover the info from the db, i.e. the saved e-mails, should it not be possible to fix this?

Hi again Malte, can you please try to update your application to this version of eM Client: http://www.emclient.com/dist/v6.0.21151/setup.msi and check if the issue persists?

Thank you,
Paul.

Still crashing, but different error this time:

System.ArgumentException: Parameter is not valid.
   at System.Drawing.Image.Clone()
   at DbRepair.Form1.Form1_Load(Object sender, EventArgs e)

Hi again Malte, can you please try to reinstall the application and after the uninstallation, delete the eM Client folder from Program files?
Before you start to reinstall, please create a backup of your database, go to your local folder > App Data > Roaming and rename the eM Client directory to e.g. “eM Client - Backup”.

After you reinstall the application, rename the eM Client directory back to “eM Client”.

Hope this helps,
Paul.

Same problem with the same error message unfortunately

Tried uninstallling and reinstalling the latest version once again and got this error message:

eM Client (6.0.21040.0)
Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.34209
The following error has occurred:
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at System.Drawing.Image.Save(Stream stream, ImageFormat format)
   at MailClient.IM.Emoticons.EmoticonList…ctor(Type resourcetype)
   at MailClient.UI.Controls.controlMessageDetail…ctor()
   at MailClient.UI.Forms.formMain.InitializeComponent()
   at MailClient.UI.Forms.formMain…ctor(List1 arguments)    at MailClient.Program.CreateMainForm(Boolean startupInit, List1 args)
   at MailClient.Program.Main(String args)

Hi again, I’m sorry for your ongoing issues, please try to reinstall your .NET framework installation.
Please install .NET 4.5.2 and .NET 2.

.NET 4.5.2 Download: http://www.microsoft.com/en-US/download/details.aspx?id=30653
.NET 2 Download http://www.microsoft.com/en/download/details.aspx?id=1639

Thank you,
Paul.

Still crashes:

System.ArgumentException: Parameter is not valid.
   at System.Drawing.Image.get_FrameDimensionsList()
   at System.Drawing.ImageAnimator.CanAnimate(Image image)
   at System.Drawing.ImageAnimator.ImageInfo…ctor(Image image)
   at System.Drawing.ImageAnimator.Animate(Image image, EventHandler onFrameChangedHandler)
   at System.Windows.Forms.PictureBox.Animate(Boolean animate)
   at System.Windows.Forms.PictureBox.Animate()
   at System.Windows.Forms.PictureBox.InstallNewImage(Image value, ImageInstallationType installationType)
   at System.Windows.Forms.PictureBox.set_Image(Image value)
   at DbRepair.Form1.Form1_Load(Object sender, EventArgs e)

Hi again, can you please go to your eM Client installation folder and open the “MailClient.exe.config”, and edit the file in a text editor?
You should see these two lines:

<supportedruntime version="v4.0"></supportedruntime>
<supportedruntime version="v2.0.50727"></supportedruntime>

please try to switch the order of the two lines, so it looks like this:

<supportedruntime version="v2.0.50727"></supportedruntime>
<supportedruntime version="v4.0"></supportedruntime>

Reopen the application and check if the issue persists, if it does, please send me an email to [email protected] with a reference link to this forum topic.

Thank you,
Paul.