Store PLCnext CommunityPLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. Rob H
  2. PLCnext Engineer
  3. Monday, 19 July 2021
I have an issue with 2021.3 and 2021.6 where as soon as I try to send project or changes with sources, PLCnext Engineer crashes. I was hoping 2021.6 would resolve it, but it did not. Note that Z:\ is a mapped network drive. Here's the problem report:


PLCnext Engineer, Version 2021.6 (Build 4.10.142.0)

Unexpected Exception
======================================================================
The process cannot access the file 'Z:\RTR Cell Testing.pcwex' because it is being used by another process.

Exception chain:
----------------------------------------------------------------------
IOException

======================================================================

Details
----------------------------------------------------------------------

IOException
==============================
Message:
------------------------------
The process cannot access the file 'Z:\RTR Cell Testing.pcwex' because it is being used by another process.

Stack trace:
------------------------------
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at Ade.IO.Implementation.VirtualFileSystemManager.CopyDirect(String fileSystemProvider, String connectionString, String destination)
at Ade.Plc.CreateSolutionCopyToComparison.Execute(String path)
at _35e518b41d40427f91a3449a7672212a.gyaot.chxlp(ICommunicationContext akp, Nullable`1 akp, Boolean akp, Boolean akp, Object[] akp)
at _35e518b41d40427f91a3449a7672212a.gyaot.chxna(ICommunicationContext als, Object als, Object[] als)
at _35e518b41d40427f91a3449a7672212a.gyaot.chxin(Action`3 ahs, Boolean ahs, Object ahs, Object[] ahs)
at _35e518b41d40427f91a3449a7672212a.gyaot.plnbe.chrvv(IAdeServiceProvider ans, Object[] ans)
at Ade.Components.Command.Execute(IAdeServiceProvider context, Object[] parameters)
at _35e518b41d40427f91a3449a7672212a.gyaod.OnExecute(IAdeServiceProvider context, Object[] parameters)
at Ade.Components.Command.Execute(IAdeServiceProvider context, Object[] parameters)
at Ade.Components.Command.Execute(IAdeServiceProvider context, Object[] parameters)
at Ade.UIFramework.WpfUIFramework.mbxrj(CommandInfo afe, DependencyObject afe, Object[] afe)
at Ade.UIFramework.WpfUIFramework.mbxrg(Object afb, ExecutedRoutedEventArgs afb)


Automation Engineer - MI, USA
Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
Hello Rob,
your request has been forwarded to the responsible team.

Some questions in the meantime are:
If you explicitily project->compile or even save the project first is the issue the same?
Is there any difference between download change and full download?
Is this the only effected project?
It probably is only occuring when using the network drive right, can you please check the permissions on the drive?
Sometimes Networkdrives tend to be readable writeable but not changeable....

Please verify if a local copy of the same project causes the same issue.

kind regards,
Oliver
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
  1. one week ago
  2. PLCnext Engineer
  3. # 1
Rob H Accepted Answer Pending Moderation
0
Votes
Undo
No change in behavior that I can see with combinations of save/rebuild then send.
No difference between download change and full download.
Same condition with different projects and different network drives, mapped drives, etc.
I am not sure how to verify my permissions. I'll have to look into that further.
A local copy of the project does not have this issue.
I do not have this issue with PLCnext Engineer 2021.0.X. This started with 2021.3.

Thank you,
Rob H
Automation Engineer - MI, USA
  1. one week ago
  2. PLCnext Engineer
  3. # 2
Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
Hello Rob,
we are able to reproduce this issue.
Thank you for reporting this issue.
Seems to only effect the Download with sourcecode - can you confirm this?
We will investigate further for a possible workaround.
kind regards,
Oliver
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
  1. one week ago
  2. PLCnext Engineer
  3. # 3
Rob H Accepted Answer Pending Moderation
0
Votes
Undo
Yes, it only affects download with sources. No issues sending without sources.
Automation Engineer - MI, USA
  1. one week ago
  2. PLCnext Engineer
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.