Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Integrating Microsoft Dynamics NAV 2017 with Outlook

Posted on by Microsoft Employee

Hello Experts,

I have managed to integrate Dynamics Navision 2017 with Outlook 2016, and I am able to create all new docs, such as Sales Quotes, Sales Orders, Sales Invoices, etc. But the issue I am getting is, when I am sending quote from Outlook using "Send by Email" function, it is generating a new e-mail with quote information in body but shows "Download Failed" in attachments section of the e-mail generated. When I checked the event viewer, I found below error message

Error accessing Website Microsoft Dynamics NAV 2017 Web Client
Raw Url: /DynamicsNAV100/WebClient/OpenDynamicFileHandler.axd
Url: demonav/.../OpenDynamicFileHandler.axd
Type: System.ArgumentException
Message: Http context request object is not valid.
Parameter name: context
StackTrace:
at Microsoft.Dynamics.Framework.UI.Web.DynamicHandler.ProcessRequestCore(HttpContext context, IExceptionHandler exceptionHandler, ClientSessionBase clientSession)
at Microsoft.Dynamics.Framework.UI.Web.DynamicBlobHandler.ProcessRequestCore(HttpContext context, IExceptionHandler exceptionHandler, ClientSessionBase clientSession)
at Microsoft.Dynamics.Framework.UI.Web.HttpHandlerBase.ProcessRequest(HttpContext context)
Source: Microsoft.Dynamics.Framework.UI.Web

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Integrating Microsoft Dynamics NAV 2017 with Outlook

    i just get this error in NAV 2018 - 2017 is a little bit different, but maybe you can adopt my fix:

    Look in the webclient-config (nav-settings.json in inetpub of your webclient for NAV 2018 - for NAV 2017 it should be the web.config - maybe you can add a key there - not sure) -> there is a point where the management-port is needed, if it is not the standard-port

    "//ManagementServicesPort":  "The listening TCP port for the Microsoft Dynamics NAV management endpoint. Valid range: 1-65535",

                             "ManagementServicesPort":  "7185", <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

    community.dynamics.com/.../912474

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Integrating Microsoft Dynamics NAV 2017 with Outlook

    Hello

    did you find a solution to this problem yet please?

    Thanks

    Pete

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Integrating Microsoft Dynamics NAV 2017 with Outlook

    Hi AJ,

    Previously i am using CU 4 but now i have upgraded to CU9 and again configured. Now the issue is   when i am using send by Email function from outlook addins the files is saved with Zero Bytes(means file gets Courrupted). is there any solution on this

  • Suggested answer
    AJAnsari Profile Picture
    AJAnsari 5,754 on at
    RE: Integrating Microsoft Dynamics NAV 2017 with Outlook

    Hi Prashantu,

    What Cumulative Update / Build and localization of NAV 2017 are you using? I am on NAV 2017 CU 9 (North American localization), and I can confirm that it works (there are other issues related to the PDF that is generated, but you can still send the quote / order confirmation, etc.) without issue.

    I have tried with both the Windows Client for Outlook 2016 as well as the Outlook 365 web client just now and it works in both.

    My thoughts are that you may want to get on the latest Cumulative Update for NAV 2017 (CU 11, I believe). If you cannot do a CU at this time, you may want to open a case with Microsoft.

    I hope this helps. If my response has answered your question, please verify by clicking Yes next to "Did this answer your question?"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans