Quantcast
Channel: Team Foundation Server - General forum
Viewing all 6687 articles
Browse latest View live

TFS 2017 WebAccess- Bug: new Form does NOT exclude groups properly

$
0
0

Hi there,

we migrated from TFS 2015 Update 2 to TFS 2017. Now we see two Bugs in the new form.

In the new form we see TFS groups (AssignedTo field) - but we have excluded groups in the definition:

<FIELD name="Assigned To" refname="System.AssignedTo" type="String" syncnamechanges="true" reportable="dimension"><HELPTEXT>The person currently working on this story</HELPTEXT>       <DEFAULT from="currentuser" />       <ALLOWEDVALUES expanditems="true" filteritems="excludegroups">         <LISTITEM value="[global]\Developers" /></ALLOWEDVALUES></FIELD>

Now when we search in WebAcess for "c" - we get this:



"Developers" is a TFS Group which contains two AD-Groups.

Are there any fixes, WorkArounds?

Search is incomplete:

The search in the AssignedTo Field only Searches in the first names of my AD-Users(from start)

and ignores the second name completely!


Thank you,

Andi


Flatten hierarchy of work items (Inner Join)

$
0
0

Hi there,

we have created two new work item types: Stakeholder and ChangeRequest

These types have a simple Parent-Child link:

StakeholderA
  + ChangeRequest 1
  + ChangeRequest 2

StakeholderB
  + ChangeRequest 3
  + ChangeRequest 4

Is it possible to create a flatt query where we have columns from both types flattened?

StakeholderB.Name      ChangeRequest.Title     ChangeRequest.Priority

Another question:

And is there a way to get those types in a sortable list like the backlog list (adding a stackrank field).

TIA,

Andi

Iteration Path changes in VSO

$
0
0
How to get iteration path changes information in Visual Studio Online?

TFS 2017 - Work Item Tracking Integration Synchronization - Job failing after recent upgrade

$
0
0

Hi!!

After our recent upgrade to TFS 2017, the Work Item Tracking Integration Synchronization job has begun failing over and over, once per hour.   The job history shows the same error each time.   I have searched the collection table dbo.Constants for String (column) values like '%26f69454%' and while there are guids present, there are none matching the one listed in the error.

Can anyone help us diagnose this issue and resolve it?   What does the "Work Item Tracking Integration Synchronization" job do, and what effect will its failure have?   How do we go about fixing this?

[327466] [TEAM FOUNDATION]CollectionName:Work Item Tracking Integration Synchronization

Result:Failed
Priority:11
Queued Reasons:Scheduled
Host:[TEAM FOUNDATION]CollectionName
Job Name:Work Item Tracking Integration Synchronization
Agent:[ServerName] TfsJobAgent.exe
Queue Time:Wednesday, December 28, 2016 3:46 AM
Queue Duration:0:00:00.547
Start Time:Wednesday, December 28, 2016 3:46 AM
Run Duration:0:00:04.936
End Time:Wednesday, December 28, 2016 3:46 AM
Result Message:System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.Constants' with unique index 'IX_Constants__String_RemovedDate'. The duplicate key value is (1, Build\26f69454-7db8-4778-815d-ac4a79947cc8, Jan  1 9999 12:00AM).   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.MapException(SqlException ex, QueryExecutionState queryState)   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.HandleException(Exception exception)   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteCommand(ExecuteType executeType, CommandBehavior behavior, String performanceGroupName)   at Microsoft.VisualStudio.Services.CircuitBreaker.Command.<>c__DisplayClass7_0.<Execute>b__0()   at Microsoft.VisualStudio.Services.CircuitBreaker.CommandAsync.<Execute>d__28.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at Microsoft.VisualStudio.Services.CircuitBreaker.Command.Execute(Action run, Action fallback)   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteCommandWithBaseCircuitBreaker(ExecuteType executeType, CommandBehavior behavior, String performanceGroupName)   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteNonQuery(Boolean bindReturnValue)   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteNonQuery()   at Microsoft.TeamFoundation.WorkItemTracking.Server.SyncBase.HandleStaleIdentityManagementServiceNoLock()   at Microsoft.TeamFoundation.WorkItemTracking.Server.SyncBase.CheckAndHandleStaleIdentityManagementService()   at Microsoft.TeamFoundation.WorkItemTracking.Server.SyncBase.ProcessIdentityChangesInternal()   at Microsoft.TeamFoundation.WorkItemTracking.Server.SyncBase.Retry(Action action)   at Microsoft.TeamFoundation.JobService.Extensions.Core.WorkItemTrackingSynchronizationExtension.Run(IVssRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime jobQueueTime, String& resultMessage) ClientConnectionId:f679661b-d5b6-485f-8d60-8b4bacb40825 Error Number:2601,State:1,Class:14
Host Id:26f69454-7db8-4778-815d-ac4a79947cc8
Job Id:69ad5827-6346-4b08-b29d-2ee8be361f85
Agent Id:4060ad2b-ec4b-41fe-b37c-dffa992d815a

TFS 2017 client hangs up

$
0
0
I develop a Visual Studio package that gets some data from VSO. I run into a
problem when I try to connect to VSO from my code:
var host = new Uri("https://MYACCOUNT.visualstudio.com");
var collection = new TfsTeamProjectCollection(host);
collection.Authenticate();
Everything works fine, when I use the TFS 2015 client assemblies. But the
code hangs up when I switch to the TFS 2017 assemblies.

Note, it works when user is logged in VSO before using my package. It seems
that it waits when the main thread is ready, but it is locked by the
Authenticate() call.

Rewriting all the code in async way is very time-consuming. Is there a way
to authenticate the user in sync way using the TFS 2017 client?

TFS 2015 Licensing

$
0
0

Hi,

I have installed TFS 2015 trial version which is now expired

Now I am trying to register the product however i am not getting any options where i can feed in License key.

I tried both in 'Administrative console and command line(TfsConfig License /productkey:)

Gives error "unrecognised command: License"

Please suggest how do i upgrade

Thanks,

Package Management (nuget feed) extention licensing

$
0
0

Hi!

We have installed Package Management extension in our  on premises TFS 2017 server. On extension install page there was the extension's price - $4/user. On extension's settings page there is another prices table, starting from $10/month for 10 users and so on.  

Republish deleted nuget package

$
0
0
Oher implementations of the nuget feed are allowing to make nuget push after nuget delete for a package with the same name and the same version, but TFS implementation dose not. That is the correct way to republish nuget package into TFS nuget feed?

TFS Release Management vs build deploy task at the end

$
0
0
I have a couple of apps, some WinForms published via ClickOnce and some websites that we build using the vNext build scripts and deploy as the last step of those build scripts, if everything builds and unit tests pass. We have two branches for each app, one that will build and deploy to staging area and another to production.

With the new Release management functionality in TFS, I'm assuming I'm to move the Deploy task from the build definition to the Release area. But what does that really buy me except maybe an approval button?

What does " was updated" mean?

$
0
0

In the German version of

Microsoft Visual Studio Team Foundation Server

Version 15.105.25910.0

on the "Links" tab of a bug it says, "30.11.2016 wurde aktualisiert", which translates to "11/30/2016 was updated." What does it mean to update a date? And, how can that given date, a constant value, ever be updated?

Thanks a lot for your answers. 

Oliver



Split a changeset with unrelated items

$
0
0

Our company is new to TFS. When I look at the history I have a changeset that has somehow gotten two different projects in it. In another instance I have related changes in different changesets. I am not sure how this happened but I am trying to figure it out. Is there a way to split the changeset 6417 into two different changesets?. In the case where I have two changeset for one project can I combine them? 

Change ItemChgSet
CT1_CheckForFiles6417
TR_ValidateData6417
TR_ImportData6417
NCT_CheckForFiles6424
NCT_ImportHistory6428
FULF_CheckForFiles6427
FULF_ImportHistory6432
      


TFS Tags 100k

$
0
0

Hi,

I understand there is no hard limit on tags but it could negatively impact performance.

 https://msdn.microsoft.com/library/dn132606(v=vs.120).aspx

I am looking for recommendations on how do we handle if tags are going to cross over 100k .Would you share your thoughts about Any best practices / any one who run into this and had a strategy to deal with it ?Any pointers would be great.

Thank you.


Ka

TFS Custom fields

Can't add a second project to a solution's source control

$
0
0

Visual Studio 2015 Update 3

I created a solution with  a project in Visual Studio Online / TSF Source Control. When I create a second project under the solution there is no option anywhere to add this project to source control.  This is happening on every computer I try it on.

I tried removing and reading the project. Closing and opening Visual Studio, Totally deleting everything and restarting.. and the problem keeps happening.

Error Loading Saved Query in MS Project 2013

$
0
0

I am trying to set up an integration with MS Project 2013 with TFS 2017 I have not tried this before. so i am not sure if there is a problem with my pc setup or the addin configuration.This is the error i get when trying to open saved query:

Error Converting Value "System.Security.Principal.WindowsIdentity;xxx" to type 'Microsoft.VisualStudio.Identity.Services.IdentityDiscriptor'.Path 'authenticatedUser.descriptor'. line 1 postion 168


I am able to load it from Visual Studio 2015 in the workitems load the Query and then click "Open in Microsoft Office" then choose MS Project. this loads successfully


"The user name {0} is not a fully-qualified user name." error on build server since upgrading to TFS "15" RC2

$
0
0

Has anyone else had trouble running XAML builds pointed to TFS "15"? We have one build agent running without issue, but our 2nd build agent for BizTalk builds keeps running into the "The user name {0} is not a fully-qualified user name." error.

We've tried restarting the build agent server and re-entering the username/password for the service to no avail. Looking for suggestions.

Remove attached file does not immediately updated in Team Web Access

$
0
0

I would like to make the attachment as mandatory field when I change from State 1 to State 2. Here is how I did, due to unable to make System.AttachedFileCount as Required field, I created a custom field "Custom.HasAttachment" and set the following rule in the transition:

<FIELD refname="Custom.HasAttachment">
      <WHEN field="System.AttachedFileCount" value="0">
        <COPY from="value" value="No Attachment" />
        <PROHIBITEDVALUES expanditems="false">
          <LISTITEM value="No Attachment" />
        </PROHIBITEDVALUES>
      </WHEN>
      <WHENNOT field="System.AttachedFileCount" value="0">
        <COPY from="value" value="Has Attachment" />
      </WHENNOT>

I manage to get the expected result in Visual Studio 2015, but it doesn't work as expected in team web access. During testing, I added a file, the error message is closed, then I remove the file, the error message is not appeared in Web Access (In Visual Studio, it does appeared back!). Somehow, team web access doesn't detect the same behavior.

TFS2017 - unable to enable the new work item form

$
0
0

Hello-

I just upgraded from TFS 2013 to TFS 2017.  Very nice improvements!

I am trying to "Enable the new work item form" on the Collection Overview settings/control panel page.  I click that, then do the "Create new layout" button, then "Configure the opt-in model", change to "Enable opt-in for all users" and click Save.  I'm not getting the new work item form option to display- for either regular users or for users who are Collection Administrators.  If I go back to  the Control Panel Collection Overview page, it then shows"Enable the new work item form" as if I didn't do that.

A couple of notes: we're running Urban Turtle and so I've had to temporarily "turn off new navigation" because the Urban Turtle plug-in isn't showing the Urban Turtle menus (they state that they're going to be releasing a new plug-in soon.)  Oddly, once I did that, I am unable to "Turn on new navigation" back on!  This might be a part of the problem...?  The new navigation was in place until I disabled it for UT.

Also, not sure if it's important- I'm using a slightly modified Agile template for Work Items.

Thanks for any help!  Andrew

TFS 2017 : ISubscriber plugin model still supported ?

$
0
0

Hi,

We have an extension which handle automatic workitem association for merged changeset, that I try to convert to TFS 2017.

It is implemented as an ISubscriber implementation, for CheckinNotification type.

I was able to build our library and referencing the new libraries, but after copying the dll into App Tiers\Web Services\Plugins folder, the ISubscriber implementation does not seems to be called.

Is this development model still supported on TFS 2017 ?

Regards,

How to run web performance test from TFS?

$
0
0
I have created several web performance tests in a local directory, but would like to have them available for other testers to run from their machines. How do I transfer this to a shared location?
Viewing all 6687 articles
Browse latest View live