NAV2015 Email Quote, Sales order. LDAP server is unavailable

KCLai
Member Posts: 31
When connected to office Domain, I could email quote and SO.
but when at Home (without connecting to Domain), I received error LDAP server is unavailable.
Full error as follow
A call to Microsoft.Dynamics.NAV.SMTP.MailHelpers.TryGetEmailAddressFrom Active Directory failed with this message: The LDAP server is unavailable.
NAV 2015 PU6 was installed recently.
Has anyone faced this issue?
but when at Home (without connecting to Domain), I received error LDAP server is unavailable.
Full error as follow
A call to Microsoft.Dynamics.NAV.SMTP.MailHelpers.TryGetEmailAddressFrom Active Directory failed with this message: The LDAP server is unavailable.
NAV 2015 PU6 was installed recently.
Has anyone faced this issue?
0
Comments
-
I'm experiencing the same issue with NAV2016. Have you ever been able to resolve this issue?0
-
If you debug your session, can you check which dotnet variable causes the error? Has this dotnet variable runonclient property to yes?0
-
The error is returning on COD397 (Mail) at MailHelpers.TryGetEmailAddressFromActiveDirectory
LOCAL GetActiveDirectoryMailFromUser() : Text IF FileManagement.CanRunDotNetOnClient THEN IF CANLOADTYPE(MailHelpers) THEN EXIT(MailHelpers.TryGetEmailAddressFromActiveDirectory);
And yes, the OnRunClient is set to Yes.0 -
Then you have it. It is a design error of microsoft. The real question is: How to resolve it? My brain hurts!
Which E-Mail do you want to use for sending the quote, if you are at home? I guess we have to find a workaround for your specific problem.
If the email is the same, then there is maybe the possiblity to use the primary outlook account on your home office pc to send the mail. In this case we have to change the code a little bit, to make this possible.
It's a pitty that I dont have the environment to test this issue.
You can also open a Microsoft call and ask them, how to resolve this.0 -
Robert,
Thanks for your input in this. I'll most likely reach out to Microsoft with regards to this.0 -
Hi,
I managed to skip the line in Code397 and it worked.
CollectCurrentUserEmailAddresses(VAR TempNameValueBuffer : TEMPORARY Record "Name/Value Buffer")
AddAddressToCollection('UserSetup',GetEmailFromUserSetupTable,TempNameValueBuffer);
AddAddressToCollection('AuthEmail',GetAuthenticationEmailFromUserTable,TempNameValueBuffer);
//AddAddressToCollection('AD',GetActiveDirectoryMailFromUser,TempNameValueBuffer);
1 -
but if i met [//AddAddressToCollection('AD',GetActiveDirectoryMailFromUser,TempNameValueBuffer);] in comment a nother message run i manage my smtp On google SMTP and it dosn't work
i think it is the solution manager if i have anothore product excepte microsoft producte (outlook or office365 ) can corerectly running?? !!!
sorry but you can put your openion about this ;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