Recently I installed GAMS and Veda on a new laptop and when running the model it did not work. GAMS generates the model but then when it is turn to run the CPLEX it gives an error "Access is denied" Does anyone know why this happens?
I think the error code 5 is probably coming from the operating system.
That code usually signifies insufficient privileges for the file system. You need to check full access is granted to your user account for the VEDA folder and its subfolders. So, if you had installed VEDA by using a different (administrative) account and didn't make sure your normal account has full access to the folder, that could be one possible reason.
Looking at your console log suggests to me the error might be related to the creation of the GAMS scratch directory (which is normally under the work folder), which is getting blocked.
Another possibility is your malware detection software, which might be blocking GAMS when it launches the solver. If the problem persists, I would suggest to contact your IT support.
(08-07-2024, 11:58 PM)Antti-L Wrote: I think the error code 5 is probably coming from the operating system.
That code usually signifies insufficient privileges for the file system. You need to check full access is granted to your user account for the VEDA folder and its subfolders. So, if you had installed VEDA by using a different (administrative) account and didn't make sure your normal account has full access to the folder, that could be one possible reason.
Looking at your console log suggests to me the error might be related to the creation of the GAMS scratch directory (which is normally under the work folder), which is getting blocked.
Another possibility is your malware detection software, which might be blocking GAMS when it launches the solver. If the problem persists, I would suggest to contact your IT support.
Thanks a lot, Antti.
Indeed it was some operation system error. After multiple restarts, it started running normally.