Topic "WinSCP .NET assembly doesn't work on Azure"

Author Message
poznaniak
[View user's profile]

Joined: 2014-05-23
Posts: 3
Location: Poznan
I have problem with WinSCP .NET assembly (NuGet plugin) executing on Azure. All is working on localhost, but when I deploy my Web App on Azure I get following error:

WinSCP process terminated with exit code -1073741819 and output "", without responding (response log file C:\DWASFiles\Sites\mysite\Temp\wscp573C.00D7BA5D.tmp was not created). This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.

http://stackoverflow.com/questions/23825531/winscp-net-assembly-doesnt-work-on-azure
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
poznaniak
[View user's profile]

Joined: 2014-05-23
Posts: 3
Location: Poznan
I changed my WinSCP.exe file and WinSCPnet.dll... but still i have the same error (on azure of course) Sad
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
poznaniak wrote:
I changed my WinSCP.exe file and WinSCPnet.dll... but still i have the same error (on azure of course) Sad

That's expected. Please send me a debug log as per instructions in my email.
poznaniak
[View user's profile]

Joined: 2014-05-23
Posts: 3
Location: Poznan
I have log file, but only on localhost. On Azure i don't have this...
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Set WINSCPTRACE environment variable to a directory where you have a write access to.
_________________
Martin Prikryl
Guest




prikryl wrote:
Set WINSCPTRACE environment variable to a directory where you have a write access to.


Hi prikryl, no follow up of this issue?,

I'm having the same problem, I'm trying to use WinSCP inside an Azure Webjob, works locally but gives that error on Azure, can you please forward me the instructions for the debug? My email is david at davidtriana dot com .

Thanks.
Guest




Anonymous wrote:
prikryl wrote:
Set WINSCPTRACE environment variable to a directory where you have a write access to.


Hi prikryl, no follow up of this issue?,

I'm having the same problem, I'm trying to use WinSCP inside an Azure Webjob, works locally but gives that error on Azure, can you please forward me the instructions for the debug? My email is david at davidtriana dot com .

Thanks.


Seems to be working using 5.6.1 beta.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Quote:
Seems to be working using 5.6.1 beta.

I have found that too meanwhile. Thanks for confirming this.
See http://winscp.net/tracker/show_bug.cgi?id=1215
I'm working on a guide for using WinSCP in a WebJob. Thanks for pointing my attention to it.
http://winscp.net/eng/docs/guide_microsoft_azure_webjob_sftp
Comments are appreciated.
Guest




prikryl wrote:
Quote:
Seems to be working using 5.6.1 beta.

I have found that too meanwhile. Thanks for confirming this.
See http://winscp.net/tracker/show_bug.cgi?id=1215
I'm working on a guide for using WinSCP in a WebJob. Thanks for pointing my attention to it.
http://winscp.net/eng/docs/guide_microsoft_azure_webjob_sftp
Comments are appreciated.


I am getting this error again with the latest version of winscp
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Anonymous wrote:
I am getting this error again with the latest version of winscp

What version? Note that this got fixed in 5.6.x beta/RC only.
_________________
Martin Prikryl
jovton

Guest


WinSCP 5.7.5 has the same issue.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
jovton wrote:
WinSCP 5.7.5 has the same issue.

Please attach a full debug log file showing the problem (using the latest version of WinSCP).

To generate log file, set Session.DebugLogPath. Submit the log with your post as an attachment. If you do not want to post the log publicly, you can mark the attachment as private.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License