Build failed: Access to the path: C:\My Projects...denied.
Build failed: Access to the path: C:\My Projects...denied.
I am suddenly getting this error when I try to build one of the PDF files. The first time I build it, there is no error. The second time I build it, I receive the error. If I go to the Output Folder and try to delete a folder there, I get the message, "You require permission from the computer's administrator to make changes to this folder." I am the only one who uses MapCap Flare in our company and this was never an issue for me before. I asked the company IT administrator to log into my computer, and he was unable to make changes or build the file as well. I am using version 12. Could it be related to the anti-virus software our company uses? Any ideas you may have about what may be causing this is appreciated.
Re: Build failed: Access to the path: C:\My Projects...denie
Usually this is because you have the last build of the PDF open somewhere. If you opened in in a browser, you may have to completely close the browser before it releases its hold on the file.
Re: Build failed: Access to the path: C:\My Projects...denie
Thanks for your suggestion. I checked to make sure the PDF was closed, tried it again, but am still getting the error. I am able to build the PDF if I use the Clean Project option on the Project ribbon and then reboot. This clears out the folder that stores my PDFs. I have 17 PDFs for my project, which all disappear when I use this process. Then it allows me to build any them once. Twice - and it gives me the error. So I'm hoping to be able to fix the problem with a more permanent solution. I appreciate any ideas.
-
- Propellus Maximus
- Posts: 614
- Joined: Wed Feb 01, 2006 6:21 am
- Location: Off in the dark....
Re: Build failed: Access to the path: C:\My Projects...denie
I've had issues with Flare not believing the PDF was actually closed until I closed Acrobat, not just dismissed the file. A couple of times even having an Explorer open that was used to look in to the put put directory kept it from working. I tend to think that this is a windows issue.
Trent.
Certifiable.
umm...
I meant MAD Certified.
Official Propeller Beanie Owner
Are you on Flare's Slack channels? PM me for an invitation!
Certifiable.
umm...
I meant MAD Certified.
Official Propeller Beanie Owner
Are you on Flare's Slack channels? PM me for an invitation!
-
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: Build failed: Access to the path: C:\My Projects...denie
I had those issues with Outlook. After attaching a PDF to an email and sending it Outlook still kept a lock on the file. Restarting Outlook was the only option.
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
-
- Senior Propellus Maximus
- Posts: 2090
- Joined: Tue Mar 07, 2006 5:06 pm
- Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
- Contact:
Re: Build failed: Access to the path: C:\My Projects...denie
Outlook and Adobe do not play well together. Snagit can lock files, even after they are closed in Snagit, as well.
If you're having issues you can click the show hidden icons button on the Windows task bar, right click program icons, and close them. The Windows task manager can also be used to force a program running in the background to close.
If you're having issues you can click the show hidden icons button on the Windows task bar, right click program icons, and close them. The Windows task manager can also be used to force a program running in the background to close.
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Re: Build failed: Access to the path: C:\My Projects...denied.
I have been having a similar issue the past month so I figured I would revive this old topic to see if anyone has some suggested solutions.
I can work around this by deleting the entire /Output/ directory before each build. But, I can never have two successful builds in a row.
The error I get is "Build failed: Access to the path 'C:\Users\myname\OneDrive - Company\Documents\prod_documentation\project\Rev H 6.10.2\Output\myname\Temporary\Company_PDF\Company_PDF_1EBCA1E5\Resources\Stylesheets' is denied."
If I manually delete the ../Stylesheets/ folder, I get the error but with a different folder name. If I delete the Temporary folder, I get the error but it moves to the main output folder for this project. I get this error whether generating PDF or HTML output.
If I view the Security properties on the /Output/ directory, my account has full control, the Admin account has full control, and if I add all permissions for Everyone, I still get the error.
Windows 11, Flare 2024 r2 installed by the Admin, OneDrive is running, PC is managed by the organization.
I can work around this by deleting the entire /Output/ directory before each build. But, I can never have two successful builds in a row.
The error I get is "Build failed: Access to the path 'C:\Users\myname\OneDrive - Company\Documents\prod_documentation\project\Rev H 6.10.2\Output\myname\Temporary\Company_PDF\Company_PDF_1EBCA1E5\Resources\Stylesheets' is denied."
If I manually delete the ../Stylesheets/ folder, I get the error but with a different folder name. If I delete the Temporary folder, I get the error but it moves to the main output folder for this project. I get this error whether generating PDF or HTML output.
If I view the Security properties on the /Output/ directory, my account has full control, the Admin account has full control, and if I add all permissions for Everyone, I still get the error.
Windows 11, Flare 2024 r2 installed by the Admin, OneDrive is running, PC is managed by the organization.
Re: Build failed: Access to the path: C:\My Projects...denied.
It seems OneDrive is the culprit. If I pause the OneDrive sync and then delete the Output folder, I can do repeated builds without an error. Even if I wait until OneDrive has sync'd the Output folder, it still blocks subsequent builds. Thus, pausing the sync after deleting the output folder appears to be the only way to get multiple builds. Is there a solution for this? I really do not like the idea of pausing OneDrive.