I intended to write a post regarding new Account and Contact user fields and logic to keep those values synced up, but since I’m a couple weeks late on my post for this month (Sorry Brianna!), and I’ve been dealing with this issue this morning, I thought I’d get this short one posted. Definitely check out my blog next month (It’ll be a good one), but for now:
On occasion, it becomes necessary to clean out the build folders and deployed website prior to a build/deploy, in order to force changes to become available. In version 8.1, Saleslogix provides a handy menu option to clear out the build folders. Unfortunately, using this menu item also seems to temporarily break it’s own ability to build by causing some of the folders in that build path to become read-only, as shown below:
After selecting “Clean Build folders” and trying to build, I get the this error:
The text from the output window is this:
ERROR – C:WindowsMicrosoft.NETFrameworkv4.0.30319Microsoft.Common.targets(3390,5):Unable to copy file “objDebugSage.Entity.Interfaces.dll” to “C:UsersAdministratorAppDataRoamingSagePlatformOutputinterfacesbinSage.Entity.Interfaces.dll”. Access to the path ‘C:UsersAdministratorAppDataRoamingSagePlatformOutputinterfacesbinSage.Entity.Interfaces.dll’ is denied.
It appears as though the bin folder is locked, preventing the build from continuing. As long as AA is open, you will not be able to delete that folder manually either.
To get around this problem, you can do one of two things:
1. Re-launching application architect: Since AA locks that folder, it remains locked as long as that session is open. Closing AA frees that resource so that you can build properly after logging back in.
2. Manually clear the build folders instead: Instead of using that menu item, simply delete the contents of the build folder youself.
You can figure out the build path by looking under Tools|Build Settings.
Click the “Open” link on the build path, and delete all files there. (You may have to go into the “Interfaces” folder and delete those items first before you can delete the folder).
That’s all there is to it! Build now to get a full rebuild, since the old build files have been deleted.