Forum Discussion

bmcabe's avatar
bmcabe
Occasional Contributor
13 years ago

MHT log file error

I have three systems running test script under TestExecute 8. I export the log files to a common directory in MHT format. For 2 of the systems I can open the files in IE, but on the third I get an error. Comparing the files I see that the system that exports the unreadable files I have:




------=91054B2BCA094A0CA928C2A8E83BD642

Content-Type: application/octet-stream

Content-Transfer-Encoding: base64

Content-Location: http://localhost/index.htm


before the first block, where as the readable file have




------=7D758D28136E4F37B433D923653CB93

Content-Type: text/html

Content-Transfer-Encoding: base64

Content-Location: http://localhost/index.htm


can someone explain why one system puts out the  application/octet-stream rather than text/html ?

3 Replies

  • bmcabe's avatar
    bmcabe
    Occasional Contributor
    As noted in my post, 1) I exporting to a common directory, not mailing the logs, 2) I have the exported files, but they won't load in IE.
  • ArtemS's avatar
    ArtemS
    SmartBear Alumni (Retired)
    Hi Robert,



    Ok, then you need to check and modify the .htm-file association on the problematic system.

    Open the registry editor, find the HKEY_CLASSES_ROOT\.htm registry key and check its section values. The "Content Type" section should be "text/html", and "PerceivedType" should be "text".



    Regards, Artem.