Navision RTC - Email attachment
rakeshr
Member Posts: 15
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
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
0
Comments
-
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 Shelar0 -
Thank you Nilesh, I will try this tonight and get back to you.. once again I really am thankful for this...
Rakesh0 -
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
Rakesh0 -
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
Rakesh0 -
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> with error: The data is invalid.
please help0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions