Solved

Opening a ASP.NET Solution file errors with TFS integration

Posted on 2011-09-15
3
620 Views
Last Modified: 2012-05-12
We have wrtitten an ASP.NET MVC application which has been checked into TFS 2010 by one developer.  We are now wanting other developers to starting working on the same code hence the TFS integration.  Now when other people are attempting to open the solutions file after downloading the latest source files, we are being prompted in VS 2010 the following message

---------------------------
Microsoft Visual Studio
---------------------------
The command you are attempting cannot be completed because the file 'Drought.Web.csproj' that must be modified cannot be changed. If the file is under source control, you may want to check it out; if the file is read-only on disk, you may want to change its attributes.
---------------------------
OK  
---------------------------

Why is it trying to open the file and modify a setting?
0
Comment
Question by:IandINSW
3 Comments
 
LVL 7

Expert Comment

by:Bill Nolan
ID: 36546478
Aside from what the message tells you to do, check the permissions/users for the file or directory.  
0
 
LVL 16

Expert Comment

by:Easwaran Paramasivam
ID: 36547240
You need to ensure that the user checked-in the project completely.
Verify other user's have read/write permisson of their local directories.
Sometimes the checked in files may be in Archived. If it so, remove the Archive properties.
0
 
LVL 10

Accepted Solution

by:
John Claes earned 250 total points
ID: 36547837
check if the following files are checked in by the First programmer

Solution level : vssscc
Project level : vspscc

If one of those files are checked in with the Solution This is giving the issue:
Why ?

these files are used by your local SourceSafe and should not be checked in.
When cheked in your local sourceSafe can't edit them anymore and permission issues are going to be fired

solution:
remove the file from sourceSafe and localy
redo the getlatest.

regards
poor beggar
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question