[Answered] Can't copy file... Access denied

0 votes
asked Jul 29, 2014 in Solved by roelveldhuizen (120 points)
recategorized May 28, 2016 by ludek.vodicka

We got the following error when exporting a Doctrine 2 project. Any ideas on what could be wrong?

Exception type: Atomix::exception

Event class QMouseEvent to object (class Qtitan::RibbonButton)
Can't copy file [C:\Users\ANTIC\AppData\Local\Temp\tmp-886328380078.tmp] to [C:\programfiles\xampp\htdocs\symfony\EntisServer\src\VSmart\OrmBundle\Entity]. Error: boost::filesystem::copy_file: Access is denied: "\?\C:\Users\ANTIC\AppData\Local\Temp\tmp-886328380078.tmp", \?\C:\programfiles\xampp\htdocs\symfony\EntisServer\src\VSmart\OrmBundle\Entity

Raw exception

Q:\Applications\Skipper\Skipper\axCore\axFileSystem\helpers\fileHelper.cpp(131): Throw in function bool __cdecl Atomix::CFileHelper::CopyFileW(class Atomix::CFilePath,class Atomix::CFilePath)
Dynamic exception type: class boost::exceptiondetail::cloneimpl
std::exception::what: Unknown exception
Can't copy file [C:\Users\ANTIC\AppData\Local\Temp\tmp-886328380078.tmp] to [C:\programfiles\xampp\htdocs\symfony\EntisServer\src\VSmart\OrmBundle\Entity]. Error: boost::filesystem::copy_file: Access is denied: "\?\C:\Users\ANTIC\AppData\Local\Temp\tmp-886328380078.tmp", "\?\C:\programfiles\xampp\htdocs\symfony\EntisServer\src\VSmart\OrmBundle\Entity"Copy file failed

1 Answer

0 votes
answered Jul 29, 2014 by ludek.vodicka Skipper developer (140,450 points)

Based on the exception text it seems to invalid export path. Maybe the path is missing or you don't have enough right to write to this folder.

In your text, you have "C:\programfiles..." is this valid path?

Check module export settings if path is valid and if you can access it:

http://i.imgur.com/X290uRH.png

...