Topic "Access Violation 0xC0000005"

Author Message



I'm using WinSCP 4.3.5 inside of a application to transfer files from my local machine to a remote Linux server. Following the tutorial on this site, I was able to successfully get the transfer up and running while debugging my application. However, after I publish my application and install it to my system I get a "unhandled Win32 exception" in and a prompt to use the Visual Studio Just-In-Time debugger. When I debug using that, I can see that I'm getting an Access Violation 0xC0000005 error as WinSCP is running. The file never makes it to the server but in the logfile created by my application, WinSCP returns with an exit code of 0.

Is there any reason why the transfer would work just fine while debugging within Visual Studio 2010 and not work once the application is published and installed on my local machine? Thanks in advance for any help anyone can provide.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26911
Location: Prague, Czechia
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
Martin Prikryl
[View user's profile]

Joined: 2011-11-30
Posts: 1
Location: Washington, DC, USA
I've sent you an email to request a debug version. Thanks.

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License