Cannot find unique name for event object.

Advertisement

Monkeys
Guest

Cannot find unique name for event object.

I got message Cannot find unique name for event object.

how to resolved problem ??

thank for answer.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Cannot find unique name for event object.

Are you using winscp.com or WinSCP .NET assembly? Do you get the error repeatedly, once only, or all the time? Did you get it on the first use already or after regular use? Please provide as much details as possible.

Reply with quote

Guest

Re: Cannot find unique name for event object.

martin wrote:

Are you using winscp.com or WinSCP .NET assembly? Do you get the error repeatedly, once only, or all the time? Did you get it on the first use already or after regular use? Please provide as much details as possible.

I use WinSCP.NET assembly and i try connect synchonize SFTP multi thread. i got message some thread when connect SFTP.

thank a lot.

Cannot find unique name for event object.jpg

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Cannot find unique name for event object.

Do I understand right, that you get this randomly, now and then?
How many threads in parallel are you running?
_________________
Martin Prikryl

Reply with quote

Guest

Re: Cannot find unique name for event object.

martin wrote:

Do I understand right, that you get this randomly, now and then?
How many threads in parallel are you running?

I want to use about 100 threads.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Cannot find unique name for event object.

I want to use about 100 threads.
Download WinSCP .NET assembly source code and modify the ExeSessionProcess.InitializeConsole() to reduce chance of this happening. You can increase MaxAttempts or possibly add object's hash code to _instanceName.

I'll improve this in the next release.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum