Mail Codeunit - Hanging

deltoid
Member Posts: 41
I have a 3.10 database. My problem is that when using the 397 Mail codeunit if you did a call to NewMessage and had the ShowDialog set to true it would cause Navision to wait until the user had closed the e-mail dialog before it would continue, this would cause locking issues and I do not want to add a commit before calling the newmessage function.
In version 4.00 this problem doesn't happen so I have upgraded my Mail codeunit to the codeunit from 4.00.03 and have registered the OLHandler.dll and NATHash.dll.
In my development environment this works perfectly.
In however when other users try this (they haven't ever installed NAV 4.00 only 3.10) it will hang and not bring up the e-mail, this also happens if ShowDialog is set to false.
Any ideas?
In version 4.00 this problem doesn't happen so I have upgraded my Mail codeunit to the codeunit from 4.00.03 and have registered the OLHandler.dll and NATHash.dll.
In my development environment this works perfectly.
In however when other users try this (they haven't ever installed NAV 4.00 only 3.10) it will hang and not bring up the e-mail, this also happens if ShowDialog is set to false.
Any ideas?
0
Comments
-
wild gues,
check the outlook setup for the "integration component" or something like that, i cant find the name. So, look if that is installed.
check you are using the right automation server , the one that belongs with the version of outlook that is in use 2000, 2003, 2007 ...
I hope i havn't confused you more**********************
** SI ** Bert Van Gestel **
**********************0 -
Thanks for the reply. Yeah I was thinking that possibly the OLHandler was the wrong version for hte client's version of outlook but in other tests it works for me.
Might try and find this "integration component" you mentioned.
Thanks.0 -
The problem was resolved by Microsoft.
Version 3.10 does not support the CREATEGUID command so I just removed the code to do with it in the mail codeunit and it worked for me.
However when modifying it so that it would use my own generated GUID it will work.
Thanks for the suggestions.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