- Home /
error CS0016 - Access to the path is denied
I am getting only this error. I have no idea what is causing it. Please help as I am so excited to get leap working with unity.
Internal compiler error. See the console log for more information. output was:error CS0016: Could not write to file `Temp/Assembly-CSharp-firstpass.dll', cause: Access to the path "C:\Users\******\Documents\Leap Test\Temp\Assembly-CSharp-firstpass.dll.mdb" is denied.
I have tried to reimport assets and turn of antivirus to no avail. I have also made sure I have the correct permission for the file/folder.
As an experiment try turning of your anti virus software. I suspect it's jumped onto the mdb file to scan it and this stops the compiler from writing to it. (If you switch the AV off completely, disconnect from the network first of all. Alternatively, many AV solutions allow you to white list certain folders, so perhaps whitelist Leap Test
.)
Not an antivirus problem, tried that already. It stops when I delete this file.
same problem for me ,,,did you get the solution for this...I checked there are no errors in my code,,!!!
Answer by Brickit · Dec 23, 2013 at 01:05 PM
Same problem here too. Its getting very annoying. Only started since upgrading to win 8.1
Your answer
Follow this Question
Related Questions
Internal Compiler Error #3 (ILGenerator Emit Issue) 3 Answers
Internal Compiler Error 1 Answer
unknown database error 1 Answer
Internal Compiler Error 1 Answer
Warning messages are turning into Internal Compiler Errors...? 6 Answers