Product, version and build: PrimalScript, 7.4.125
32 or 64 bit version of product: 64bit
Operating system: 64 bit OS: Windows 10, Windows 7, Windows Server 2016
*** Please add details and screenshots as needed below. ***
I converted a single line windows batch file to an executable using Deploy -> Build menu.
Script Engine Target: Microsoft Windows 32 and 64 bit
Script Engine: CMD
Output Settings: Generate .config file is selected
Other settings: Left default values
I copied the final executable package to a network location and users must call it using UNC path. When it is run from UNC path executable crashes with message ".... has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."
For testing purposes, I connected to the server where the file is hosted and run it directly. It runs fine. If I run it using UNC path it crashed with the same message.
Users has modify permission on parent folder an file.
Packaged Batch file Crashes when run from UNC path
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.
Packaged Batch file Crashes when run from UNC path
- Attachments
-
- Primal Package.png (85.82 KiB) Viewed 3071 times
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: Packaged Batch file Crashes when run from UNC path
Thanks for letting us know. I'll forward it to QA for testing.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: Packaged Batch file Crashes when run from UNC path
We are not able to replicate this here. Could you provide more more information as to where the exe is located?
NAS? Windows Server? Etc.
I see you generate a 32 and a 64 bit version. Do both exhibit this behavior on your 64 bit machine or only one? If so, which one?
Additionally, a crash usually generates a system log entry. Could you check that and provide the enclosed information please?
NAS? Windows Server? Etc.
I see you generate a 32 and a 64 bit version. Do both exhibit this behavior on your 64 bit machine or only one? If so, which one?
Additionally, a crash usually generates a system log entry. Could you check that and provide the enclosed information please?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.