Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Windows 10 - Dynamics GP - Cannot Open Log File - Macro Problem

Posted on by Microsoft Employee

Posting this nuance out there for anyone else having a similar issue.  My problem was that when I upgraded one of my machines to Windows 10, the macros recorded in Dynamics GP started failing with a strange error.  <Cannot Open Log File (Line #0)>  Not all of the macros would fail.  On top of that, sometimes the macro would run once, then fail thereafter.  I am running Dynamics GP 2015.

The problem was that the macro file was creating a local log file on the c: drive.  I believe this creation of the local log file was seen by windows/windows defender as being malicious and consequently shut it down.  

Hope this helps someone else out there!  Stumped me for a very long time....

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Windows 10 - Dynamics GP - Cannot Open Log File - Macro Problem

    Leslie,

    I'm having this problem at a client. I've granted permissions to the users to the Dynamics install folder, but I'm still getting the error.  Where can you change the location of the macro log file?

    Thank you, 

    Scott

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Windows 10 - Dynamics GP - Cannot Open Log File - Macro Problem

    I am having this issue with a co-worker who has a new computer using Windows 10. How do I solve this problem?

  • Suggested answer
    L Vail Profile Picture
    L Vail 65,271 on at
    RE: Windows 10 - Dynamics GP - Cannot Open Log File - Macro Problem

    Have you changed the log file to a different location?

    Leslie

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans