Solved

VS2008 - How to uncheck a solution

Posted on 2014-07-29
15
202 Views
Last Modified: 2014-07-31
Hi experts,

I am new to all this.

Maybe someone can answer:
I am just trying to get acquainted with how you "Check Out" and "Check In" a solution or package.

Right now I have this red check mark on a .dtproj file.
I do not want this red check mark and would like to start the process of "Check Out" all over again?
I have read some information on this issue, but all seem to be confusing to me.

How do I not save back to the team foundation and get rid of the red check mark?

From what I understand so far, please correct me if wrong.  You first have to "Check Out" the solution and then you can "Check Out" the package that is within that solution?

After removing the red check mark:

I clean up my local drive by deleting all folders.
I goto the Source Control Explorer and find the correct Solution (.sln) and do a right click "Check Out"
Then I go to the subfolder and find the package (.dtsx), right click "Check Out"
At that point my "Solution Explorer" should be populated with what I just "Check Out".  If not then right click inside the "Solution Explorer" and do a get option.

Please help and thanks
0
Comment
Question by:Amour22015
  • 10
  • 5
15 Comments
 
LVL 37

Expert Comment

by:ValentinoV
ID: 40228746
What you're looking for is called "Undo checkout".  Open Source Control Explorer, locate the file, right-click it and you'll see that option.

If you just need to change a package you only need to check out the package.  The solution only needs to get checked out when you need to make changes to it, such as adding a new package or removing an existing one.

To ensure that you're working with the most recent version you should use the "Get Latest Version" functionality.  That is done by right-clicking the project folder in Source Control Explorer.

More info: Open Solutions and Projects from Version Control
0
 

Author Comment

by:Amour22015
ID: 40228889
Ok,

I right click the .dtsx file and there is no "Undo checkout" there is a "Undo Pending Changes" this time the red mark went away.

Next:
I deleted my local copy.  I deleted the whole folder.

Then:
I reopen VS2008 and goto the "Source Control Explorer" I find the .dtsx file that I want: do a "Get latest version" and then select a "Check Out for Edit".  I can now see a red check mark.

But:
In the Solution Explorer nothing comes up

I tryed right clicking within the empy "Solution Explorer" and nothing happens.

What am I doing wrong?

Please help and thanks
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 40228922
Right, it's indeed called "Undo Pending Changes", sorry for the confusion.  (I don't have it in front of me to verify.)

You need to do "Get Latest Version" on the whole folder, not just the dtsx.  Or double-click the .sln file, this will get a local copy first (which is like "Get Latest") and then it will open it in Solution Explorer.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Author Comment

by:Amour22015
ID: 40228982
Ok,

Looks like that does not work.

I did a "Get latest Version" on the whole folder and then a "Get latest Version" and a "Check Out" on the .dtsx file (which is the SSIS package).

Please help and thanks.
0
 

Author Comment

by:Amour22015
ID: 40229000
Ok,

So I did a "Check Out" for the whole folder and then a open project.  That brought the items into the Solution Explorer but all the packages are now "Checked Out" have a red check mark.  I just want one with a red check mark not all of them.

Before when I just did a "Get latest version" I tryed "Open Project" and there was nothing to open.

Seems like I am still doing something wrong.

I don't want the all to be "Checked Out" just one.  The one I want to work on.

Please help and thanks
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 40229119
In Solution Explorer you can right-click the ones you don't want to check out and choose Undo Pending Changes.  That should bring you to the desired situation...
0
 

Author Comment

by:Amour22015
ID: 40229380
Ok,

Now the problem is that it populates the Solution Explorer, but does not have the correct .dtsx file in that list.  So I try the: Right click and select the add existing package option within the Solution Explorer and it will create it like Name(1).dtsx.  It is not bring in the correct package Name.dtsx.

What am I doing wrong?

I also tryed just bring in the .sln (solution) (Get latest version), (Check Out for editing) and again the list in Solution Explorer does not have the name.dtsx file that I am looking for.

Please help and thanks
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 40229815
The "Name(1).dtsx" is indeed an annoying issue.  The easiest fix in your case is to start all over again: undo all pending changes, delete all local files and get them again through Source Control Explorer by using Get Latest Version.
0
 

Author Comment

by:Amour22015
ID: 40229870
Currently,

I am using the link:
stackoverflow.com/questions/2002088/the-project-file-has-been-moved-renamed-or-not-on-your-computer

and this sounds more like the problem I am having.
but it mentions to not do the "Get latest version" because on the server it thinks that I already have the latest version.

basically it say that the server is confused about the correct mapping I have on my local drive.
which I don't have anything on my local drive because I have deleted that.

What is nice about this is that I did not have any changes on my local drive.
All the work I have done already was sent back to the server.
I did work on a project but have already done a "Check In" to update that project.
I quess this it the reason I see my project on the "Souce Control Explorer" tab?

This looks like it is going to be a good posting for future readers of the ExpertsExchange?
If I get into this problem then there is sure to be others.



Please help and continue to keep up on this post, thanks
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 40231060
"I quess this it the reason I see my project on the "Souce Control Explorer" tab?"

Source Control Explorer displays everything that is stored in TFS (on the server) to which you've been given access rights.  So it's normal that you see things in there which you've checked in previously.

Did you try what I wrote in my previous comment?  It's not clear anymore if you're still facing an issue or not.  If yes, which one?
0
 

Author Comment

by:Amour22015
ID: 40231527
Yes,

even after I deleted the folder locally I am still getting the:
"PackageName(1).dtsx"

I guess that is because what I am doing:
Right click the .sln within the Solution Explorer
Select Add existing
The menu that comes up says that it will get a copy of the SSIS Package.

But I don't want the copy.

Why is it so hard to just goto the server (Source Control Tab)  and select the one that you want to work with and bring that into the Solution Explorer?

Why does all the other .dtsx files come over, but the one I want to work with?  There must be something I am doing wrong?  Why when I do the "Get latest version", "Check Out for edit" on the folder all but the one I want to work on is not within the Solution Explorer?  Maybe I have to let VS2008 know that that is contain within that folder?  Yet when I look at this on the server that .dtsx is within that folder.

Maybe my co-workers know that it is just a copy of the .dtsx file?  I cannot see what they are doing because they are not local to me.

So yes I still need help.
0
 

Author Comment

by:Amour22015
ID: 40231537
Ok,

This is what is going on with my SSIS package at this point:
http://www.bidn.com/forums/microsoft-business-intelligence/integration-services/369/package-doesn-t-show-up-under-ssis-packages-when-using-file-save-copy-of-package-as

But one should not have to do this when all other package.dtsx are showing up.

There must be a way to update so that the "Check Out" knows that there is another package.dtsx file to bring over to the Solution Explorer?

Please help and thanks
0
 

Author Comment

by:Amour22015
ID: 40231648
Ok,

There is the same problem out there:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/a3eb5bbf-03cc-4820-8ab5-eaf282d2076d/package-load-failure-visual-studio-2008?forum=vssetup

I don't have permission to do:
Uninstall .NET Framework 3.5 SP1 and reinstall it.

So I have to wait for someone else to do this and then I will see if the problem goes away and then I will update the post.

Thanks
0
 

Author Comment

by:Amour22015
ID: 40232692
Ok,  

Just wanted everyone to know that I solved the problem.

Just do:

Check Out the .sln file
Check Out the .vsssn file
Open the project
Project comes up within the Solution Explorer

On the .sln file
right click
select the "Add existing package"
Menu comes up "Add Copy of Existing Package"
Package location: File System
find the package.dtsx
<ok>
so a PackageName(1).dtsx shows up
just rename it to what you want

Check In the .sln file
Check in the .vsssn file

all should be ok...
0
 

Author Closing Comment

by:Amour22015
ID: 40232698
Great thanks for helping, see final post to show solution.
0

Featured Post

How our DevOps Teams Maximize Uptime

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

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS SQL Update query with connected table data 3 38
Import New Records From Access Table To SQL Database Table 7 31
SQL Query 2 31
SQL 2012 clustering 9 11
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

856 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