We couldn't get it work.
We get an error:
The server "net.[url=tcp://server01:7046/DynamicsNAV3/Service]tcp://server01:7046/DynamicsNAV3/Service[/url]" is either unavailable or your connection has been lost. Do you want to attempt to reconnect?
Also error on Event Viewer:
Type: System.ArgumentException
Message: Invalid Conversion. Source: <NULL>, Destination: Int32.
LR
0
Comments
Ian
Ian
We get the same error.
Our solution would convert a nav report to pdf and automatically send this to the customer by email.
Any ideas anyone?
you can get rid of any pdfprinter you have (unless you have to do special things like merging, placing watermarks etc...)
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I just ran into this problem as well. Have asked Amyuni, but they have not seen this before.
I identified the problem starting with a call to a specific function: pdfConverter.FileNameOptionsEx(3);
When i execute that line from the RTC (or web service for that matter), it crashes as stated above.
I tried upgrading to version 4.5 of Amyuni, but no change there.
I have a full blown environment set up, three different computers involved and delegation set up and working.
Could this be related to the rights of the account used to run the Nav Server service?
Did any of you who experienced this find a solution?
I can't use SaveAsPDF, because I need to run the older report (invoice)....
Navet AB
Sweden
We have being investigating this issue for sometime and we believe the solution to this issue is changing which printer Navision prints to. We found that when using RTC you can either create the printer (using our CDINTF) object on the server or client.
When the object is created on the server, it looks like Navision is not allowing the printer (Amyuni) properties to change and therefore the printing fails. When the object is created on the client, Navision allows the printer settings to be changed but you can not change the system’s default printer.
In order to resolve this situation you will need to have Navision print to a specific print and not the system’s default printer. Actually when ever possible the recommended method for printing from an application is changing the application’s active printer and not the system’s default. A number of windows application expose the application printer property and you simply need to set that property to a particular printer.
I have been researching if Navision has this property but unfortunately the documentation for Navision is not very extensive and I didn’t come up with anything. What I did find were comments about changing report settings to print to specific printers. Hopefully this points you in the right direction?
http://msdn.microsoft.com/en-us/library/ff477105(v=NAV.60).aspx
Hope this is helpful?