Problems getting encryption (TripleDES) working

Shaggs
Member Posts: 36
I'm trying to use encryption in NAV 2009 SPR (RTC), using instructions set out on Kertan's blog (http://mibuso.com/blogs/kirtangor/2010/ ... amics-nav/). I'm not having much luck yet though.
I have built the TripleDES.dll file according to the steps laid out in the blog entry, but I dont think it is getting registered properly. I have tried the usual regsvr32, but this didnt work. Eventually I used the line:
This message is for C/AL programmers:
Any ideas as to what I'm doing wrong?
Thanks.
I have built the TripleDES.dll file according to the steps laid out in the blog entry, but I dont think it is getting registered properly. I have tried the usual regsvr32, but this didnt work. Eventually I used the line:
c:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe TripleDES.dll /tlb:TripleDES.tlbwhich seemed to work better - it was now available to be used within NAV. I wrote my code (similar to that in the blog), but it wont work. In the RTC I get the message:
When I run the same code in the classic client, I get the message:Retrieving the COM class factory for component with CLSID {8B3A39BA-5039-4248-A1FF-5455555400F8} failed due to the following error: 80070002.
This message is for C/AL programmers:
I'm at a loss now. The dll has been registered on both the client and the service tier (they are different computers).Could not create an instance of the OLE control or Automation server identified by
GUID={09B97DBF-A155-40B1-95DD-633D8672A9D3} 1.0:{8B3A39BA-5039-4248-A1FF-5455555400F8}:'TripleDES'.TripleDES.
Check that the OLE control or Automation server is correctly installed and registered.
Any ideas as to what I'm doing wrong?
Thanks.
0
Answers
-
when you are registering the DLL tro to add codebase parameter. Unregister it and reregister it with the paramater.
RegAsm.exe TripleDES.dll /tlb:TripleDES.tlb /codebase
0 -
you are welcome. Just change the topic to solved.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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