Welcome Guest Search | Active Topics | Sign In | Register

EO.PDF errors on one machine Options
JEllison
Posted: Wednesday, September 6, 2017 5:10:05 PM
Rank: Newbie
Groups: Member

Joined: 9/6/2017
Posts: 2
We are using EO.PDF to generate PDFs out of an HTML template, and it is working on all but one of the Windows 10 developer machines. All machines have the same OS images, security patches, .NET versions, and versions of Visual Studio, and all users are in the same security groups. Regardless what we have tried on that machine, it will not work. I have downloaded and installed the latest build on that machine, and am unable to even run the demos. I am an administrator on this machine when trying to run the demos, I have tried running 'as administrator' as well. We have tried with disabling and even uninstalling all antivirus software on the machine, it makes no difference.

The error when starting the EOPDFDemo is:
Windows host process (Rundll32) has stopped working.

When debugging Rundll32, the error seems to indicate a possible permission issue:
“Exception thrown at 0x777C304D (ntdll.dll) in rundll32.exe: 0xC0000005: Access violation writing location 0x00000000.“

When trying to run EOWpfDemo is:
System.Windows.Markup.XamlParseException: Initialization of 'EO.Wpf.MenuItem' threw an exception. ---> System.Exception: Can not find or automatically create eowp.exe. Please place this file in the same directory as EO.Base.dll and make sure they are the same version. This file is needed if your application does not have sufficient permission to read Windows system directory, or you have EO.Base.Runtime.EnableLargeAddressSpace set to true. Access to the path 'C:\Users\<user>\AppData\Local\Temp\eowp.17.2.43.0.exe' is denied.
at EO.Internal.jn.a(Boolean& A_0, a9x[] A_1, String A_2, String A_3)
at EO.Internal.jn.a(a9x[] A_0, String A_1, String A_2)
at EO.Internal.jn.o.c()
at EO.Internal.jn.o.f()
at EO.Internal.jn.n()
at EO.Internal.jn.a(ah1 A_0)
at EO.Wpf.Internal.m.JN.I(Object)
at EO.Wpf.ThemeManater.Register(FrameworkElement fe)
at EO.Wpf.MenuItem.OnInitialized(EventArgs)
at System.Windows.FrameworkElement.TryFireInitialized()
at System.Windows.Controls.ItemsControl.EndInit()
at
MS.Internal.Xaml.Runtime.ClrObjectRuntime.InitializatioinGuard(XamlType xamlType, Object obj, Boolean begin)
--- End of inner exception stack trace ---
at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootOBject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, PArserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.DoStartup()
at System.Windows.Applilcation.<.ctor>b_1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.EXceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegage catchHandler)
eo_support
Posted: Wednesday, September 6, 2017 6:53:49 PM
Rank: Administration
Groups: Administration

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

This does appear to be a permission issue. You may want to find out why your application does not have permission to access "C:\Users\<user>\AppData\Local\Temp\eowp.17.2.43.0.exe". This is your current user's temp folder and your application should have unrestricted read/write access to this folder. Without being able to access this folder, a lot of things can go wrong --- for example, the browser engine will store cookies/cache in this folder at runtime, so if it can not write this folder, it will definitely crash.

Thanks!


JEllison
Posted: Wednesday, September 6, 2017 7:02:56 PM
Rank: Newbie
Groups: Member

Joined: 9/6/2017
Posts: 2
I am running the app under my account, and as administrator, and have verified that my account has full permissions on the folder. Under debug, I am also getting the following error:

'Failed to create child process, Win32 Error: 5'
eo_support
Posted: Wednesday, September 6, 2017 7:33:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,225
Windows error: 5 is ERROR_ACCESS_DENIED.

Regardless how you run your application under what account --- you need to resolve the underlying permission issues. Our application basically just pass the OS error code/.NET framework error message up. We do not create those code/errors. So if the error message clearly indicates a permission issue, you will need to resolve that first. We are not in a position to troubleshoot permission issue for your system not only because they are out of the scope of our support, but also because they are out of the scope of our expertise. So your best option is to find your system administrator to resolve such issue for you.


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.