I have developed an application in VB.Net which transfers files from an FTP to a local path on my pc using the WinSCPnet.dll assembly.
This application is working for at least 8 hours continually during the day and connects to the ftp every 5 minutes and checks for any files and transfers them.
The application is working for the past three years approximately and lately we have updated our pc to WIN7 and update the WinSCP to 5.7.2 version. For the last 5 months the problem started to show up and it was ones every month but now the blue screen occurs every other day or even twice per day. I have upgraded the WinSCP to the latest version 5.7.5 and check for driver updates for the pc put still the problem occurs.
I have made some investigation in my code and I have found that the problem occurs when i call the session.Open(sessionOptions) in order to connect to the FTP server.
The Error Code from Blue Screen is the following.
*** STOP: 0x0000000A (0x00000060, 0x00000002, 0x00000001, 0x82E65F81)
Please let me kwon if you have any idea of what that problem is and why it occures.