Ask a Question

Exported log file cannot be opened

SOLVED
whuang
Regular Contributor

Exported log file cannot be opened

Hi,

 

I used the Log.SaveResultsAs method to export the log file on my local machine, but when I am having difficulty to open the file. Does anyone know how to fix this?

Capture.PNG

Thanks in advance.

3 REPLIES 3
Marsha_R
Champion Level 2

Are you able to move that file somewhere else, like to your desktop, and then open it?

whuang
Regular Contributor

Hi @Marsha_R , yes after I moved the file to my desktop it is readable now, but why it was not working in that folder? I used to store my files in that folder, and it was accessable before.

AlexKaras
Champion Level 2

Hi,

 

> why it was not working in that folder?

This is because exported log is in the MHTML format, contains scripts and is located on the netowork drive. Windows denies execution of such files by default. You need either to enable the file on the per-file base (open file's properties - the relevant setting should be somewhere there) or to search for the generic solution.

 

P.S. If you manage to find the generic solution I would appreciate it if you update this thread with your findings.

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
cancel
Showing results for 
Search instead for 
Did you mean: