Quantcast
Viewing all 6687 articles
Browse latest View live

Restoring tfs 2010 from once Machine to Another with Complete histories and Environment

Hi Guys

                I need to Move my complete environment from one server to another.

Current Environment: Windows 2008 R2 64 Bit. SQL 2008 R2//tfs 2010 

Target Environment: Windows 2008 R2 64 Bit. SQL 2008 R2//tfs 2010 > where i need to restore whole environment with complete histories.

Kindly share what steps i need to follow in this regard.

What i have done:

Install TFS2010 on Target environment. I have 2 project collections in my Current environment.

A

B

I have created project collection A on my target machine and restore A project collection database from Current environment to Target environment.

Results: 

ALL projects are being displayed and opened. Work items are displaying. There is one flaw in this methodology , Source code is missing.

That's why i have stop this approach and decided to consult you guys.

kindly share your thoughts in this regard.

Thanks


WSBukhari


Replace DatabasaName with variables while checking in the code into TFS using VS

Hi,

I have created a variable DB_Test in a database project in VS. Whenever I make changes in the Database objects (like views & Stored procs) I do a schema compare using database as source and project as target and then update teh changes. The objects in TFS have the variable for referring to the DB (e.g., [$(DB_Test)].[dbo].[tblTest]) and after I update the TFS code using the database code the variable gets overwritten by the databasaname mentioned in the database. So, every time I update the code in TFS using schema compare, I will have to manually replace the database names in TFS with variable so that when I deploy from TFS into the database of another environment I could change the variable accordingy before publish.

I would like to know if there is a way where the VS itself replaces all the database names with variable references if already defined in the project?

Thanks,Vamsi

.

Current Sprint doesn't display the bugs with custom statuses. How to adjust it?

My team has configured the TFS 2012 using the "scrum" template both for developing applications and keeping track of Bugs. Here I should mention that, for some reason, we have added custom statuses to the Bugs. Shortly thereafter we noticed that custom-status bugs do not turn up on the next tab (on Web page): Work \ Backlog \ Current sprint. They only appear again when we set the "Done" status to them (which is a standard status). I guess I have to modify the query for this page by adding our custom statuses. Could anybody tell me where this query is?

View TFS Project Description from VS

Is there a way to view a TFS Project description from within VS.

Our company doesn't give us access to the TFS Admin Console.  We don't have a sharepoint site for the project either.

Change in backlog priority triggers mass email alerts

Hi,

So I have a backlog and I have some backlog items assigned to staff for one reason or another. 

I then insert a backlog item fairly near the top. This has the effect of changing the computed backlog priority number for each of the items below the newly inserted. 

I have the email alert "A change is made to a work item that is assigned to me"

Problem is i don't want a change in backlog priority to trigger mass emails to all people affected. 

I've had a look at the Alert Filters and can't see an option to say I.E

AND Backlog Priority Has NOT Changed.

I only have the options Changed from and Changed to and Changes.

Thanks

James

How to re-use a custom control code (TFS) in Team Web Access?

Hello,

I am currently developing on a Team Web Access plugin and I was wondering if it's possible to re-use a work item custom control we've already created (C#) for our Team Foundation Server code (mostly our code review module).

In other words, using Jquery, is there a way to "bind" the functionality we use for our customized code review to our team web access? (Note that I'm not too familiar with Jquery however).

Thank you.

Does VS2013 Professional (without MSDN) include a TFS CAL?

Subject line says it all.  We're currently using VS2010 Professional (without MSDN), and are thinking about upgrading to VS2013 Professional.  Does the non-MSDN version of VS2013 Pro include a TFS CAL?

Thanks

Accessing TFS 2013 ultimate with Visual studio 2013 professional

If we install/upgrade TFS 2013 with msdn ultimate or premium can contractors with msdn professional licence access the TFS server?

We want to use some automated testing features in MSDN premium as part of automated builds on the server. My questions is can developer access the same TFS using web access or visualstudio having professional MSDN licence?

These developers are contractors with extra CAL licence to access the server. 

Thanks


TF400017: local workspace properties table could not be opened

Hi all,

One of our developers gets the following error when opening VS2012:

TF400017: The workspace properties table for the local workspace BERT-MAC;Bert Degenhart Drenth could not be opened. Exception of type 'Microsoft.TeamFoundation.VersionControl.Client.InvalidWorkspacePropertiesTableException' was thrown.

We can't find a way to solve this issue? Does anyone have an idea on how to solve this?

Thanks,

Christ

Add bugs to the task board - can't import ProcessConfiguration.xml

I am using TFS 2013. The setup uses the Agile template (AFAIK). I am following this article: http://msdn.microsoft.com/en-us/library/jj920163.aspx to add bugs to the task board. Right now, when team members add a bug, including myself, they just "disappear". I can't find them via the TFS web portal or through Visual Studio (2013).

So, I've worked through the article and am on the step: Add metastate mapping to the process configuration


When I try to import the updated ProcessConfiguration.xml file, I receive the following error:

The following element contains an error: TaskBacklog/States. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'TaskBacklog/States'. The following state does not exist in any of the work item types: New.

I have no idea which file to update to resolve this issue. I've used witadmin to look at the task.xml file, but can't make heads or tails of it in regards to this problem (the article makes no mention of it, but other help threads have).

Where would I go to add the new work item types?

Here is my XML file:

<?xml version="1.0" encoding="utf-8"?><ProjectProcessConfiguration><BugWorkItems category="Microsoft.BugCategory" pluralName="Bugs" singularName="Bug"><States><State type="InProgress" value="Active" /><State type="Complete" value="Closed" /><State type="Resolved" value="Resolved" /></States></BugWorkItems><FeedbackRequestWorkItems category="Microsoft.FeedbackRequestCategory" pluralName="Feedback Requests" singularName="Feedback Request"><States><State type="InProgress" value="Active" /><State type="Complete" value="Closed" /></States></FeedbackRequestWorkItems><FeedbackResponseWorkItems category="Microsoft.FeedbackResponseCategory" pluralName="Feedback Responses" singularName="Feedback Response"><States><State type="InProgress" value="Active" /><State type="Complete" value="Closed" /></States></FeedbackResponseWorkItems><PortfolioBacklogs><PortfolioBacklog category="Microsoft.FeatureCategory" pluralName="Features" singularName="Feature"><AddPanel><Fields><Field refname="System.Title" /></Fields></AddPanel><Columns><Column width="100" refname="System.WorkItemType" /><Column width="400" refname="System.Title" /><Column width="100" refname="System.State" /><Column width="50" refname="Microsoft.VSTS.Common.BusinessValue" /><Column width="200" refname="System.Tags" /></Columns><States><State type="Proposed" value="New" /><State type="InProgress" value="Active" /><State type="InProgress" value="Resolved" /><State type="Complete" value="Closed" /></States></PortfolioBacklog></PortfolioBacklogs><RequirementBacklog category="Microsoft.RequirementCategory" parent="Microsoft.FeatureCategory" pluralName="Stories" singularName="User Story"><AddPanel><Fields><Field refname="System.Title" /></Fields></AddPanel><Columns><Column width="100" refname="System.WorkItemType" /><Column width="400" refname="System.Title" /><Column width="100" refname="System.State" /><Column width="50" refname="Microsoft.VSTS.Scheduling.StoryPoints" /><Column width="200" refname="System.IterationPath" /><Column width="200" refname="System.Tags" /></Columns><States><State type="Proposed" value="Active" /><State type="InProgress" value="Resolved" /><State type="Complete" value="Closed" /></States></RequirementBacklog><TaskBacklog category="Microsoft.TaskCategory" parent="Microsoft.RequirementCategory" pluralName="Tasks" singularName="Task"><AddPanel><Fields><Field refname="System.Title" /></Fields></AddPanel><Columns><Column width="400" refname="System.Title" /><Column width="100" refname="System.State" /><Column width="100" refname="System.AssignedTo" /><Column width="50" refname="Microsoft.VSTS.Scheduling.RemainingWork" /></Columns><States><State value="New" type="Proposed" /><State value="Active" type="InProgress" /><State value="Resolved" type="InProgress" /><State value="Closed" type="Complete" /></States></TaskBacklog><TypeFields><TypeField refname="Microsoft.VSTS.Common.Activity" type="Activity" /><TypeField refname="Microsoft.VSTS.Common.StackRank" type="Order" /><TypeField refname="Microsoft.VSTS.Feedback.ApplicationLaunchInstructions" type="ApplicationLaunchInstructions" /><TypeField refname="Microsoft.VSTS.Feedback.ApplicationStartInformation" type="ApplicationStartInformation" /><TypeField refname="Microsoft.VSTS.Feedback.ApplicationType" type="ApplicationType"><TypeFieldValues><TypeFieldValue type="ClientApp" value="Client application" /><TypeFieldValue type="RemoteMachine" value="Remote machine" /><TypeFieldValue type="WebApp" value="Web application" /></TypeFieldValues></TypeField><TypeField format="{0} h" refname="Microsoft.VSTS.Scheduling.RemainingWork" type="RemainingWork" /><TypeField refname="Microsoft.VSTS.Scheduling.StoryPoints" type="Effort" /><TypeField refname="System.AreaPath" type="Team" /></TypeFields><Weekends><DayOfWeek>Sunday</DayOfWeek><DayOfWeek>Saturday</DayOfWeek></Weekends><WorkItemColors><WorkItemColor primary="FFCC293D" secondary="FFFAEAE5" name="Bug" /><WorkItemColor primary="FFFF9D00" secondary="FFFCEECF" name="Code Review Request" /><WorkItemColor primary="FFFF9D00" secondary="FFFCEECF" name="Code Review Response" /><WorkItemColor primary="FF773B93" secondary="FFEEE2F2" name="Feature" /><WorkItemColor primary="FFFF9D00" secondary="FFFCEECF" name="Feedback Request" /><WorkItemColor primary="FFFF9D00" secondary="FFFCEECF" name="Feedback Response" /><WorkItemColor primary="FFFF9D00" secondary="FFFCEECF" name="Issue" /><WorkItemColor primary="FFFF9D00" secondary="FFFCEECF" name="Shared Steps" /><WorkItemColor primary="FFF2CB1D" secondary="FFF6F5D2" name="Task" /><WorkItemColor primary="FFFF9D00" secondary="FFFCEECF" name="Test Case" /><WorkItemColor primary="FF009CCC" secondary="FFD6ECF2" name="User Story" /></WorkItemColors></ProjectProcessConfiguration>


Unable to access TFS OData url

Hi,

I wanted to get all the projects in our tfs instance using odata url.

But when I execute this url -  https://{server_name}/DefaultCollection/Projects  in browser, I am getting the error - it is not able to get connection to the server.

But i am able to access the web portal https://{server_name}/tfs.

Please guide me if am doing wrong, I want to see all the projects in my server using tfs odata url.

Thanks in advance

Remya

publish sqlproj during build, but don't publish other projects

I have a solution with various projects (including a wpf project, a console project and a sql project).

I created a publish file for the sql project to deploy the database to a specific server and database to run the unittests on it after the build.
I configured "always re-create database" in the publish profile.

Then I created a build definition and put the msbuild arguments:

/t:Build /t:Publish /p:SQLPublishProfilePath=publish.unittest.xml

The Build now is able to publish the sql project, but it also tries to publish the wpf project and the sql project - which I try to avoid.
Is there any way to avoid publishing those other projects?

Is there a way to publish the database on each build - without changing the default build template?

PS: I'm using VS2013 and TFS2013


Finding a "Solution" in TFS

Some of our .NET Solution folders are stored deeply in the TFS tree. Assuming I know only the name of a Solution how can I determine the Solution's location in the Tree?  

TIA,

edm2

Regarding TFS 2012 Check out issue over browser (Urgent)

I need to upload files to TFS without using visual studio over browser but we are not getting any option of it.Only The Portal allows me to view the Source Control,See the history,download but not to upload or add (See the image)..

Also to resolve this issue i have applied the patch provided at your own msdn link

but it doesn't work Please provide the alternative solution..

also i am unable to attach any hyperlink or image regarding this problem,Please let me know the procedure so that i can send you error details.


Max file path of 259 character limit

I know that there is currently limit on the max file path in TFS 2010, and honestly, I can't believe this limitation still exists!  It's the year 2010 and we're using Windows 7 with VS and TFS 2010, with 64-bit hardware and software.  Why on earth is this limitation from like 1995 still in place?!? Anyways, sorry for that short rant, I am just very frustrated over this.

We use feature branches at our office, and have a very large solution (around 450 projects separated between 2 VS solutions).  Obviously, to keep everything in a nice logical, easy to understand format, we end up with a namespace hierarchy that is several layers deep, which leads to folders that are also several layers deep, creating very long file paths.

When trying to Get Latest on a feature branch of ours, we are getting errors such as:

TF205022: The following path contains more than the allowed 259 characters: C:\dev\TFS\RQ4TeamProject\Dev\RQ4\FeatureBranches\PP_DuplicateDetection\Code\IQ.Enterprise.Integration.Windmobile.ApplicationServices\Service References\Intec\IQ.Enterprise.Integration.Windmobile.ApplicationServices.Intec.ProdInstServiceRetrieveData.datasource. Specify a shorter path.

 

The case above isn't so bad since the error message actually told us the problem; that the file path is too long.  We've had several developers waste days trying to figure out why our solution would build on our local machines, but not on our build server.  The only error message we would receive was, "cannot find reference to assembly X".  As it turned out, the build server plopped all of the files into a root folder whose path was about 15 characters longer than on our local machines, so assembly X was never being built because its file path was too long, and hence it couldn't be found.

Our solution to this so far has been to go in and start renaming namespaces and assemblies and the like to try and shorten their names, which works, but is a real pain.  And as our solution continues to grow, it's going to lead to more obscure and unclear namespaces, making our code harder to understand.

Is there some other solution to this file path limit that I am not aware of?  And are there any plans to address this issue in future versions (I sure hope so)?


- Dan - "Can't never could do anything"

Moving source control with history from one project to another project in TFS 2012

Hi, 

Can we move source control code from one project to another project with everything (History, Branches and Labels)?

I've checked other related posts and used the TFS Integration Tool but it's also not migrating history and labels.

Any other way to migrate everything?


Mohsin Shahzad

Using Feedback Client with customers/non TFS people

I want to be able to get some friendly customers to use the feedback tool. These are obviously people outside of our business.

This article http://msdn.microsoft.com/en-gb/library/hh562968%28v=vs.110%29.aspx implies that the Feedback tool can only be used by people on our domain.

Can external people use the Feedback tool, or only internal people on our network?

Stack Rank has 'gone missing', can't edit

Hi all, I can't be the only one, the stack rank field has gone. I used to have it, use it all the time... how do people know what to do first!!!

Now it's gone.

below you can see I've set stack rank manually in the past, I usually leave gaps of 10 to put things 'in front' of others as needed.

now the option to edit has gone...anybody know where/how to get it back?

thanks

can't post picture, it says I've no text in body if I do!

TFS 2010 Full Analysis Database Sync fails with message "Cannot open database "Current nnn" requested by the login."

Actual message was "Cannot open database "Current71020092" requested by the login."

I could not find this exact problem documented.  I found a fix.

Following steps to rebuild the analysis server cube, drop and recreate the analysis server cube, and drop both analysis server cube and the tfs_warehouse database resulted in the exact same error.

Fact#1  If you try to make a connection to SQL Server and you specify an "initial catalog" aka database, and the database does not exist or you don't have rights, the login will fail.

Fact#2 Somehow every time the analysis server cube was rebuilt, the data source connection string was created with an Initial catalog of this random database name that did not exist: Current71020092

Here is the STR and fix.

1. Connect to MS Analysis Server instance 10.50.2500 for TFS 2010 with SSMS 2008 R2 10.50.1790

2. Navigate Databases..TFS_Analysis..Data Sources..TFS_AnalysisDataSource

3. Rt-Mouse Properties.

4. Inspect Connection String.  Verify that the Initial Catalog= has the CurrentNNNNN database name.

5. Modify the initial catalog to the TFS_Warehouse database for your installation.

Provider=SQLOLEDB.1;Data Source=.;Integrated Security=SSPI;Initial Catalog=tfs_warehouse

6. Use the Web Services Client to invoke Full Analysis processing. It will now succeed.




Chip

GIT TFS API listing all branches

Hi, 

We try to create a form where we would like to have a drop-down-list with the Git Branches names.

So, I would like to know if someone knows how we can query on to obtains this values? Wich namespaces to use etc.


Thanks

Steve

Viewing all 6687 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>