web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

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

(2) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    L Vail Profile Picture
    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

  • Community Member Profile Picture
    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?

  • Community Member Profile Picture
    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans