Improve company productivity with a Business Account.Sign Up

x
?
Solved

Opening a ASP.NET Solution file errors with TFS integration

Posted on 2011-09-15
3
Medium Priority
?
743 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 1000 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
If you are looking for an automated solution for backup single or multiple Office 365 user mailboxes to Outlook data file, then you can use Kernel Office 365 Backup & Restore tool. Go through the video to check out the steps to backup single or mult…

608 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