I believe Apache runs under the user Everyone for Windows.
Try right clicking on the file and selecting Properties. Then go to the Security tab and make sure the user Everyone has access to Read & Execute for that file.
Read through the link marto provided. It is much more thorough and complete for solving your situation.
Comment on Re: How to set the execution permission of a perl cgi file