Hi I have a problem with NAV RTC.
When we post an issue of an Item we get the error message that the service is either unavailable and the connection has been lost (NAV service seems to crash). When checking the event viewer I found an error about "No printers are installed". Could anyone please advise?
Thank you
Service: MicrosoftDynamicsNavServer$NAVService
User: ---
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()
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
0
Comments
Troels Bent Hansen
Senior Program Manager
Microsoft Dynamics NAV
****** This posting is provided "AS IS" with no warranties, and confers no rights ******