Error Message - Method not found...... while opening/ downloading attachemnt

Since Last few days, whenever I try to open or download attachment I am getting following error :

"Error occurred when saving the attachment:  Method not found: ‘Boolean System. Threading. WaitHandle.WaitOne(Int32)’  "

. Due to this error I am unable to view or download any attachment.

Ravi.

Hi Ravi, what version of eM Client are you currently using on your computer?
What mail service are you currently using?

Thank you,
Paul.

eM Client Version :  6.0.21034.0   

Mail Service :  Yahoo & Gmail.

Till few days ago all download was working perfectly.  Also I am having eM Client setup on another PC & there also it is working.  

Regards,
Ravi

I installed latest version  6.0.21040.0,  but still same problem.

Ravi.

Hi again, can you please copy the whole error and post it here on the forum, or can you please make a screenshot of the error?
Where is it displayed, does it occur while the “downloading attachment” window is displayed or is it displayed as a regular error in the operations window?

Thank you,
Paul.


When I take the cursor on attachment, there are two options Open or Save. If I select any option the following error screen comes.  If I select save options then it asks for save location & then this error comes.  The save location folder contains file with 0 bytes.

Ravi.

Hi again, I’ve discussed the issue with the developers and we believe this issue is caused by an old version of your .NET framework installation.
Can you please update your .NET framework and check if the issue persists?

http://www.microsoft.com/en-US/download/details.aspx?id=30653

Thank you,
Paul.

I have updated .NET framework and the problem is solved.  Now Open/Save attachment is working fine.  

Thanks for help.

Ravi

Hi again Ravi, I’m glad I could help and that everything is again working properly as expected.
Please make sure to let us know if you come across any other issues or questions, we’ll be happy to help.

Thank you,
Paul.

Hi! I am runnning e M Client version 6.0.21040.0. I am also getting the same error message while opening or saving the attachments.

Hi Ajay,

Trying updating the .NET framework as I have done, as it might solve your problem also.

Ravi

WHICH VERSION OF .NET FRAME WORK TO BE LOADED

ONE MORE ERROR WE FEEL.

“An error has occurred in the application that prevent it from continuing. The application will be terminated.”
And the application is terminated . It is happening 4-5 times a day.

Hi Ajay, is there an error report window displayed with a “Show error” button, if so, please click on the Show error button, copy the content of the error and post it here on the forum, or create a new topic for this issue, as it’s most probably unrelated to this one.

Thank you,
Paul

eM Client (6.0.21372.0)
Windows: Microsoft Windows NT 5.1.2600 Service Pack 2, Framework: 2.0.50727.1433
The following error has occurred:
System.OutOfMemoryException: Exception of type ‘System.OutOfMemoryException’ was thrown.
   at MailClient.Mail.Streams.ScatteredMemoryStream.InternalSetCapacity(Int32 value)
   at MailClient.Mail.Streams.ScatteredMemoryStream.set_Capacity(Int32 value)
   at MailClient.Mail.Streams.ScatteredMemoryStream.EnsureCapacity(Int32 value)
   at MailClient.Mail.Streams.ScatteredMemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at MailClient.Utils.Utils.CopyStream(Stream inputStream, Stream outputStream)
   at MailClient.Protocols.AirSync.AirSyncHmMailSynchronizer.ConvertApplicationData(MailItem item, Func2 getChildren, Version version) &nbsp;&nbsp; at MailClient.Protocols.AirSync.AirSyncHmMailSynchronizer.Upload(IItemUploadContext1 uploadContext, Folder folder, IEnumerable1 items, CancellationToken cancellationToken) &nbsp;&nbsp; at MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass22.b__1e(WorkerStatus status, CancellationToken cancellationToken)
at MailClient.Protocols.AirSync.AirSyncGenericCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
at MailClient.Commands.SynchronizationQueue.ThreadWorker(Object threadData)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)


" rel=“nofollow”>http://emclient.com/ns/report">;

eM Client
6.0.21372.0

false

Microsoft Windows NT 5.1.2600 Service Pack 2
2.0.50727.1433


System.OutOfMemoryException
Exception of type ‘System.OutOfMemoryException’ was thrown.
MailClient.Mail




MailClient.Mail.dll
100663989
MailClient.Mail
MailClient.Mail.Streams.ScatteredMemoryStream
InternalSetCapacity


mscorlib
System.Int32
value



215
2be




MailClient.Mail.dll
100664003
MailClient.Mail
MailClient.Mail.Streams.ScatteredMemoryStream
set_Capacity


mscorlib
System.Int32
value



48
20




MailClient.Mail.dll
100663980
MailClient.Mail
MailClient.Mail.Streams.ScatteredMemoryStream
EnsureCapacity


mscorlib
System.Int32
value



52
5e




MailClient.Mail.dll
100663995
MailClient.Mail
MailClient.Mail.Streams.ScatteredMemoryStream
Write


mscorlib
System.Byte[]
buffer


mscorlib
System.Int32
offset


mscorlib
System.Int32
count



c2
a7




MailClient.exe
100695600
MailClient
MailClient.Utils.Utils
CopyStream


mscorlib
System.IO.Stream
inputStream


mscorlib
System.IO.Stream
outputStream



31
62




MailClient.exe
100666836
MailClient
MailClient.Protocols.AirSync.AirSyncHmMailSynchronizer
ConvertApplicationData


MailClient
MailClient.Storage.Application.Mail.MailItem
item


LinqBridge
System.Func2[[MailClient.Storage.Application.Mail.MailItem, MailClient, Version=6.0.21372.0, Culture=neutral, PublicKeyToken=null],[System.Collections.Generic.IEnumerable1[[MailClient.Storage.Application.Mail.MailItem, MailClient, Version=6.0.21372.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
getChildren


mscorlib
System.Version
version



1f3
2c5




MailClient.exe
100666840
MailClient
MailClient.Protocols.AirSync.AirSyncHmMailSynchronizer
Upload


MailClient
MailClient.Protocols.Common.IItemUploadContext1[[MailClient.Storage.Application.Mail.MailItem, MailClient, Version=6.0.21372.0, Culture=neutral, PublicKeyToken=null]]</type><br> <name>uploadContext</name><br> </parameter><br> <parameter><br> <assembly>MailClient</assembly><br> <type>MailClient.Storage.Application.Folder</type><br> <name>folder</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.Collections.Generic.IEnumerable1[[MailClient.Storage.Application.Mail.MailItem, MailClient, Version=6.0.21372.0, Culture=neutral, PublicKeyToken=null]]
items


MailClient
System.Threading.CancellationToken
cancellationToken



137
2a5




MailClient.exe
100697495
MailClient
MailClient.Protocols.Common.ItemSynchronizer`2+<>c DisplayClass22
<EnqueueUpload>b
1e


MailClient
MailClient.Commands.WorkerStatus
status


MailClient
System.Threading.CancellationToken
cancellationToken



111
423




MailClient.exe
100666732
MailClient
MailClient.Protocols.AirSync.AirSyncGenericCommand
Execute


MailClient
MailClient.Commands.WorkerStatus
status



5a
eb




MailClient.exe
100664007
MailClient
MailClient.Commands.Command
Process


MailClient
MailClient.Commands.WorkerStatus
status



15
4c




MailClient.exe
100664060
MailClient
MailClient.Commands.SynchronizationQueue
ThreadWorker


mscorlib
System.Object
threadData



8c
115




mscorlib.dll
100668053
mscorlib
System.Threading.ThreadHelper
ThreadStart_Context


mscorlib
System.Object
state



3b
29962d




mscorlib.dll
100667860
mscorlib
System.Threading.ExecutionContext
Run


mscorlib
System.Threading.ExecutionContext
executionContext


mscorlib
System.Threading.ContextCallback
callback


mscorlib
System.Object
state



58
80




mscorlib.dll
100668054
mscorlib
System.Threading.ThreadHelper
ThreadStart


mscorlib
System.Object
obj



f
49






MailClient.exe
C:\Program Files\eM Client\MailClient.exe
MailClient.exe
MailClient.exe
6.0.21372.0
eM Client
eM Client
6.0.21372.0
False
False
False
False
False
Language Neutral


ntdll.dll
C:\WINDOWS\system32\ntdll.dll
ntdll.dll
ntdll.dll
5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
NT Layer DLL
Microsoft® Windows® Operating System
5.1.2600.2180
False
False
False
False
False
English (United States)


mscoree.dll
C:\WINDOWS\system32\mscoree.dll
mscoree.dll
mscoree.dll
2.0.50727.1433 (REDBITS.050727-1400)
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
2.0.50727.1433
False
False
False
False
False
English (United States)


KERNEL32.dll
C:\WINDOWS\system32\KERNEL32.dll
kernel32
kernel32
5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
5.1.2600.2180
False
False
False
False
False
English (United States)


ADVAPI32.dll
C:\WINDOWS\system32\ADVAPI32.dll
advapi32.dll
advapi32.dll
5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Advanced Windows 32 Base API
Microsoft® Windows® Operating System
5.1.2600.2180
False
False
False
False
False
English (United States)


RPCRT4.dll
C:\WINDOWS\system32\RPCRT4.dll
rpcrt4.dll
rpcrt4.dll
5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Remote Procedure Call Runtime
Microsoft® Windows® Operating System
5.1.2600.2180
False
False
False
False
False
English (United States)


SHLWAPI.dll
C:\WINDOWS\system32\SHLWAPI.dll
SHLWAPI
SHLWAPI.DLL
6.00.2900.2995 (xpsp.060913-0019)
Shell Light-weight Utility Library
Microsoft® Windows® Operating System
6.00.2900.2995
False
False
False
False
False
English (United States)


GDI32.dll
C:\WINDOWS\system32\GDI32.dll
gdi32
gdi32
5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
GDI Client DLL
Microsoft® Windows® Operating System
5.1.2600.2180
False
False
False
False
False
English (United States)


USER32.dll
C:\WINDOWS\system32\USER32.dll
user32
user32
5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows XP USER API Client DLL
Microsoft® Windows® Operating System
5.1.2600.2180
False
False
False
False
False
English (United States)


msvcrt.dll
C:\WINDOWS\system32\msvcrt.dll
msvcrt.dll
msvcrt.dll
7.0.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows NT CRT DLL
Microsoft® Windows® Operating System
7.0.2600.2180
False
False
False
False
False
English (United States)


IMM32.DLL
C:\WINDOWS\system32\IMM32.DLL
imm32
imm32
5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows XP IMM32 API Client DLL
Microsoft® Windows® Operating System
5.1.2600.2180
False
False
False
False
False
English (United States)


mscorwks.dll
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
mscorwks.dll
mscorwks.dll
2.0.50727.1433 (REDBITS.050727-1400)
Microsoft .NET Runtime Common Language Runtime - WorkStation
Microsoft® .NET Framework
2.0.50727.1433
False
False
False
False
False
English (United States)


MSVCR80.dll
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_44262b86\MSVCR80.dll
MSVCR80.DLL
MSVCR80.DLL
8.00.50727.6195
Microsoft® C Runtime Library
Microsoft® Visual Studio® 2005
8.00.50727.6195
False
False
False
False
False
English (United States)


shell32.dll
C:\WINDOWS\system32\shell32.dll
SHELL32
SHELL32.DLL
6.00.2900.2180 (xpsp_sp2_rtm.040803-2158)
Windows Shell Common Dll
Microsoft® Windows® Operating System
6.00.2900.2180
False
False
False
False
False
English (United States)


comctl32.dll
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
comctl32
comctl32.DLL
6.0 (xpsp_sp2_rtm.040803-2158)
User Experience Controls Library
Microsoft® Windows® Operating System
6.00.2900.2180
False
False
False
False
False
English (United States)


comctl32.dll
C:\WINDOWS\system32\comctl32.dll
COMCTL32
COMCTL32.DLL
5.82 (xpsp_sp2_rtm.040803-2158)
Common Controls Library
Microsoft® Windows® Operating System
6.00.2900.2180
False
False
False
False
False
English (United States)


mscorlib.ni.dll
C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\32e6f703c114f3a971cbe706586e3655\mscorlib.ni.dll
mscorlib.dll
mscorlib.dll
2.0.50727.1433 (REDBITS.050727-1400)
Microsoft Common Language Runtime Class Library
Microsoft® .NET Framework
2.0.50727.1433
False
False
False
False
False
English (United States)


mscorsec.dll
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorsec.dll
mscorsec.dll
mscorsec.dll
2.0.50727.1433 (REDBITS.050727-1400)
Microsoft .NET Security module
Microsoft® .NET Framework
2.0.50727.1433
False
False
False
False
False
English (United States)


WINTRUST.dll
C:\WINDOWS\system32\WINTRUST.dll
WINTRUST.DLL
WINTRUST.DLL
5.131.2600.2180 (xpsp_sp2_rtm.040803-2158)
Microsoft Trust Verification APIs
Microsoft® Windows® Operating System
5.131.2600.2180
False
False
False
False
False
English (United States)


CRYPT32.dll
C:\WINDOWS\system32\CRYPT32.dll
CRYPT32.DLL
CRYPT32.DLL
5.131.2600.2180 (xpsp_sp2_rtm.040803-2158)
Crypto API32
Microsoft® Windows® Operating System
5.131.2600.2180
False
False
False
False
False
English (United States)


MSASN1.dll
C:\WINDOWS\system32\MSASN1.dll
msasn1.dll
msasn1.dll
5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
ASN.1 Runtime APIs
Microsoft® Windows® Operating System
5.1.2600.2180
False
False
False
False
False
English (United States)


IMAGEHLP.dll
C:\WINDOWS\system32\IMAGEHLP.dll
IMAGEHLP.DLL
IMAGEHLP.DLL
5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Windows NT Image Helper
Microsoft® Windows® Operating System
5.1.2600.2180
False
False
False
False
False
English (United States)


rsaenh.dll
C:\WINDOWS\system32\rsaenh.dll
rsaenh.dll
rsaenh.dll
5.1.2600.2161 (xpsp.040706-1629)
Microsoft Enhanced Cryptographic Provider
Microsoft® Windows® Operating System
5.1.2600.2161
False
False
False
False
False
English (United States)


xpsp2res.dll
C:\WINDOWS\system32\xpsp2res.dll
xpsp2res.dll
xpsp2res.dll
5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Service Pack 2 Messages
Microsoft® Windows® Operating System
5.1.2600.2180
False
False
False
False
False
English (United States)
&n

Hi Ajay,

Did you try to update your .NET framework? It looks like you’re running Windows XP … is that a correct assumption? I’m not sure whether you can install .NET 4 on Windows XP, but maybe you can still try to upgrade your .NET 2 version?

Yes, I am running Windows XP

Hi!  Do any one have the solution for the error message?

Hi Ajay, I’ve discussed the issue with the developers, based on the error you’ve sent us, it seems like the application is uploading a very large email to your email account (hotmail/outlook/live.com account), please try to open the application in offline mode by holding the ctrl button during application startup (hold the ctrl button and click on the application icon, keep holding before offline mode is enabled).

After you do so, please try to locate the message, it may be in your outbox, trash or junk folder possibly.

Hope this helps,
Paul