We are trying to convert all of our processes to Windows projects from Windows Legacy.
I have a path, what was working in Legacy project, but it doesn’t want to work in Modern.
The error is:
Illegal characters in path. (Parameter ‘path’)
The path looks like this \\collaboration.mykuka.com\xy\Org\Folder (I replaced part of the real path here, doesn’t really matter the text, as it has only letters from the English alphabet.
I did try it in a different project and test bench as well, same result.
@Anil_G I would not like to share the exact path for safety reasons. The beginning of the path is the same, after that I replaced the name of the folders in the same manner as they are in the path.
Not yet, I have an open ticket with tech support, they want to have a live session to check it together. If I find out anything useful I will bring it up here too to help others.
The new Windows activities are more sensitive than the legacy ones, that one is sure. We find also many interesting cases as we turn all our around 150 processes into the Windows version.
What is one of the most annoying one that they don’t have yet BAPI activity for Windows, just for legacy, so we have to keep those in the old framework.
If the issue still persists, can you please review and execute the attached .xaml file and see if there are illegal\invalid\foreign characters in the path?
Make sure to upgrade UiPath.System.Activities version to 23.10.3 or higher while using this workflow. Also, update the network path in the first assign activity before executing it. This is just for troubleshooting purpose, and it will not fix the problem, however, hopefully, it will show the hidden character.
We tried everything with the support, but as it is quite a unique error, they couldn’t figure it out, what exactly causing this.
There are no real illegal characters in the path (checked with every method we could come up with). To quote: the access to the SharePoint via UNC path is very limited, because of security reasons from Microsoft.
So something in the new .net 5.0 Framework doesn’t like in this path, it works fine with legacy.
Indeed, If I am not wrong, there seems to be an issue with .NET core (reference). Hence, I was curious to see if the above xaml file could capture that invisible hidden characters.