Product, version and build: Powershell Studio 2018 5.5.154
32 or 64 bit version of product: 64-bits
Operating system:Windows 10 1709 Enterprise
32 or 64 bit OS: 64-bits
Hello,
I've created a powershell studio project that include files from various project. It's used to create a modules package. Since I want to deploy only the psm1 and psd1, I imported all of those file into my package. This work fine. Under "Deployment == settings", I see all my file. In destination, I've input the network share I will use to store this. When I click on "Deploy", I get "Error: cannot copy to xxx". I tried giving all users full control on the folder, didn't work. I can write without any problem in this folder, and share permission is on all users full control also. I don't get what I'm doing wrong.
Thank you
Error while trying to deploy scripts
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Error while trying to deploy scripts
Hello,
Could you be more specific what type of Network share are you using?
Could you be more specific what type of Network share are you using?
Re: Error while trying to deploy scripts
simple ntfs share on a windows 2016, access with \\server\share\folders
Re: Error while trying to deploy scripts
Thanks.
We are investigating this and will update you as soon as we have more information
We are investigating this and will update you as soon as we have more information
Re: Error while trying to deploy scripts
I can't reproduce it on our side.
Have you try to map network drive, and use the mapped drive?
Is the credentials for the share correct?
Have you try to map network drive, and use the mapped drive?
Is the credentials for the share correct?
Re: Error while trying to deploy scripts
There's no way to specify any credentials when using the deploy option. But I tried giving everyone full control and it didn't work. What's weird is that it's working on some share and not other, and sometime it's specified folder but not other even when I have the same permission. Is there a way to have a debug log file to see what's going on when doin deploy?
Re: Error while trying to deploy scripts
Based on this comment:
'What's weird is that it's working on some share and not other, and sometime it's specified folder but not other even when I have the same permission.' I would say it's network connection problem.
Did you try to map the network share to the drive, and use it?
Can you copy any files to the specified folder using explore?
Does user credentials on your system same as a credentials for network share?
Try to run PS Studio as administrator, and see if it solves the problem
'What's weird is that it's working on some share and not other, and sometime it's specified folder but not other even when I have the same permission.' I would say it's network connection problem.
Did you try to map the network share to the drive, and use it?
Can you copy any files to the specified folder using explore?
Does user credentials on your system same as a credentials for network share?
Try to run PS Studio as administrator, and see if it solves the problem
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: Error while trying to deploy scripts
The error message is more specific: Error: Cannot copy %s to %s
Could you please provide the ACTUAL full error message? Maybe we can see something in the path specifiers.
Could you please provide the ACTUAL full error message? Maybe we can see something in the path specifiers.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Error while trying to deploy scripts
I attached an updated version of PSBuild.exe:
Please backup and replace the existing version, which is located in the installation directory of PowerShell Studio.
Then re-deploy the project and see if you get a different error message.
Please backup and replace the existing version, which is located in the installation directory of PowerShell Studio.
Then re-deploy the project and see if you get a different error message.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.