Delphi 2010 - [DCC Fatal Error] F2039 Could not create output file 'MyProjectName.exe'
<p>I'm having problems on Delphi 2010. When I try to compile I get the output below:</p>

<pre><code>    Checking project dependencies...
    Compiling prjAlarmBlock.dproj (Debug configuration)
    [DCC Fatal Error] F2039 Could not create output file 'MyProjectName.exe'
    Failed
    Elapsed time: 00:00:00.4
</code></pre>

<p>I need to delete "MyProjectName.exe" almost every time I try to compile.
Is there a way to solve it?</p>