Some people have been reporting the following exception when using FTPS on Windows 8 or 2012:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
If this is happening from within Visual Studio, it seems that it is a bug with the Visual Studio hosting process.
Go to the project Debug settings, and uncheck "Enable the Visual Studio hosting process".