DotNet DataType in NAV 2009 R2
jwilder
Member Posts: 263
Can someone put a simple example of how to use the new DotNet datatype in NAV 2009 R2?
Jason Wilder
jwilder@stonewallkitchen.com
jwilder@stonewallkitchen.com
0
Comments
-
0
-
You should download the updated documentation for Dynamics NAV R2 which contains a guide for the new DotNet interop feature.
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.0 -
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?Jason Wilder
jwilder@stonewallkitchen.com0 -
jwilder wrote: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.0 -
Hi,
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,
forki0 -
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.0 -
Make sure you are using .net 3.5 and not 4.0. 4.0 does not work. I am not sure about versions before 3.5 but I am guessing they would work.Jason Wilder
jwilder@stonewallkitchen.com0 -
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.”
Christian Abeln
Program Manager Microsoft
Dynamics NAV
blogs.msdn.com/cabeln/0 -
Thanks.
The problem was indeed that the assembly has to be in Client/Add-In and Service/Add-In.
Regards,
Steffen0
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

