In POS 2009 SP1, Windows 7 x64, within the receipt customization dialog, the following crash occurs whenever clicking a tab or attempting to change almost anything. It appears that a small preview dialog pops up briefly before the crash, suggesting that this is a drawing error during rendering of the preview pane. Is anyone else experiencing this? This is a completely fresh install and can be replicated with a blank database.
System.ArgumentException was unhandled
Message="Parameter is not valid."
Source="System.Drawing"
StackTrace:
at System.Drawing.Font.Clone()
at Microsoft.Rms.IO.HardwareIOFramework.QueuePrintDocument.RenderTableHeaderOrBody(String headerOrBody, TableBorderSettings border, Single& currentTop, Single currentLeft, Graphics gdiPage, Int32 printActionIndex, Single lowerBoundary, String backgroundColor)
at Microsoft.Rms.IO.HardwareIOFramework.QueuePrintDocument.PrintDocumentSection(PrintPageEventArgs e, Int32 startIndex, Int32 endIndex)
at Microsoft.Rms.IO.HardwareIOFramework.QueuePrintDocument.OnPrintPage(PrintPageEventArgs e)
at System.Drawing.Printing.PrintDocument._OnPrintPage(PrintPageEventArgs e)
at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.PrintDocument.Print()
at System.Windows.Forms.PrintPreviewControl.ComputePreview()
at System.Windows.Forms.PrintPreviewControl.CalculatePageInfo()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.PrintPreviewControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at Microsoft.Rms.Host.HostApplicationContext.Main(String[] args)
InnerException:
*This post is locked for comments
Hi Trent, many thanks for the idea.
Do you know which .NET framework version POS 2009 was built with? My brief searching doesn't seem to be bringing up anything useful. This is Windows 7 x64, so I'm under the impression that .NET 3.5 SP1 is baked in by default. I did try installing the new .NET 4 framework from the link you sent, but I'm afraid the same crash is still reproducible.
I had also previously suspected it was a library problem, so I had tried reinstalling the C++ 2005 Redistributable (which I noticed is installed during POS 2009 installation). Unfortunately, this had little effect as well.
Thanks again for your help!
Hello Victor,
Thanks for the update.
Most instances of this type of error that I found (not specific to Point of Sale or RMS) seem to deal with .Net framework.
Please be sure that your .Net Framework is up to date.
Let us know if you have any other questions.
Thanks for the replies. I have not made any changes to the default receipt formats. These files are just those installed with a blank database in SP1. This crash happens with a fresh install of POS 2009 + SP1. Thanks again for your suggestions.
Thank you for your questions.
Thank you Jeff for suggesting a solution.
Let us know if you have any other questions.
We don't sell/support/endorse MSPOS but this error message usually relates to either a unfinished comment line or a line that contains an apostrophe without surrounding the line with double quotations marks. Check out your mods.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,802 Super User 2024 Season 2
Martin Dráb 229,133 Most Valuable Professional
nmaenpaa 101,154