Can't Compile Access to path denied

Discussion in 'Bug Reports' started by tsteward, Aug 7, 2008.

  1. tsteward

    tsteward Active Member Licensed User

    When I try to compile a program I get the following error. It does not have access to that path. This is because that path does not exist.

    I Uninstalled and reinstalled Basic4PPC but still that error and still that path does not exist.

    Attached Files:

  2. agraham

    agraham Expert Licensed User

    Are you running XP? That path only exists on Vista, and not XP, because for security reasons apps cannot write to "Program Files" on Vista. That path holds the output of the optimising compiler before the final exe is copied to AppPath. It looks like Dbasic.exe thinks you are on Vista. As a temporary fix, until Erel replies, you could try creating that path and see if it works. It won't do any harm.
  3. tsteward

    tsteward Active Member Licensed User

    Sorry i should have told you I am running vista.
    This is the first time I have tried to compile since re-installing vista and latest B4PPC version
  4. agraham

    agraham Expert Licensed User

    Then you should have a "C:\ProgramData" folder. Vista aware apps write to it instead of writing to Program Files and so can run as normal users. Non Vista aware apps that need to write to their "Program Files" folders need to be run as Administrators. I thought it was created on Vista installation but I am not 100% sure - lots of things may break without it :(
  5. tsteward

    tsteward Active Member Licensed User

    My bad - that directory and files do exist (I didnt read properly and assumed c:\programfiles)

    Anyway file exists but for some reason access is denied. What now?
  6. tsteward

    tsteward Active Member Licensed User

    Ok just delete the file and B4PPC will recreate it and all is well.

    Now my next problem is CS0246: The type or namespace name 'CEnhancedButton' could not be found (are you missing a using directive or an assembly reference?)

    I dont even know what CEnhancedButton is
  7. agraham

    agraham Expert Licensed User

    Look in "Program Files\Anywhere Software\Basic4ppc Desktop\Tzor". Do you have a "CEnhancedButton.cs" file in there? If not there should be one and that is the problem otherwise I don't know what might be wrong.
  8. Erel

    Erel Administrator Staff Member Licensed User

    Please send an email to with this information.
    The ProgramData folder should be accessible to Basic4ppc.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice