Navision RTC - Email attachment

rakeshrrakeshr Member Posts: 15
edited 2013-05-08 in NAV Three Tier
When we try to email attachment within RTC we get this error..

The server "net.[url=tcp://localhost:7046/DynamicsNAV/Service]tcp://localhost:7046/DynamicsNAV/Service[/url]" is either unavailable or your connection has been lost. Do you want to attempt to reconnect?

This is the windows log files from our Nav Server:

Service: MicrosoftDynamicsNavServer
User: ****_****\JosephiC
Type: System.IO.FileNotFoundException
Message: Could not load file or assembly 'Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
StackTrace: at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(Object obj, String methodName, Object[] args)
Source: Microsoft.Dynamics.Nav.Ncl
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
Type: System.IO.FileNotFoundException
Message: Could not load file or assembly 'Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
FileName: Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
FusionLog:
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavReport.RenderLocalReport()
at Microsoft.Dynamics.Nav.Runtime.NavReport.SaveReportToDisk()
at Microsoft.Dynamics.Nav.Runtime.NavReport.ExecuteReport(Boolean displayResult)
at Microsoft.DynamicsNav.Runtime.NavReport.RunReportInternal(NavRecord record, Boolean displayResult)
at Microsoft.Dynamics.Nav.Runtime.NavReport.SaveReportAsFormat(DataError errorLevel, String fileName, NavRecord record, ReportFormat format)
at Microsoft.Dynamics.Nav.Runtime.NavReport.SaveAsPdf(String fileName)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50170.EFTRemittancePDF(INavRecordHandle eFTLines)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50170.OnInvoke(Int32 memberId, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationObjectBase.Invoke(Int32 methodId, Object[] arguments)
at Microsoft.Dynamics.Nav.BusinessApplication.Page50171.Control1900000001_OnAction()
Source: Microsoft.Dynamics.Nav.Ncl

Thank you very much
Rakesh

Comments

  • nileshshelarnileshshelar Member Posts: 13
    Hi Rakesh,

    The ReportViewer dll has dependency on other dll and another dll is missing on you server.
    Please try to install report viewer from visual studio online.
    http://www.microsoft.com/download/en/de ... en&id=6576

    Regards,
    Nilesh Shelar
  • rakeshrrakeshr Member Posts: 15
    Thank you Nilesh, I will try this tonight and get back to you.. once again I really am thankful for this...
    Rakesh
  • rakeshrrakeshr Member Posts: 15
    Hi Nilesh,

    Thanks for your brilliant assistance yesterday... We managed to get this working for some users, but one of our user got this error :

    This message is for C/AL programmers: Unable to create an instance of Automation Server System._ComObject with CLSID = 68b34268-7559-11d3-bbe5-d53dcbd65107
    Retrieving the COM class factory for component with CLSID {68B34268-7559-11D3-D53DCBD65107} failed due to the following error:80040154

    Thanks
    Rakesh
  • rakeshrrakeshr Member Posts: 15
    Hi Team,

    This issue has now been resolved. I would like to say a BIG thank you to Nilesh for your great support and assistance. We resolved the issue on the single user by re-installing RTC... ; 0 )

    Thanks
    Rakesh
  • rakeshrrakeshr Member Posts: 15
    Hi Team,

    Just recently we have updated the Amyuni pdf convert from 2.0 to 4.0. But now we get this error "Either the caller does not have the required permission or the specified path is read only" When we hit Email Remittances in RTC.

    And this from Windows logs : Failed extract of third-party root list from auto update cab at: <http://ctldl.windowsupdate.com/msdownload/update/v3/static/trustedr/en/authrootstl.cab&gt; with error: The data is invalid.

    please help
Sign In or Register to comment.