Notepad++: Unknown exception on launch with NppFTP

Saturday, January 15th, 2011 | Business | by

When working with sites that use “FTPES (Explicit)” as the connection type, I find after accepting an invalid certificate (code 20) for a connection, I cannot relaunch Notepad++ with the following error:

Unknown exception

This prevents you from using NppFTP the next time you launch.

The Solution

I’ve contacted the developer of the plugin and have sent some files for testing, but until then, here’s what I do to go about my merry way:

  1. If open, Close Notepad++ (it saves the settings upon closing)
  2. Open up the following folder (I’m on Windows 7):
    c:\Users\{Name}\AppData\Roaming\Notepad++\plugins\Config\NppFTP\
  3. Delete the “Certificates.xml” file (I haven’t found any problems doing this, I just have to confirm invalid certificates again)
  4. Launch Notepad++

It is annoying to do this every time you launch, I find that I leave Notepad++ open for days at a time to avoid this problem — but it works.

Thank the developer harrybharry for all his work at NppFTP on SourceForge.

Related Posts

Tags: , ,

24 Comments to Notepad++: Unknown exception on launch with NppFTP

John
January 20, 2011

I have already deleted the xml file but still notepad++ is crashing what could be the reason.

Kowlown
April 18, 2011

I have deleted “NppFTP” Folder. When i restarted Notepad++ it asked me if i wanted to remove NppFTP from the plugin list. I have accepted and Notepad++ worked

hit2go
May 31, 2011

Thanks. working..

sniper
July 28, 2011

very good hint. thanks

James William
August 4, 2011

That bug is already fixed as per the source site. Hence you dont need to delete files anymore.

HTH

seangw
August 5, 2011

Thanks for your input James, but I still get the error whenever I try to connect again after using a certificate. I’m still living by this fix myself :(

Mat
September 11, 2011

I’ve just downloaded the latest source (Sept 2011) for notepad++ and nppftp, and I still get this error.

It’s a shame, because what I want to do most is open/edit/save files from a remote location using secure FTP.

I’m surprised nobody has actually made some kind of secure FTP plugin for NPP supporting SFTP / FTPS!

William Wallace
September 24, 2011

It is working like a charm, You NEED TO DELETE the files however. So delete the files as explained in the article. You will be set to go.

Mr.JCRP
October 17, 2011

Thank you. This solved a huge problem for me!
I would like you to report this to Notepad++ so that they could do something about it.

seangw
October 17, 2011

Already created a bug like 6 or 8 months ago. Sadly the new version didn’t include a fix for it.

sam
April 11, 2012

Thanks! Had the same issue for a couple days now and could not figure out why notepad++ was flaking out.

A
May 6, 2012

thank you! thank you! thank you!

yigit
August 14, 2012

still same problem , i get this message 3 times before notepad opening

Cary
November 17, 2012

I just set up a zCron to delete the certificate file on a regular basis. That way I do not get the error if I do end up closing NPP.

TK
January 30, 2013

I had the same problem …
what i done to avoid delete “certificates xml” everytime I launch notepad++…is ..right click on ” certificates xml” file…click on property. In general tab ..on the bottom make sure “Read-only” attributes checked…..so notepad++ could not write craps on it. it worked for me ! no more deleting .. :)hope this would help some of you….

Jeremy
February 27, 2013

Fixed it for me. Weird.

lpc
March 8, 2013

Work!

Alex
April 6, 2013

Hi Sean,

thank you for this post! It took me just few minutes to get a solution by using Google. Shame on me I’ve tried to fix it by myself near one hour! .. :/

@TK: Great solution for the moment!

Best regards!
Alex

Mike
April 12, 2013

Problem went away for me after uninstalling FingerText. I’m on 6.3.

Theo
June 4, 2013

this post helped me to solve the issue. I uninstalled deleted folder in program files list and the c:\Users\{Name}\AppData\Roaming folder then reinstalled. It was a pain in the ass to do…but it wasn’t as painful as getting the error every time i opened.

aarti
October 30, 2013

thanku its working…Thanku so much

briankbc
March 4, 2014

Thanks a ton – I no longer needed the FTPES connection. Once deleted and the above instructions followed – all’s good again

Dana
March 31, 2014

thanks a lot … it’s working :) great ideea !

Emanuel Vasquez
August 24, 2014

It work perfectly! thanks!

Leave a comment

*


Please share, it makes me happy:

Subscribe to Email Alerts

Follow Me

Follow seangw on twitter

Archives

Categories

prestashop theme

virtuemart template