In the CHM file, browse to the section "Extending Microsoft Dynamics NAV Using Microsoft .NET Framework Interoperability" in "Developer Updatges for Microsoft Dynamics NAV R2"
The document contains a number of examples that can help you get started, if you need additional help, please feel free to contact me.
_________________
Niels-Henrik Sejthen
Senior Software Developer
Microsoft Dynamics NAV
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
When I download,extract and run this file it doesn't display the text on the right hand window, it says "This program cannot display the webpage". Any thoughts?
When I download,extract and run this file it doesn't display the text on the right hand window, it says "This program cannot display the webpage". Any thoughts?
I had the same problem when I was trying to open chm from network drive. After copying it to local drive it open without problems. Also check file attributes and permissions.
Hi
Sounds like the custom assembly is missing in the run time environment. Remember to deploy the assembly to the Add-ins folder within your servers installation folder. Find the folder that contains Microsoft.Dynamics.Nav.Server.exe and create a subfolder named Add-ins in that folder. Copy your assembly and all dependencies (that does not exist in the GAC) to the Add-ins folder.
If you want to run the custom assembly client side, you will have to deploy it to teh Add-ins folder relative to the client folder.
_________________
Niels-Henrik Sejthen
Senior Software Developer
Microsoft Dynamics NAV
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Confirmed: Any .NET Version 3.5 and before will work for RTC Add-Ins and .NET Interop solutions.
.NET 4.0 does not work, because the host process (RTC / Service) is not running on .NET 4.0 in shipping versions of NAV.
“This posting is provided "AS IS" with no warranties, and confers no rights.”
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Look for the file NAV 2009 R2 Help Update.zip on http://www.microsoft.com/downloads/en/d ... 93c9ac282a
In the CHM file, browse to the section "Extending Microsoft Dynamics NAV Using Microsoft .NET Framework Interoperability" in "Developer Updatges for Microsoft Dynamics NAV R2"
The document contains a number of examples that can help you get started, if you need additional help, please feel free to contact me.
Niels-Henrik Sejthen
Senior Software Developer
Microsoft Dynamics NAV
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
jwilder@stonewallkitchen.com
I had the same problem when I was trying to open chm from network drive. After copying it to local drive it open without problems. Also check file attributes and permissions.
it seems there are only samples with .NET framework code. It would be nice to see a sample with custom .NET assemblies.
I'm always getting an unspecific error when I try to use a custom constructor. NAV is telling me that it can't create an instance of my .NET object.
Regards,
forki
Sounds like the custom assembly is missing in the run time environment. Remember to deploy the assembly to the Add-ins folder within your servers installation folder. Find the folder that contains Microsoft.Dynamics.Nav.Server.exe and create a subfolder named Add-ins in that folder. Copy your assembly and all dependencies (that does not exist in the GAC) to the Add-ins folder.
If you want to run the custom assembly client side, you will have to deploy it to teh Add-ins folder relative to the client folder.
Niels-Henrik Sejthen
Senior Software Developer
Microsoft Dynamics NAV
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
jwilder@stonewallkitchen.com
.NET 4.0 does not work, because the host process (RTC / Service) is not running on .NET 4.0 in shipping versions of NAV.
Christian Abeln
Program Manager Microsoft
Dynamics NAV
blogs.msdn.com/cabeln/
The problem was indeed that the assembly has to be in Client/Add-In and Service/Add-In.
Regards,
Steffen