Session.Open Error "The process cannot access the file 'C:\Users\[my username]\AppData\Local\Temp
Hi, Thanks for reading my problem. Attached is my log file for the session.
Windows 10.
Application is VB.NET framework 4.8.
winscp.exe is 5.21.1.12643, product WinSCP version is 5.21.1.0
I am getting the error when running Visual Studio in debug mode when calling the
Thank you for the help.
Windows 10.
Application is VB.NET framework 4.8.
winscp.exe is 5.21.1.12643, product WinSCP version is 5.21.1.0
I am getting the error when running Visual Studio in debug mode when calling the
Session.Open
method.
I used to be able to open a session connection while debugging the application without getting this error but not sure what has changed?The process cannot access the file 'C:\Users\[my username]\AppData\Local\Temp\wscp88A8.0342C81C.tmp' because it is being used by another process.'
If Not _winCpSession Is Nothing Then _winCpSession.Dispose() _winCpSession = New Session _winCpSession.Open(sessionOption) ' Error occurs on this line.