Hi, i have a problem and i don't know the reason as well...
i just start with Nav 2013 and i'm trying to do a code unit that call a .NET function from a WebService.
To do this i create New project with Framework 4.0 with visual Studio 2010 adding web reference, and then building the solution.
I put this DLL on Addin folder in nav70, and then i create the codeunit i do DotNet Var and i load the assembly without problems, the code compiles without problems but when i execute, show an error message.
The Message is... Cannot create an instance of the following .NET Framework object: assembly........
The question is... Nav 2013 Works with generated dll from Framework 4 and visual studio 2010 or must be generated with 4.5 framework and visual studio 2012??
Thanks!
0
Comments
About the error: did you deploy it to your service's addin folder (if it's supposed to run on the server) or on the RTC's addin folder (if it's supposed to run on the client)?
Owner of V-Kwadraat (see my blog about Programming and my feed about Gaming!)
Hi,
now is in the Client Folder, must be in service?
anyones knows about any tutorial to create DLL for .NET functions and call it from C/AL NAV 2013?
Thanks!
But after a while when i wanted to update the code in dll and re deploy the new dll into the same folder. I am just unable to delete the file which says the file is open in Microsoft Dynamics Nav Server.
I have tried closing all my client windows and Nav 2013 R2 development environment too but still I am unable to delete the file. I also tried to delete all the references to the code in dll in all my pages and still i was unable to delete the dll file.
Can someone guide me in the right direction here.
Software Design Engineer II
Dynamics NAV Office 365
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.