I am developing application in ASP.Net. My development server is Win7, production server is Windows server 2008. I am using WinSCP in ASP.Net to transfer files from Linux to Window server. In Win7, it is working fine even if I deploy it in IIS. However, when I deploy the application in Windows Server 2008, it is giving me the error message "The winscp.exe executable was not found at location of the assembly (C:\inetpub\wwwroot\Project_name\bin), nor in an installation path. You may use Session.ExecutablePath property to explicitly set path to winscp.exe.".
WinSCP.dll exists in the bin folder. But still I am getting the above message. Please help.
Thanks and Regards,