Monday, April 5, 2010

putty connection manager weird error

hi,

when working with putty connection mgr i get the below error:
4/5/2010 3:48:47 PM:RUNTIME ERROR : Unknown exception occured
4/5/2010 3:48:47 PM:  Error : Object reference not set to an instance of an object.
4/5/2010 3:48:47 PM:  StackTrace :
4/5/2010 3:48:47 PM:     at x650e12b2512cbeed.x7fbe3d3b15648174.x765e6a19136b68b9()

and i figured out a fix for it.

in the options select the hide when minimised option. and it starts working. i will also post the same to the autors :)



94 comments:

  1. Thank you very much Ravi.... Thought it was related to .net framework.

    Regards,
    Selvin

    ReplyDelete
  2. cool. i was really stuck with this problem

    ReplyDelete
  3. Thank you, it worked for me as well :)

    ReplyDelete
  4. Thanks very much for the tip Ravi :-)

    ReplyDelete
  5. Great tip. Was struggling with this for a while. Some forums suggested a alpha version. But, the problem didn't go away. Thanks for this blog!

    http://puttycm.free.fr/support/forum/viewtopic.php?f=6&t=174

    http://puttycm.free.fr/support/forum/viewtopic.php?f=9&t=1531

    ReplyDelete
  6. Thanks. Worked for me. I don't like the hide feature, but I like it better than crashing!

    ReplyDelete
  7. FYI, at least on W7, you can just enable the Show Tray Icon in some instances to eliminate the error.

    ReplyDelete
  8. Worked like a charm! This is a stupid bug. Thanks for the post.

    ReplyDelete
  9. Thanks so much, this solved my problem!

    ReplyDelete
  10. Thanks a ton..was fighting with it for a long time. I tried many other installers but none of them worked. Simple solution.

    Thanks again.
    Kris

    ReplyDelete
  11. Thanks, it solved my problem as well! One detail though, you don't have to select the "Hide when minimized" option, only the "Show tray icon" will do.

    Best regards,
    Zacchi

    ReplyDelete
  12. Good workaround..... :)

    ReplyDelete
  13. Thanks for the tip!!!

    ReplyDelete
  14. Thank You for sharing!

    ReplyDelete
  15. Ravichandra, Thanks a lot. Very Usefull to me.

    Rodrigo

    ReplyDelete
  16. Ohh Man! Thanks a lot. I was struggling with this. Such a silly bug.

    ReplyDelete
  17. Thank you. I unchecked both of those cuz I didn't want the tray icon, weird that it caused these errors. But, it is all better now. :)

    ReplyDelete
  18. THANK YOU SO MUCH - KEEP UP WITH THE GOOD WORK!

    ReplyDelete
  19. thanks for solution

    ReplyDelete
  20. Greate, thanks for the informative post - this was the first link in Google. Did this start happening to anyone BEFORE they selected one of those options ? I had previously select the hide when minimized and show tray icon options. I had problems with restoring the program when minimized and hidden. It would work for a while, then the tray icon would become unresponsive and show no options so I would have to use task manager to kill the program and the PuTTY tasks and resart everything, so i turned those options off. Then after a reboot, I started having this issue. I'm wondering if there are some registry keys or some .ini file I can edit ?

    *** found it - go into the registry at HKCU\Software\ACS\PuTTY Connection Manager. Export the key to make a backup.
    Delete the (2 on my computer) keys that relate to the 2 options discussed above. After I restarted the program, it worked fine again.

    ReplyDelete
  21. Thanks! You're a life saver!

    ReplyDelete
  22. Thanks! Another user saved! Appreciate the help

    ReplyDelete
  23. Cheers for the tip :)

    ReplyDelete
  24. I had the same problem too. I just enable the "Show tray icon (restart necessary)". I did not enable the "Hide when minimized". Still it is working.

    Thank you for this tip. It helps me a lot!

    ReplyDelete
    Replies
    1. it helped me.

      thank you

      Delete
  25. Thanks, it worked for me on Windows 7.

    ReplyDelete
  26. Thanks :) it worked for me on Windows 7 after enabling the "Show tray icon (restart necessary)". I did not enable the "Hide when minimized".

    ReplyDelete
  27. Great buddy!!, worked for me too, Nice!

    ReplyDelete
  28. Thanks for solution mate! Worked perfectly!

    ReplyDelete
  29. Very nice. It worked well after applied your suggestion. I wonder why the CM behaves so weird when it is not checked. Anyways, Thanks very much. Good fix.

    ReplyDelete
  30. Thanks So much! I was under impression it was due to encryption plugin..

    ReplyDelete
  31. Thank you, Thank you, Thank you

    ReplyDelete
  32. Many thanks! That solved it :)

    ReplyDelete
  33. thanks a lot guys
    Its working for me :)

    ReplyDelete
  34. In my case is with the error below.

    01/07/2011 17:34:10: RUNTIME ERROR: Unknown exception occured
    01/07/2011 17:34:10: Main error: Error setting value in registry
    01/07/2011 17:34:10: Internal error: Attempted to perform an unauthorized operation.
    01/07/2011 17:34:10: StackTrace:
    01/07/2011 17:34:10: at Microsoft.Win32.RegistryKey.Win32Error (Int32 errorCode, String str)
    at Microsoft.Win32.RegistryKey.SetValue (String name, Object value, RegistryValueKind valueKind)
    at xf8a2db0daad0fc30.x7c5007b79c96ccb1.xc7b6e59bfbbe9301 (xbcea506a33cf9111 Int32, String xba08ce632055a1d9, xcba7b74df3bfcb2b String, String x13b7198cc276a66f)

    I am using putty on windows 7.

    ReplyDelete
  35. Great !! works like a charm - still a stupid bug

    ReplyDelete
  36. Worked for me, too. Thanks!

    ReplyDelete
  37. Thanks a lot, but I don't think this as expected behavior. Did anyone brought it to notice of developers

    ReplyDelete
  38. Thank you!

    It's a really irritating bug.

    ReplyDelete
  39. Thanks. You save my little life :)

    ReplyDelete
  40. it still doesn't work for me :(. Any other solution?

    ReplyDelete
  41. Thanks a lot. I just checked the 'show tray icon' and its back to normal !!

    ReplyDelete
  42. "I had problems with restoring the program when minimized and hidden. It would work for a while, then the tray icon would become unresponsive and show no options"

    Same error (windows 7 - 64 bit), solving by amazing action :

    1 - right click on the tray icon
    2 - hold right click and realize a left click

    Then the menu appear ! & 0

    ReplyDelete
  43. One more thank you from Alexey. Odessa, Ukraine.

    ReplyDelete
  44. You are a little master :)
    Thanks.

    ReplyDelete
  45. Thanks, from Odessa

    ReplyDelete
  46. Thanks for your good solution!

    ReplyDelete
  47. Thanks lot. Setting both values to 1 in Registry ACS Key(HKCU\Software\ACS\PuTTY Connection Manager: ShiwTrayIcon and HideMinimized) solved my problem. Great!

    ReplyDelete
  48. This somehow JUST happened to me and i couldn't get PuttyCM to run again. This fixed it. I Love PuttyCM like a child....thank you so much for reuniting me with it!!!!

    ReplyDelete
  49. Thanks, this fixed it!
    LOL such a random bug

    ReplyDelete
  50. I don't know how this problem happened to me. I installed and re-installed PuttyCM several times and no luck. Then I searched the good friend Google and found this one. It solved my problem immediately. Thank you very very much.

    ReplyDelete
  51. Thanks It helped me :)

    ReplyDelete
  52. Aman


    Thanks a lot .. It was help to my Team member...

    ReplyDelete
  53. Thanks. It helped...

    ReplyDelete
  54. Worked for me too, only set "show tray icon", "hide" was not necessary :-)
    Thanks !!!

    ReplyDelete
  55. Thanks a lot, it works

    ReplyDelete
  56. Thanks a lot, it almost took my nerves!

    ReplyDelete
  57. Worked for me... Crazy, though!

    ReplyDelete
  58. This helps...Thank you

    ReplyDelete
  59. Thanks a lot! it worked!

    - Shyam

    ReplyDelete
  60. Many thanks, this also works for me.

    ReplyDelete
  61. Jozsef SzekrenyesMay 6, 2013 at 2:01 PM

    Thanks! Still helping people 3 years after the post :)
    It started happening to me after reinstall on Win7. I used puttycm on XP too, but maybe I had the option checked.

    ReplyDelete
  62. Thanks a million I was stuck in this problem..

    ReplyDelete
  63. Thanks Man, i thought to look for alternative to PuttyCM. but you saved my time. Good work :)

    ReplyDelete
  64. Thanks to you and Google God. First link available on simple search for pcm error.

    ReplyDelete
  65. Works like a charm, thank you very much!

    ReplyDelete
  66. I also recently migrated from winxp to win7.
    Now when I am trying to access puttycm I am getting the following error now:
    Log created on 7/12/2013 8:11:28 PM
    *** RUNTIME ERROR ***
    Unknown exception occured
    Main error : Exception has been thrown by the target of an invocation.
    Internal error : An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
    **********************

    can anyone please help me?

    ReplyDelete
  67. Nice Tip, worked on win7

    ReplyDelete
  68. It worked for me too.. Looks like its a silly issue :D
    Thanks a lot :)

    ReplyDelete
  69. Great, wasted so much time in figuring out the reason. Thanks a lot :)

    ReplyDelete
  70. Thank you! Never would have found this.

    ReplyDelete
  71. thanks a lot , really helpful

    ReplyDelete
  72. I have the same error in the log. what's worse, I cannot see the menu at all. it is missing! I cannot make the option change. what shall I do?

    errors in the log:
    8/19/2015 11:32:48 AM:RUNTIME ERROR : Unknown exception occured
    8/19/2015 11:32:48 AM: Error : Object reference not set to an instance of an object.
    8/19/2015 11:32:48 AM: StackTrace :
    8/19/2015 11:32:48 AM: at x650e12b2512cbeed.x7fbe3d3b15648174.x765e6a19136b68b9()

    ReplyDelete