Outlook integration error

DenSter
Member Posts: 8,307
Hey all,
This is about the one where you have to register a different version of the application handler. I used to get the error that says 'cannot load...blah blah', so I unregistered the dll, registered the one from the product cd, and now I get another C/AL error:
This message is for C/AL programmers: This automation variable has not been instantiated. You can instantiate it by either creating or assigning it.
The frustrating thing is that the codeunits refer to an unknown automation server, and I just can't find which one it is supposed to point to. When I open the globals, I see the variable OLHandler pointing to "Unknown Automation Server.OApplication". If I select anything Outlook or Navision, I get a different classlist.
Does anybody know which one to select, or what I am missing here?
Thanks
This is about the one where you have to register a different version of the application handler. I used to get the error that says 'cannot load...blah blah', so I unregistered the dll, registered the one from the product cd, and now I get another C/AL error:
This message is for C/AL programmers: This automation variable has not been instantiated. You can instantiate it by either creating or assigning it.
The frustrating thing is that the codeunits refer to an unknown automation server, and I just can't find which one it is supposed to point to. When I open the globals, I see the variable OLHandler pointing to "Unknown Automation Server.OApplication". If I select anything Outlook or Navision, I get a different classlist.
Does anybody know which one to select, or what I am missing here?
Thanks
0
Comments
-
When you get that error it means that the correct dll is not installed or registered on you PC.
If you export the codeunit into a text file, you can see which GUI Navision uses to refer to the DLL.
With this GUI you can find which DLL to use. On the internet or on a PC where the setup works. (For the later you have to search in the Registry)
Greetings,Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!0 -
No that's the other message. This is not a matter of the incorrect dll, I had already registered the correct dll. it is poor programming on Navision's part. The code that generated the error was trying to access a method of a class that was not created. I added a CREATE statement right before the statement that errored and it went right through.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