SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Unable to compile #develop: access denied

Last post 11-03-2006 5:15 PM by Eric Stimpson. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 02-14-2006 10:25 PM

    Unable to compile #develop: access denied

    I downloaded the latest source for SD (v2.0.0.1135).  But, this code refuses to compile on my machine running:

    • Windows XP SP2
    • All latest official MS patches
    • .NET Framework 1.0 runtime
    • .NET Framework 1.1 runtime
    • .NET Framework 2.0 runtime

    Extracted the contents of the source ZIP file to "C:\".  During extraction, WinZip reported an "access denied" error for the EXE files in "C:\SharpDevelop\src\Main\StartUp\Project\obj".  I thought this odd but dismissed it anyway, I figured I'd just end up rebuilding it all anyway.  So I run the "debugbuild.bat" file and it fails with the same error - can't write EXE file (access denied).  So I investigate further.

    It turns out that I can't create any file with ".EXE" extension in any folder named "StartUp".  Two friends here in the office tried it and was able to reproduce the same thing on their machines.  Probably some kind of new anti-trojan thing from Microsoft or something.  Obviously this is a problem when using #develop source as it tries to create EXE files in the "obj" folder which descends from a "Startup" folder.  Anyone else run into this problem?

  • 02-14-2006 10:35 PM In reply to

    Re: Unable to compile #develop: access denied

    Virus scanner?

    Chris
  • 02-14-2006 10:35 PM In reply to

    Re: Unable to compile #develop: access denied

    Somebody had the same problem here: http://www.codeproject.com/csharp/ICSharpCodeCore.asp?msg=1356970#xx1356970xx

    What anti-virus software are you using?
    Daniel Grunwald
  • 02-14-2006 11:28 PM In reply to

    • DavidAlpert
    • Top 50 Contributor
    • Joined on 11-10-2005
    • Winnipeg, Manitoba, Canada
    • Posts 76

    Re: Unable to compile #develop: access denied

    I've actually run into the same issue on my machine at work.  I figured it was a virus scanning issue, but as i don't have access to configure the virus scanner, i can't work around this issue from the virus scanning side.

    Other suggestions are appreciated.



    David Alpert
    Spin the Moose Media
    (former username: spinthemoose)
  • 03-08-2006 4:35 AM In reply to

    • DavidAlpert
    • Top 50 Contributor
    • Joined on 11-10-2005
    • Winnipeg, Manitoba, Canada
    • Posts 76

    Re: Unable to compile #develop: access denied

    It must be a virus scanning or security configuration issue to do with .EXE files inside a "startup" directory.

    I renamed the "StartUp" project to "Starter", renamed the directory accordingly, renamed references to the project in the root #d solution, and renamed hard-coded paths in the Tools/UpdateAssemblyInfo.  Now it compiles fine.
    David Alpert
    Spin the Moose Media
    (former username: spinthemoose)
  • 11-03-2006 5:15 PM In reply to

    Re: Unable to compile #develop: access denied

    I found the actual setting in McAfee that's causing the problem.  If you are able to...

    1. Open the VirusScan Console
    2. Edit the Properties of the Access Protection
    3. Select the File, Share, and Folder Protection tab
    4. De-select "Prevent access to suspicious startup items (.exe)."
      • or
    5. Edit the properties of ""Prevent access to..." so that it is more specific to actual startup folders.
    If you don't have access to change these settings, perhaps your administrators will be willing to oblige.

     

    eeS
Page 1 of 1 (6 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.