Welcome Guest Search | Active Topics | Sign In | Register

Exception: Access to the path Windows\Temp\eods denied Options
jchau
Posted: Monday, November 28, 2016 4:48:04 PM
Rank: Newbie
Groups: Member

Joined: 11/28/2016
Posts: 1
We get on average 100 errors logged a month that are essentially the same. Any clues as to what is causing this? We are not able to reproduce constantly on our end but we suspect this happens when converting large HTML strings.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> EO.Pdf.HtmlToPdfException: Convertion failed. Access to the path 'C:\Windows\TEMP\eods\2656_2.eods' is denied. ---> System.UnauthorizedAccessException: Access to the path 'C:\Windows\TEMP\eods\2656_2.eods' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at EO.Pdf.Internal.be.a(Byte[] A_0, Single A_1, Single A_2, Single A_3, Single A_4, Double A_5, Double A_6) at EO.Pdf.Internal.lv.b(String A_0) at EO.Pdf.Internal.lv.d() --- End of inner exception stack trace --- at EO.Pdf.HtmlToPdfException.b(Exception A_0) at EO.Pdf.Internal.lv.d() at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at [Custom Code]

eo_support
Posted: Monday, November 28, 2016 4:53:21 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

The most common for this is when you have some background file backup/AntiVirus program that's constantly backing up/indexing/checking the files, which causes the file to be locked when we try to write to it. So please check that and see if you can find anything's locking that file.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.