Crashing RTC when printing the same time the same report.

RoelofRoelof Member Posts: 377
edited 2013-07-30 in NAV Three Tier
There were 2 users who were affected with this, both trying to print a (Pallet Tag) report in RTC. Both users where trying to print at the same time, it crashed the entire Server service.
The printer that the two users were using as their primary was down. Why would this cause this issue? Since the printer is online again, users can print that report just fine without crashing the server for everyone.

Is there a hot fix or anything that Microsoft has put out about this issue? Seems awfully extreme that one user's RTC report not being able to print can bring down the entire application.
Roelof de Jonghttp://www.wye.com

Comments

  • mikmik Member Posts: 79
    Hi,
    I think there is not enough information to help you with your problem. What's on the report?
    I know that there is a problem when printing a report with big pictures on it. Because every line which is send to the report layout includes a picture. So the memory usage for printing is to high. I don't know if there is a chance in this case that the client or service will crash. Normaly only the report has no data on it.

    With kind regards
    mik
  • skullaskulla Member Posts: 140
    Please check the event viewer on client machine and on NAV server usually it will create an entry with error if there is a crash or connection lost. The detail information on the error should guide you for next steps.
  • RoelofRoelof Member Posts: 377
    Here is what is in the event log:

    Service: MicrosoftDynamicsNavServer
    User: SHFB-SC\mhepler
    GenericException:
    Type: System.Reflection.TargetInvocationException
    Message: Exception has been thrown by the target of an invocation.
    StackTrace:
    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(Object obj, String methodName, Object[] args)
    Source: mscorlib
    GenericException:
    GenericException:
    Type: System.Drawing.Printing.InvalidPrinterException
    Message: No printers are installed.
    StackTrace:
    at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal(String printer)
    at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal()
    at System.Drawing.Printing.PrinterSettings.GetHdevmode()
    at System.Drawing.Printing.PageSettings.GetPaperSize(IntPtr modeHandle)
    at System.Drawing.Printing.PageSettings.get_PaperSize()
    at Microsoft.Dynamics.Nav.Client.ReportRenderer.CreateEMFDeviceInfo(PageSettings pageSettings)
    at Microsoft.Dynamics.Nav.Client.ReportRenderer.RenderLocalReport()
    at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.ReportPageReadyWinFormsPrintDirectly(ReportRequest reportRequest, ReportExecutionItem reportExecutionItem, Boolean isFirstPage)
    at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass19.<ReportPageReady>b__18()
    at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass1.<RunClientRequest>b__0()
    at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.WaitForServerResponse(IAsyncResult asyncResult, ThreadCallbackContext threadEventContext)
    Source: System.Drawing
    Roelof de Jonghttp://www.wye.com
Sign In or Register to comment.