Hello,
I have PrimalScript 2009. When I packaged the Vbscript into a self-executable file, the packaged script execution failed with the error "The System cannot execute the specified program."
What can I do to fix this problem?
Thank you in advance.
System cannot execute specified program
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: System cannot execute specified program
Please answer the following questions:
1. What version of PrimalScript 2009 are you using?
2. What OS?
3. Are you using alternate credentials?
David
1. What version of PrimalScript 2009 are you using?
2. What OS?
3. Are you using alternate credentials?
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: System cannot execute specified program
David,
The problem occurred because when I packaged the script, I had the file version and product version not matching each other.
For example, the file version was 1.2.0.1 and the product version was 1.2 only. For some reason, this caused the "System cannot execute specified program" error in all Windows platforms, XP, Windows Server 2003, and Windows Server 2008.
Once I changed the product version number to match the file version, the error went away. However, found this to be a bug in the PrimalScript since this should not happen. I don't know this is the case with PrimalScript 2012 or not.
Thanks.
The problem occurred because when I packaged the script, I had the file version and product version not matching each other.
For example, the file version was 1.2.0.1 and the product version was 1.2 only. For some reason, this caused the "System cannot execute specified program" error in all Windows platforms, XP, Windows Server 2003, and Windows Server 2008.
Once I changed the product version number to match the file version, the error went away. However, found this to be a bug in the PrimalScript since this should not happen. I don't know this is the case with PrimalScript 2012 or not.
Thanks.
Re: System cannot execute specified program
The manifest / Windows requires that you set the version number in the packager as #.#.#.# format. Otherwise Windows is not happy and will refuse to run the exe.
David
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.