Forum Discussion
Compilation Error (138001) Write permission
Hi,
I'm taking a course in FPGA design and is using Quartus Prime Lite 16.1 (Free) and constantly run into permission errors.
The latest one is during compilation.
Error (138001): Cannot write to directory C:/nnn/AlteraPrj/pipemultQP16_1/Schematic/incremental_db, which is required for storing incremental compilation results.
I simply can't find where and how the permission is denied. I've added as much permission as I can in the security-tab in the folder option.
Best Regards/
Anna-Karin
So (one solution anyway):
I updated to 25.1 (might not have been necessary)
I started Quartus as administrator (but this was not enough)
Finally I moved the project folder outside my OneDrive/System managed folders
7 Replies
- sstrell
Super Contributor
Try trashing the db and incremental_db folders and compile again.
Any reason why you must use 10 year old software?
- annakarinstenman
New Contributor
Didn't work, so I guess i MUST update SW.
I'm using an online course, through my employer, that needs some updates. I hope I still can use that example files and setup.
- RichardT_altera
Super Contributor
Please try running Quartus in Administrator mode, or consider changing the project directory to a different location (for example, outside protected or system‑managed folders).
As sstrell mentioned, Quartus Prime 16.1 is a legacy version and is now quite old. No further technical support is provided for this version.
I would strongly recommend installing and using the latest supported Quartus version
Linux: https://www.altera.com/downloads/fpga-development-tools/quartus-prime-lite-edition-design-software-version-25-1-linux
Windows: https://www.altera.com/downloads/fpga-development-tools/quartus-prime-lite-edition-design-software-version-25-1-windows
Regards,
Richard Tan - annakarinstenman
New Contributor
Sorry, this didn't help either.
- annakarinstenman
New Contributor
So (one solution anyway):
I updated to 25.1 (might not have been necessary)
I started Quartus as administrator (but this was not enough)
Finally I moved the project folder outside my OneDrive/System managed folders- RichardT_altera
Super Contributor
I'm glad that your issue is resolved. We will continue to monitor this post for the next 5 days. If there are no further inquiries during this period, I will step back and allow the community to assist with any future follow-up questions.
Thank you for engaging with us!
Best regards,
Richard Tan
- annakarinstenman
New Contributor
Thank you for your support!!