when i execute task in the SSIS Package getting script error :
Task Name: Package:Pkg.Import.FTPFiles.dtsx; Method:Main
Error Description: Error when using WinSCP to upload files: System.InvalidOperationException: Session is not opened at WinSCP.Session.CheckOpened() at WinSCP.Session.FileExists(String path) at ST_2f147f67ddac483387950b7bb5418974.ScriptMain.Main() in c:\Users\503738394\AppData\Local\Temp\4\vsta\90b12eb0e2c349f48cfeecde5050ccfb\ScriptMain.cs:line 223
How to check the homepath and change the homepath will it resolve this issues please help....
The callstack shows that you get the exception by calling
Session.FileExists. So why do you think that this has anything to do with
Session.HomePath? Consider starting a new thread and provide more details, including a code sample and a log file. Though the problems seems to be that you call