create interact error - "Integer cannot be empty

Nagi
Member Posts: 151
Hi,
I'm experiencing an error when trying to create an interact from the contact card. When trying to create the e-mail message, an error occurs and the error message "Integer cannot be empty" (the error message is translated from Norwegian, so in English it may differ slightly) is given. I ran a debug and the execution breaks in codeunit 396 - Mail. The break point is in the GetErrorCode function.
Still being somewhat of a rookie in NAV development, I'm not very proficient with automations but it seems to me that the error is related to the variable OSendMail (an automation type NS Outlook Synchronization Handler). The variable ErrorNo is an integer and the GetErrorCode function is called with this variable.
Are there any experts out there who could shed some light on this problem? What would cause the statement EXIT(OSendMail.ErrorStatus) to return a null value? Or am I looking in the wrong place?
Any feedback is appreciated!
Cheers!
I'm experiencing an error when trying to create an interact from the contact card. When trying to create the e-mail message, an error occurs and the error message "Integer cannot be empty" (the error message is translated from Norwegian, so in English it may differ slightly) is given. I ran a debug and the execution breaks in codeunit 396 - Mail. The break point is in the GetErrorCode function.
Still being somewhat of a rookie in NAV development, I'm not very proficient with automations but it seems to me that the error is related to the variable OSendMail (an automation type NS Outlook Synchronization Handler). The variable ErrorNo is an integer and the GetErrorCode function is called with this variable.
Are there any experts out there who could shed some light on this problem? What would cause the statement EXIT(OSendMail.ErrorStatus) to return a null value? Or am I looking in the wrong place?
Any feedback is appreciated!
Cheers!
0
Answers
-
Just adding a little info to what I said above. I have checked that the automation is installed. Next, I thought maybe this had something to do with the OLHandler.dll not being registered, but I checked this also and it is.0
-
I've the same problem on the customer pc.
On my own pc there is no problem.
Which outlook version do you use?
I have the same olhandler.dll version on my pc and customer pc.
But outlook has another sp number.
I didn't yet find out what the problem is.0 -
And which navision version do you use?0
-
I think that this is a NAV 4.00SP2 bug in OLHandler.DLL. try to use newer or older one.0
-
This problem relates to 4.0 SP2. The problem is exactly as Gul describes it. On my own PC it works fine, but not on the customer's PC. They've been using the create interact feature for quite a while, so everything has been working fine up until now; of course, now I learn that a third party has made some changes to their mail setup (why don't the customers ever tell you stuff like this right away :-k ). I'm still not sure exactly what changes were made, but maybe this triggered the bug that Kine is talking about.0
-
Replacing the OLHandler.dll with OLHandler.dll from 4.0 SP3 and then registering it worked! Problem solved! Thanks for the help! =D> =D> =D>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