I can't open mt4 files

 
I can't open the log file of the EA I created in mt4. I think it's a permission issue because of the 5002 error, but I can't open it even if I run it as an administrator.

I'm using a vps and I want EA to open the log file, but do you know what the cause is? I tried debugging but it said it couldn't find the folder or the file.
 
Ryu--ro- Ito-: I want EA to open the log file, but do you know what the cause is?

You can't read them, and you can't read the file because of the caching.

Figure out what buffer(s) values trigger the alert and use that.
          Detailed explanation of iCustom - MQL4 programming forum

You can't read (or write) outside the sandbox with normal code.
          File Write Problem (Error: 5002) - Expert Advisors and Automated Trading - MQL5 programming forum #1-2 (2020)

For security reasons, work with files is strictly controlled in the MQL5 language. Files with which file operations are conducted using MQL5 means, cannot be outside the file sandbox.
          FileOpen - File Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5

 
William Roeder #:

You can't read them, and you can't read the file because of the caching.

Figure out what buffer(s) values trigger the alert and use that.
          Detailed explanation of iCustom - MQL4 programming forum

You can't read (or write) outside the sandbox with normal code.
          File Write Problem (Error: 5002) - Expert Advisors and Automated Trading - MQL5 programming forum #1-2 (2020)

Thank you very much for the detailed information.
 I understand that it’s not designed to be accessible in the first place. I couldn’t figure it out on my own, so your help was invaluable.
 I will give up on the current method and try creating it using another approach.

Thank you.