Access Violation 0xC0000005
Hello,
I'm using WinSCP 4.3.5 inside of a VB.net 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 WinSCP.com 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.
I'm using WinSCP 4.3.5 inside of a VB.net 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 WinSCP.com 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.