file is read-only on disk

  • Thread starter Thread starter BillE
  • Start date Start date
B

BillE

I have a vs 2008 (9.0.30729.1 sp) vb.net solution with a number of
projects, both windows forms and web forms, plus business classes.

I am using visual source-safe version 6.0 build 8163.

Recently when I did a build on any project or the solution, I starting
getting the following message:

"The file Interop.Access.dll, which you attempted to edit, is read-only on
disk. Would you like to make the file writeable or edit it anyway?"

I click Cancel, and get the following message:

"The command you are attempting cannot be completed because the file
'Interop.Access.dll' that must be modified cannot be changed. If the file
is under source control, you want to caheck it out;..."

Some of the projects have this reference, but I don't understand why I am
getting this message.

I tried deleting this file in sourcesafe, but the error continues.

Should I click "Make Writeable" instead of "Cancel"?
 
Thanks
Bill
MBUnit said:
It only means the the file's attribute is set to read-only and not write.
It may be that the dll is being replace by a same named dll from somewhere
else, and it can't do it, because the file is write protected due to you
somehow checking it in when you should not have checked the file in, which
makes it read only, if not checked-out. You can go directly to the file
with Explore and take the read-only attribute off of the file so that it
can be written over.
 
Back
Top