Solved

Opening a ASP.NET Solution file errors with TFS integration

Posted on 2011-09-15
3
576 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:Slimfinger
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to get the web content with different encodings 2 30
Run time Error 4 35
SQL Login 17 40
CDO.Message not able to send attachement 5 15
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now