Problem with settings file

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

normfall gmbh
User
Posts: 8
Joined: Mon Feb 13, 2012 5:23 pm

Problem with settings file

Post by normfall gmbh »

Hi there,

I have attached a settings file for PDF XChange (from a customer). When this file is loaded with the AvtiveX method .LoadSettings( <filename> ), it takes 10 to 20 seconds (!) on my dev machine until this method returns. At the customers site, a strange exception is thrown:

Code: Select all

EXCEPTION:
[b]Not enough quota is available to process this command[/b]
WindowsBase
   at MS.Win32.UnsafeNativeMethods.PostMessage(HandleRef hwnd, WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, Nullable`1 channelSet)
   at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr lParam)
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
This exception was thrown on multiple independent machines at the customers site yesterday - very suddenly. They never ever got this exception before in the past.

Version 2.5.313.0 is used. OS: Windows 7 SP1 64 Bit.

What is wrong with this Settings file? Please can you check this?

Thanks and regards
Felix
You do not have the required permissions to view the files attached to this post.
normfall gmbh
User
Posts: 8
Joined: Mon Feb 13, 2012 5:23 pm

Re: Problem with settings file

Post by normfall gmbh »

Add: same problem with version 2.5.316.1 :-(

The only possible (but quite bad) "Workaround" is to manually delete the settings file to force the creation of a new Settings file (with Default Settings).

Regards
Felix
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3556
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada

Re: Problem with settings file

Post by Ivan - Tracker Software »

Can you please remove information about recent opened files from your settings file and check again?
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.