A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY?


    Hi.

    This is an error that comes up fairly regularly when trying to run the
    "Rebuild All" command in a Solution that contains more than one project.

    C:\VSS\WebAppDev\INVOICING\web\site\detail_grid.as cx.resx A failure
    occurred writing to the resources file. Access is denied.

    The offending file or files are always RESX files.

    Why does this happen?

    Note-- These files are NOT checked out from SourceSafe, but they should NOT
    have to be. That is-- sometimes this works and the Rebuild works fine.
    Othertimes it does not work. At the very least, it should consitent-- but,
    it's not.

    Note-- The context here is: .NET Framework 1.1, VS.NET 2002 + SP2, VB.NET,
    ASP.NET, SourceSafe 6.0c.

    What do you think?

    Please advise.

    Thank you.

    --Mark.




    Mark Kamoski Guest

  2. Similar Questions and Discussions

    1. access denied to file
      When installing a java program from my computer the install shield brings up and error message saying that it needs to access a file inside...
    2. Access denied to file from ServicedComponent
      I would greatly appreciate help on issue that looks as have been resolved before: I wrote a ServicedComponent that reads and writes files to a...
    3. Using .resx resources
      I've built a ASP.NET control that stores some info (an XSLT transform) in a ..resx file in the assembly that also has the control. However, I've...
    4. Resources .resx HELP PLEASE...
      I need to use an APSX page in my control. As in a popup window that will contain controls and get a few parameters from the hosting page and...
    5. File Access error - writing to .txt file
      Normally web sites run under the ASPNET user account. It appears that this account does not have write privileges to the file path you've...
  3. #2

    Default Re: A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY?

    since u r using VSS .. i think the problem is that u're not getting the
    correct files .. as soon as some one checks out the project and adds a new
    file .. he has to check in the project file along with the new file. then he
    can chk out the new file again .. and then when u do get latest of ur
    project .. all the correct files will be there in ur system ..
    even we had faced some similar issues ..
    pls chk if this kind of approach solves ur problem ..
    i hope it helps ..
    Soni


    soni Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139