Shoutbox

Can't open decrypted log file - very important - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! Help (/forumdisplay.php?fid=12)
+----- Thread: Can't open decrypted log file - very important (/showthread.php?tid=53698)

Can't open decrypted log file - very important by Informator on 12-07-2005 at 07:24 PM

Hi guys,

Recently, for some reason, when I try to open my encrypted log files (using the correct password), an error box informs me "The decrypted file couldn't be opened!" I have never had this problem before. I have tried reinstalling MSG Plus, and changing the password, and nothing helps. It is extremely important that I can get access to these files, especially as they include some logs from a friend of mine who is no longer with us.

Any help would be greatly appreciated!


RE: Can't open decrypted log file - very important by MeEtc on 12-07-2005 at 07:42 PM

Silly question, but is your caps lock on?
are you SURE it's the right password?
otherwise, the logs are not recoverable without the correct password


RE: Can't open decrypted log file - very important by Informator on 12-07-2005 at 09:45 PM

Yes, I'm absolutely certain that the password is correct and Caps Lock is off, etc. To test, I entered in several wrong passwords (including the correct one with incorrect capitalisation) and it gave me an Incorrect Password error.

Please - there really must be *something* that can be done. It seems this isn't a situation where it can't decrypt the file - it just can't open the decrypted version. There really must be some way of capturing that decrypted output, surely? I can understand them being unrecoverable if the password is incorrect, but that is not the case here. If it truly is impossible, then surely a warning to that effect would be a good idea - if I had known that my logs may become unrecoverable, I would have thought twice about doing it.


RE: Can't open decrypted log file - very important by Patchou on 12-09-2005 at 05:08 AM

This error message only comes up when the default editor for txt files can't be started. This also will happen if you changed the editor with a registry key. In both cases, if you don't have time to search for the problem, I suggest you open the log from another computer to get access to your file.


RE: Can't open decrypted log file - very important by RaceProUK on 12-09-2005 at 01:42 PM

quote:
Originally posted by Patchou
This error message only comes up when the default editor for txt files can't be started.
Why not hardcode a 'notepad' backup?
RE: Can't open decrypted log file - very important by Informator on 12-09-2005 at 07:45 PM

Thanks for your responses guys (Patchou - I am honoured!) I have had a good poke in the Registry and haven't yet found any key which might hold details for default text editor. Next step is to try and open them on another system and see what I can find out.

I'll be sure to post my findings here to help others. Wish me luck!


RE: Can't open decrypted log file - very important by RaceProUK on 12-10-2005 at 12:17 AM

You don't need to delve into the Registry ;)
Open Explorer, go to Tools -> Folder Options.
On the Types tab, find TXT and set a default program for it ;)
Apply, OK, and you're done.


RE: Can't open decrypted log file - very important by yuka on 12-11-2005 at 09:27 PM

I have also the same problem as above described. It surfaced recently. I'm not too sure what caused it. I don't think it's a problem with Notepad. I tried what Raceprouk said but it did not help.

And I'm definitely sure it's the right password.


The plot thickens!! by Informator on 12-13-2005 at 01:41 PM

I have made some progress on this matter. I hope this can help others to go further than I have managed so far.

I was flicking through my ZoneAlarm Pro logs and I noticed three alerts for 'OSFirewall'. They were all for Messenger Plus, where ZoneAlarm had blocked it opening notepad as another process. ^o)

I disabled OSFirewall and restarted the system. The decrypted file error is now gone. BUT...when opening the file, I now get the error from Notepad (not MSGPlus):

"The filename, directory name, or volume label syntax is incorrect."

It opens a blank notepad window to go with this. My limited research on this subject has turned up a bunch of sutff about hidden streams, but nothing I can make progress with. I'll keep trying and will report with any developments.:wall:


RE: Can't open decrypted log file - very important by CookieRevised on 12-13-2005 at 02:58 PM

quote:
Originally posted by Informator
My limited research on this subject has turned up a bunch of sutff about hidden streams, but nothing I can make progress with.
Nothing hidden about how Plus! opens an encrypted log though:

When you double click on a encrypted log in Windows Explorer, Messenger Plus! asks you for the password.

It then decrypts the data in the log and saves the decrypted data as a new log in your temporary windows directory.

It then starts Notepad (or whatever texteditor you've set to open it with) with that temporary saved decrypted textfile.

After you've done with and you closed notepad, the tempoary file is deleted.

-------------------

The error you got from notepad indicates that there is something wrong with the filename of that temporary log. Which seems very strange as the filename of that log is always in the form "blah@blah.com {decrypted}.txt". In other words, no characters are used which could be invalid for a filename.

Just to try it out, try to totally disable, exit and close the whole ZoneAlarm thing and/or any other "security" thingie you might have. Thus including viruschecks, on the fly scanning, firewall, etc. etc. and try again.
RE: RE: Can't open decrypted log file - very important by Informator on 12-13-2005 at 03:27 PM

quote:
Originally posted by CookieRevised
Nothing hidden about how Plus! opens an encrypted log though:


Sure, I never thought that MsgPlus hid anything. Just when I googled for that error it mostly came up with pseudo-hacking tutorials on things involving hidden streams.

You mentioned that it will decrypt the log then open notepad (or whatever you've configured it to open with). I couldn't find an option to change the default text editor. Even when I associated .txt files to another program, it still opened Notepad. If you could tell me how to use another program to view logs, then that would be very helpful in my investigation.
RE: Can't open decrypted log file - very important by CookieRevised on 12-13-2005 at 03:56 PM

quote:
Originally posted by Informator
(or whatever you've configured it to open with). I couldn't find an option to change the default text editor. Even when I associated .txt files to another program, it still opened Notepad. If you could tell me how to use another program to view logs, then that would be very helpful in my investigation.
see http://www.msgplus.net/help_registry.php and the LogViewerProgram registry setting. If you're not familiar with the registry, you can also use Choli's Plus! Tweaker which you can find on that same page.

PS: If you set it to another text editor/viewer, make sure that the text editor/viewer supports unicode textfiles for total compatibility. Otherwise you end it up seeing the same as what happened here.


1) But before attempting this, try what I suggested in my previous post.
2) If that didn't work then do it again, but this time, when the (empty) notepad is opened and before you close the message box with that error, navigate to your temporary windows directory and look if there is a file with a name like "blah@blah.com {decrypted}.txt". If so open it yourself by double clicking on it.

------------------

quote:
Originally posted by Informator
Even when I associated .txt files to another program, it still opened Notepad.
This should not happen! Plus! always uses the associated program for opening textfiles. So either you didn't associated textfiles (extension TXT) properly to notepad, iether there is something seriously wrong within the registry, or either there is another program running in the background preventing all sorts of stuff from running properly.

RE: Can't open decrypted log file - very important by Informator on 12-13-2005 at 04:14 PM

Right! I have further news.

1) Shutting down ZoneAlarm, virus scanners, etc made no difference. Notepad still opened up with the error. Uninstalling and reinstalling MsgPlus similarly made no difference.

2) Changing the LogViewerProgram entry to something like "wordpad "%s"" meant that the logs reverted to "Can't open the decrypted file!" error.

3) But some success! After following your advice Cookie, I had a look in my Temp folder. There was indeed a "blah@blah.com {decrypted].txt" file in there, which opened with no problems at all. When I OK'd the error in the original Notepad window, the file was then removed.

So, the logs are there and are accessible. :banana: But at the moment, I can't seem to find a way for them to open in Notepad first time, or why the error is occurring. My system event viewer doesn't show any Notepad errors in it. So if we can work out this last part of the conundrum, my life will be complete :)


RE: Can't open decrypted log file - very important by yuka on 12-13-2005 at 10:44 PM

I followed the thread and disable OSFirewall. After disabling OSFirewall, the problem for me was solved. :D:D

Informator might have some problem with his Notepad application.

Thanks Informator

-Yuka


RE: RE: Can't open decrypted log file - very important by Informator on 12-14-2005 at 02:02 AM

quote:
Originally posted by yuka
I followed the thread and disable OSFirewall. After disabling OSFirewall, the problem for me was solved. :D:D

Informator might have some problem with his Notepad application.

Thanks Informator

-Yuka




No problem Yuka, just glad I can help some other people out too(H)