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

User Management in TFS2015

$
0
0

Hi,

We Use AD Groups\Users for TFS User Group Configuration. I have 2 users who are no longer required access to our TFS2015.1.  I removed those users from all the groups. But our TFS still shows those users. Upon further investigation I found that TFS is showing them as  members of 'Project Collection Valid Users' of a Team Project Collection. But I am not able to see them inside the group 'Project Collection Valid Users'. Also they are not part of AD Groups. I went through an interesting discussion here 'https://social.msdn.microsoft.com/Forums/vstudio/en-US/0428823f-a100-4f74-8908-1e98db2392d0/network-userid-still-shows-in-collectionproject-collection-valid-users-even-after-permissions?forum=tfsgeneral'. This issue is similar to mine. But I did not find a solution. Also I have removed few other users earlier. They are all successful. They don't have this issue.

This issue is bit annoying to our teams. I also feel it as a security risk.

I request your help on this. I want those users to be removed from our TFS. Please help me.

Regards,

Chirag D S


Visual Studio corrupts VB6 files when merging changes for TFS check-in with manual corrections

$
0
0

I have found a VERY annoying behaviour of Visual Studio where it corrupts VB6 source files by doing the following if performing a merge where conflicting changes exist to be able to check-in the updated file to TFS, the file must be manually altered to resolve the conflicts, and the alteration is done in the merge window.

  • Changes all "Variants" to "Objects"
  • Removes all instances of the keyword "Set"
  • Forces brackets around all procedure/method calls
  • etc.

I have found that this occurs with every version of Visual Studio from 2010 to 2013 and possibly others due to the fact that all VB6 files are associated with VB.Net.

I have tried to change Visual Studio so that all VB6 objects are treated as text files to prevent this, however, this change appears to revert to the VB.Net association at random times (possibly when an update is applied or an extension is added).

Is there any way to deal with this permanently???

Mark

Seradex Inc.

TFS build failed-Unable to find manifest signing certificate in the certificate store

$
0
0

Hi,

First time we are trying to create the TFS build for a new project  and it failed with Unable to find manifest signing certificate in the certificate store . 

However it works fine on dev machine.

I tried following things .

1. Imported certificate on agent machine using MMC.

2. winhttpcertcfp.exe

3. double clicking on .pfx and installing it directly

4. tried remove signing property on .proj file. but while compiling it again ask for key.

5. Removed the XML fro .proj file but same issue as 4th point.

MY TFS agent is running using network service. i already given this id admin rights.

Please do let me know if you have any of the below solutions.

1. What is left to get it work with as it is

2. or permanently removing. Remember , even after removing the singing property it is generating new key.

even unticking is not working and after compilation it is ticked atomatically.

 


Krishna

TFS in a large organization. Single team project? Security issues.

$
0
0
We've been advised to use a single team project "to rule them all". How can we prevent one sub-team from seeing or messing with another team's builds, work items source code, etc...?

How to Pull all the AD groups from TFS 2015

$
0
0

Hi,

We are trying to list out all the list of users from TFS. 

So Need to pull the Details , which all existing in the AD groups (like groups , users names , permissions)

Is there any way that can get all the details with any script.if any , pls share which can help me to get the information.

Thanks in Advance 


Ravi j

Setting up a TFS Proxy for TFS 2015 Update 3

$
0
0

Hi, I have TFS 2015 Update 3 installed in one location and I am trying to install TFS Proxy in another location. For some reason when I install the TFS 2015 Update 3 in the second location where I need the proxy installed, I can't find the option in the Wizard to setup a proxy.

Is there anything else that I need to install?

I tried installing the TFS 2015 without any update and still have no luck.


Dilshod

What triggers the TestRunCompletedEvent server-side event?

$
0
0

I'm trying to capture an event on the TFS server for when a test run is complete (i.e. when the overall test result is set and the test run saved and closed). Using a very simple test plug-in I can get it to detect changes in Work Items using WorkItemChangedEvent, but I can't get it to ever trigger using TestRunCompletedEvent.

Here's the test plug-in code I'm using (so far I've just been using breakpoints on the new 'Dim e' statements to check it):

Imports Microsoft.TeamFoundation.common
Imports Microsoft.TeamFoundation.Framework.Server
Imports Microsoft.TeamFoundation.WorkItemTracking.Server
Imports Microsoft.TeamFoundation.TestManagement.Server

Public Class TFSExtension
    Implements ISubscriber

    Public ReadOnly Property Name As String Implements ISubscriber.Name
        Get
            Return "Instem TFS Extension"
        End Get
    End Property

    Public ReadOnly Property Priority As SubscriberPriority Implements ISubscriber.Priority
        Get
            Return SubscriberPriority.Normal
        End Get
    End Property

    Public Function ProcessEvent(requestContext As IVssRequestContext, notificationType As NotificationType, notificationEventArgs As Object, ByRef statusCode As Integer, ByRef statusMessage As String, ByRef properties As ExceptionPropertyCollection) As EventNotificationStatus Implements ISubscriber.ProcessEvent
        If notificationType = NotificationType.Notification AndAlso TypeOf notificationEventArgs Is WorkItemChangedEvent Then
            Dim e = DirectCast(notificationEventArgs, WorkItemChangedEvent)
        ElseIf notificationType = NotificationType.Notification AndAlso TypeOf notificationEventArgs Is TestRunCompletedEvent Then
            Dim e = DirectCast(notificationEventArgs, TestRunCompletedEvent)

        End If
        Return EventNotificationStatus.ActionApproved
    End Function

    Public Function SubscribedTypes() As Type() Implements ISubscriber.SubscribedTypes
        Return New Type() {GetType(WorkItemChangedEvent), GetType(TestRunCompletedEvent)}
    End Function
End Class

I've tried triggering by running tests through MTM and using the web version, but it never goes into the TestRunCompletedEvent block. Anyone know what is supposed to trigger this event? Is there another event for detecting when a test is complete?

Thanks,

John.

Unable to send email from Visual studio

$
0
0

Hi there,

I am unable to send email from Visual studio, can anyone help please?

TF242402 : Could not start or connect to Outlook. This problem can occur if Visual Studio is running with full administrator access and Outlook is not. if Visual Studio is running with full administrator access, close Outlook, & open Outlook using the Run As Administrator option.

Thanks,

CacheM


Author image is missing online

$
0
0

Hello

I wonder how I can get my profile image to show up on the history entries?

How to SET GIT permissions in TFS

$
0
0

I am trying to set GIT repository permissions using the GroupAndPermissions.xml in the TFS process template as highlighted below. IS it possible ?? It gives an error saying GIT is not a valid class.

How the TFS Dashboard's Board Tab works internally and How to querying the Dashboard?

$
0
0

Hi, I am just planning to build the XML tree structure of the TFS Board tab using Windows Form App, similar to the following:-

<Sprint1>
<USStoryName1>
<Task1Details></Task1Details>
<Task2Details></Task2Details>
</USStoryName1>
<USStoryName2>
<Task1Details></Task1Details>
<Task2Details></Task2Details>
</USStoryName2>
</Sprint1>

For that, I have just seen the Page Source for that tab.

But it is having full of JSON values, some thing like this,

{"Microsoft.VSTS.Scheduling.RemainingWork":{"34990":"","34822":"","34824":"","34892": ... }}

But doing "Inspect", is giving the DOM structure which is, I am in need of..

Here is a sample shot of the TFS Dashboard.

1. So, whether it is doing some transformation works with scripting for converting JSON to the HTML elements...

2. So, I thought to work with the data by doing the Inspect on the page [which will give the DOM]. But I believe there will be some way to do it. Is there any API avail for it?

Since both question are touching the same thing, I have made it as one question.

Thanks..


NANDAKUMAR.T

TFS-2010 to TFS-2013 Differential backup restore of DBs

$
0
0
Can anybody suggest ,If I have already upgraded TFS 2010 to TFS-2013,Is there still any option to restore diffential backup of TFS DBs from TFS2010 to TFS 2013?

TFS 2015 vNext - selectively execute automated tests - need MTM?

$
0
0

I'm building new automation infrastructure and have the privilege to use TFS 2015 vNext from the very first beginning. And so I did and defined my vNext build as part of my CI.

I just cannot find a way that a QA person or Dev person can selectively choose which automated test to run on any of the machines in the machines group.
I would expect to have such functionality under the TEST hub but there isn't.

Am I missing something? Do I still have to use MTM for that and define XAML build, controller etc? Any way to combine the two? I understood you guys (Microsoft) is about to abandon Lab Center (and the entire MTM -google "Lab Management Evolution") so what is the other option?

(I'm familiar with "Executing Automated tests in Build vNext using Test Plan, Test Suites" but would like to give the freedom to select tests).

Thanks!

"No azure endpoint authorizer found for authentication of type "UsernamePassword" error

$
0
0

Hi,

I am currently trying to automate our website deployment to Azure using TFS/VSTS. I have successfully created and executed a build definition and I am in the process of creating a release definition.

I am being prompted by the release definition process to create a new service endpoint and I entered the following information:

I got the server URL, subscription ID, subscription name, username & password from the Azure account given to me. However, when I click the "verify connection" link, I get the error above.

What could be the cause of this problem and how do I resolve it?

Thanks.

Unable to update any WIT after upgrading to TFS 2015.4 from TFS 2013.4

$
0
0

Hi,

After migration from TFS 2013.4 to TFS 2015.4. Whenever I try to import the WIT, I am getting the same error "TF401349: An unexpected error has occured, please verify your request and try again."

When I run "Configure features" wizard, I am getting below errors.

[Warning] VS402404: Bugs On TaskBoard: Defect does not have the Microsoft.VSTS.Common.Activity field defined. Some charts will not include these work item types.

[Warning] TF400607: Category 'Microsoft.RequirementCategory' will be overwritten.

[Error] TF400654: Unable to configure Planning Tools. The following element contains an error: BugWorkItems/BugWorkItems. TF400506: This element defines the states for work items that represent Bugs or Defects. Each state must exist in at least one of the work item types that are defined in: BugWorkItems. The following states do not exist in any of the work item types: New.

As I am unable to import WIT, I cannot add/ modify above fields.

"Category 'Microsoft.RequirementCategory' will be overwritten." what does it mean? Do I need to change categories.xml?

Note: I am able to modify the WIT if it is open from server. 


Radhika



Migrate multiple projects into one project.

$
0
0

Hi,

Currently running TFS 2015 Update3. 
We have many team projects that we want to merge into a single project in the same collection.
As far as i can read, TFS Integration plattform, can only be used for older TFS versions, but not for 2015.
My biggest problem is that i want to keep the history. If i branch i get the history untill i delete the old project.

Old Structure:

DefaultCollection
|___ Project 1
|___ Project 2
|___ Project 3

New Structure:

DefaultCollection
|___ New Project
         |___ Project 1
         |___ Project 2
         |___ Project 3

MIgrating from TFS 2013 updte 4 to TFS 2015HI,

$
0
0

HI,

We are going to upgrade our TFS POC server from 2013 update 4 to 2015.

POC server has SQL server 2008 R2 SP1 and Windows Serve 2008 R2 Sp1, is this supported version ?

TFS is Sharepoint integrated as well.

Could you please also share any steps to upgrade.


MCTS-Microsoft Exchange Adminstrator,2010

Overriding Code Analysis Warnings when i don`t have any warnings

$
0
0

Hi everyone! I tried to resolve CA warnings in project, that i`m developing, but i have some troubles with it. I resolved all warnings and now i have 0 warnings, but i still should to override Code Analysis Warning.  Following is image with warning that i should  override.


When i rebuilding my solution and project that shown in this warning, i get result with 0 warnings. The project that shown in this warning with output type Windows Runtime Component. Have anybody else had same problem and how do you resolve it? Thanks for response.


There are multiple users with the same display name

$
0
0

Hi,

We have a user and when she get an item assigned to her she sees the following alert:

"There are multiple users with the same display name USERNAME and at least one of them does not have read permissions to some of the files"

Now I looked in the database and when I run the following query with the username:

 SELECT     
     [ProviderDisplayName]  
    ,[DisplayName]  
    ,[HasDisplayName]  
    ,[Domain]  
    ,[AccountName]  
    ,[UniqueUserId]  
    ,[LastSync]  
  FROM [Tfs_Configuration].[dbo].[tbl_Identity] where displayname like '%USERNAME%'  

Then I get 2 same usernames back, How can I get rid of one of them ? When I access TFS trough the portal I only find 1 occurence of this user.

We use VS2013 and TFS2013 update 4

Best regards


How to quickly identify the feature a bug is a descendant of?

$
0
0

It is desired that we be able to quickly identify which feature any bug is a descendant of.

Most Bugs are filed under PBIs, which are children of Features.  Some Bugs are filed directly as children of features.

There is talk of manually tagging Bugs with the Feature ID.  This seems like extra work to me given that you can follow the links to the parent feature.

But people don't want to dig through links to find the parent feature.

Is there an easier way to identify the parent feature for any given bug?

Thanks,

Steve

Viewing all 6687 articles
Browse latest View live


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