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

Grunt/NPM Build Tasks Not Following Set Working Directory

$
0
0

Is anyone else having an issue where if they set explicitly a working directory, the build ignores and using the default?

For example, I will set it to "MyWebsite/build" and then in the build log, it shows this: "Set workingFolder to default: E:\Builds\agent\tasks\Grunt\0.5.19"

We are using an on-premise build agent.


~Nick


Error open Visual Studio 2008 when connected to TFS 2015

$
0
0

After upgrading TFS to version 2015 users that are on Visual Studio 2008 get the following error when opening it.

Team Foundation Error - Specified Method is not supported.

Also when you attempt to check in changed items into source control and you want to associate work items it just keeps sprinning saying requesting work item queries, it never populates with anything.  I'm also unable to view builds in the Team explorer using 2008 connected to tfs2015.  Also in Visual Studio if I click on Build -> Queue new build from the menu I get the error, Team Foundation Error, Specified method is not supported.

Thanks,



Remove "Team Foundation Server"

$
0
0

Hi,

I'm a single web developer, and work on sites locally on my own computer.

Today, I came into work and when I opened up (in Visual Studio 2015 Community) and one of my projects, I see a bunch of "blue padlock" icons next to my files.

When I hover over them, it says "checked in".

Not sure what's happening, but some Googling says "Team Foundation Server".  Not sure what that is (and don't need to know).  I just want to nuke it.

I found a forum post that said "drain the nodes" or something, but I just want to make sure it's gone, and preferably nuke from space to make sure that however it showed up in the first place - doesn't happen again.

If anyone has a simple suggestion on getting rid of it, I'd appreciate it.

Thanks

David

TF400898: An Internal Error Occurred message when clicking TEST link in our TFS website

$
0
0

Hi.  I posted this question under Installation, but the moderators suggested I post here instead.  

We have Microsoft Test Manager 2015 installed (and we have a Visual Studio Enterprise 2015).  We are able to enter and run testcases successfully in Test Manager itself, but when we try to access the TEST link in our TFS website, we get the following error below.  This happens for users that have ADVANCED permissions in TFS.  (We tried enabling Browse in the _scripts directory, but are still seeing the problem.)  Any help would be appreciated!  Thanks.

TF400898: An Internal Error Occurred.
Error: TF400898: An Internal Error Occurred.
    at http://xxxxx/tfs/_static/tfs/Dev14.M95.2/_scripts/TFS/min/TfsPresentationCoreJs?v=udUD-3kS6a2h6XMUkhemWSn__DNIopn-FdkSetlNXoM1:22:1626
    at nt (http://xxxxx/tfs/_static/tfs/Dev14.M95.2/_scripts/TFS/min/TfsPresentationCoreJs?v=udUD-3kS6a2h6XMUkhemWSn__DNIopn-FdkSetlNXoM1:22:893)
    at Object.error (http://xxxxx/tfs/_static/tfs/Dev14.M95.2/_scripts/TFS/min/TfsPresentationCoreJs?v=udUD-3kS6a2h6XMUkhemWSn__DNIopn-FdkSetlNXoM1:22:1263)
    at j (http://xxxxx/tfs/_static/tfs/Dev14.M95.2/_scripts/TFS/min/basejs:2:26860)
    at Object.fireWith [as rejectWith] (http://xxxxx/tfs/_static/tfs/Dev14.M95.2/_scripts/TFS/min/basejs:2:27673)
    at x (http://xxxxx/tfs/_static/tfs/Dev14.M95.2/_scripts/TFS/min/basejs:4:11145)
    at XMLHttpRequest.<anonymous> (http://xxxxx/tfs/_static/tfs/Dev14.M95.2/_scripts/TFS/min/basejs:4:14767)
Session Id: 7059a3bc-942f-4e31-9b5a-20e748454df7

TFS 2013 hangs during source control move command

$
0
0

Looking for a little direction on how to start trouble shooting this..  When a user tries to move branched code from one project to another it will hang that collection's database.  I can see this via the SQL activity monitor (identifiing the blocking session, the app tier making the call, & then I can reboot that box to clear the users connection    - trying to end the session/spid has not worked).

This has been very reliable to duplicate during the day.   If I'm patient & try the same move early Saturday/Sunday when there's no usage the task will complete.

We are using TFS2013   12.0.3.1101.0 (tfs2013.update4)..  3 app tier Azure VM's,   2 Azure VM's datatier  configured for high availability database (each configured as xeon 2.4Ghz core  56GB ram)

When the system hangs it affects everyone in that collection, other collections are fine.  The branched source code consists of about 5.5GB of code / 170K files / 26K folders.

This mainly happens when the move option in source code is used from within visual studios, but it can also happen when someone is trying to delete a branch that was created (get latest/ right click delete/ check-in).

Any ideas on specific SQL db settings to avoid this, or is our source branch too large, other?

thanks

curtis.

 

Custom Alerts Not Working in TFS 2015

$
0
0
Hi,
I recently upgraded and migrated from TFS 2010 to TFS 2015.  After the migration custom alerts are not working.  We've even deleted the custom alerts and recreated them.  Still they don't work.  The SMTP settings are correct and test e-mails work.

We have checked the following:
a. The alert is for the correct project

b. someone else on the team assigned them a work item.

c. that this registry key is set to 0

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy]
 "Enabled"=dword:00000000

d. Don't see any errors in the table
[Tfs_Configuration].[dbo].[tbl_JobHistory]

Is there a query that can retrieve all PBIs that are linked to a specific branch?

$
0
0
Branches can be linked to Product Backlog Items.  I just need that: a query that can retrieve all PBIs that are linked to a specific branch.  has anyone done that before?

Board Column and Board Lanes aren't reliable when displayed in other views (queries, backlogs, or Sprint Backlog)

$
0
0

Love the (Customized) Board Columns and Board Lane fields and how they can now be added as columns in queries and in backlogs, however they're proving to be unreliable. We cannot use them unless they can be trusted. I'm combining them into one post here because they seem similar enough (they are both controlled on a team's backlog board view and they both are not reliable when viewed outside of the backlog board view.

I'm wondering if I'm the only one experiencing this or if others are running into the same issues / have a solution.

First the Board Column

  • On the backlog board, create a new customized column "Plan" that maps to state "New"
  • Drag an item from New to "Plan"
  • Navigate to the backlog (not the board).
  • Add the Board Column as a column so it's visible on the page.
  • Find the item that was just moved to "Plan" on the board

Expected

  • Board Column is "Plan"

Observed

  • Board Column is "New"

Now the Board Lane

  • On the Backlog Board, create a new board lane called "Expedite"
  • Drag an item into the "Expedite" lane
  • Navigate to the Sprint Board, where the backlog items are in the first column and the tasks are moved from column one "new", then "In Progress", then "Done"
  • Configure Sprint Board such that the "Board Lane" is visible on the backlog item card
  • Find the backlog item that was moved to expedite

Expected

  • Board Lane field is "Expedite"

Observed

  • Board Lane field is blank 

XAML REST API Sample

$
0
0

Hello,

i want to write  a simple tool, which helps me starting builds quickly.
For that i will create a xaml build definition with some parameters.
And now i want to start that xaml build via REST API.

My Questions:

- how can i define variables in a xaml build ?

- how can i start a build with this buid definition using the variables over the rest api? Any Examplesm or Code snippets?

TFS 2015 update 3 where to see bug details

$
0
0

I have downloaded TFS 2015 update 3 from:

https://www.visualstudio.com/en-us/news/releasenotes/tfs2015-update3-vs#build

And would like to see the details of this fix:

"Cannot queue a Team Foundation Version Control build from a source label."

Where is the issue tracker to see all the details ?

Thanks



Extension Update doesn't seem to work

$
0
0

I've developed a custom extension for TFS 2015 Update 3. It's a custom build and deploy task if it matters.

I've used the web interface to upload the extension, and that appears to work fine.  However, when I use the Update function from the dropdown to the left of the icon in the extensions list, it doesn't seem to actually update.  The version number listed In the extensions changes, but the input fields, and script that gets executed does not seem to actually update.

I have to remove the extension, then re-upload it to get the changes. 

Is there any specific trick to get the update function to actually update the extension?  I've bumped the version number on both the vss-extension.json and the task.json, but that doesn't seem to do anything.  In addition, when I update the extension and click "Install" it says it's already installed.

I'm referring to this function:

Force TFS 2015 to always use https?

$
0
0

I have a problem with TFS. We have a corporate policy of only use secure bindings for our servers. However, TFS seems to insist on using non-https for things like images in some situations, and since there is no http binding, the images do not show up.

In particular, the build task icons show as broken images, and when I look at the html source, it is showing a that it's trying to access http://server:8080/tfs/... even though the connection is currently an https connection, and no http binding exists.

I've tried changing the ServerUrl setting, as well as the notification url.  These have no effect.  Most other background images are css based in TFS, and so they just use relative addressing of the current connection, but the build tasks seem to use absolute urls, and forces them to use http.

Any suggestions on how to force these URL's to use the https connection?

How to copy and paste shared steps/insert shared steps from excel

$
0
0
Hello, I want to know how to copy SHARED STEPS, not regular steps, but shared steps and all their associated steps and links from one test case to another via the grid view. So right now I have two windows of the web based TFS open with each window having different test cases in the grid view. If I copy a shared step from one grid to another right now, it doesn't copy as a shared step but rather plainly as text. Also, going along those lines, I have hundreds of test cases which use the same set of shared steps. How do I bulk insert these shared steps into each of the test cases in TFS via an Excel spreadsheet?

MSDeploy fails with ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER

$
0
0

I get the following access denied error while trying to publish a website using TFS 2013 and Release Management 2013.

Can anyone throw some light?



Unhandled Exception: System.Exception: SetParameters from:
"C:\Users\SA_TFS_Build\AppData\Local\Temp\RM\T\RM\TESTPackage IIS Web Publisher\201511131455196203279-4\TESTPackage.SetParameters.xml"
You can change IIS Application Name, Physical path, connectionString
or other deploy parameters in the above file.
-------------------------------------------------------
 Start executing msdeploy.exe
-------------------------------------------------------
 "C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:package='C:\Users\SA_TFS_Build\AppData\Local\Temp\RM\T\RM\test IIS Web Publisher\201511131455196203279-4\test.zip' -dest:auto,includeAcls="False" -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParamFile:"C:\Users\SA_TFS_Build\AppData\Local\Temp\RM\T\RM\TESTPackage IIS Web Publisher\201511131455196203279-4\TESTPackage.SetParameters.xml" 
Info: Creating application (Default Web Site/TESTPackage_deploy)
Info: Adding file (Default Web Site/TESTPackage_deploy\Admin.aspx).
Error Code: ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER 0x80070005
More Information: Unable to perform the operation ("Create File")  for the specified directory ("C:\inetpub\wwwroot\TESTPackage_deploy\Admin.aspx"). This can occur if the server administrator has not authorized this operation for the user credentials you are using.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER.
Error: The error code was 0x80070005.
Error: Access to the path 'C:\inetpub\wwwroot\TESTPackage_deploy\Admin.aspx' is denied.
Error count: 1.

   at InRelease.MSDeploy.Program.Main(String[] args)



TF223006: You cannot modify the definition of a work item tracking object with your version of command-line tools as they are not compatible with the Web services for Team Foundation Server.

$
0
0

Hello,

While import Global-list xml through c# coding to Team foundation server 2015.I am facing following error.

I am getting exception in this particular line 

            c# code:     WorkItemStore store;
                            store.ImportGlobalLists(doc.InnerXml);

Error:    TF223006: You cannot modify the definition of a work item tracking object with your version of command-line tools as they are not compatible with the Web services for Team Foundation Server.

How do  i resolve this please?


Thanks & Regards,

Uvasri


Can't create test suite because state In Planning is not in the list of supported values

$
0
0

I can no longer create new test suites in VSTS. I get the following message

The field 'State' contains the value 'In Planning' that is not in the list of supported values

We are using a child process that we created from the Scrum process. The changes to our child process are in the Bugs and PBI work types. No changes have been made to the test suite work type.

Creating a test suite in a test project that uses the default Scrum process works as expected.

Has anyone encountered this? It looks like it started after the last June 17 update.

After TFS Upgrade to 2013, my web application does not work (Workspace issue??)

$
0
0

So after the TFS upgrade from 2010 to TFS 2013, my web application which used the Extension libraries inVisual Studio 2013:

libraries

The application was using the Version 11 libraries before (when it did work with TFS 2010), then we did the upgrade to TFS 2013, and the web app was still using the Version 11 libraries, but it did not work, so I changed thelibraries to Version 12 thinking that was the issue, but it still does not work.

The issue comes down to the Workspace and possibly the checking out of the files, but is more related to the Workspace I think.

Here is the summary of the code I am using:

Client Application

TFS.WorkspaceDirectory = "c:\temp\MirthBackupWorkspace\Shared"; TFS.WorkspaceName = "MirthBackupWorkspace_Shared"; //instantiate a new TFS Project Collection object TFS.MirthTeamProjectCollection = new TfsTeamProjectCollection(new Uri("http://TFSSERVER:8080/tfs/integration")); // Get a reference to Version Control. (this will vary for your specific project) TFS.VersionControlServer = MirthTeamProjectCollection.GetService<VersionControlServer>(); //creates a new TFS workspace. workSpace = CreateWorkspace(TFS.WorkspaceName, TFS.WorkspaceDirectory); string workspaceDir = TFS.WorkspaceDirectory; string tfsWorkspaceFolderDir = workspaceDir + "\\TestDirectory"; //CHECKOUT existing TFS files //verify if we have the latest and get the latest version before checking out count = workSpace.PendEdit(new string[] { tfsWorkspaceFolderDir }, RecursionType.Full, null, LockLevel.CheckOut, false, Microsoft.TeamFoundation.VersionControl.Common.PendChangesOptions.GetLatestOnCheckout, null); if (count == 0) { TFS.Status = eStatus.Error.ToString(); } else { TFS.Status = eStatus.Success.ToString(); }

public static Workspace CreateWorkspace(string workspaceName, string workspaceDir)
        {
            Workspace workspace = null;
            try
            {
                //this will fail if there is already a workspace that exists with that name
                workspace = TFS.VersionControlServer.CreateWorkspace(workspaceName, TFS.VersionControlServer.AuthorizedUser);

                //map the workspace to a local directory
                workspace.Map(State.ConfigurationState.TFS.Project, workspaceDir);              
            }
            catch (Exception e)
            {
                //on fail, get the current workspace
                workspace = TFS.VersionControlServer.GetWorkspace(workspaceName, TFS.VersionControlServer.AuthorizedUser);
            }
            finally
            {       
                //get the lastest files from TFS
                workspace.Get();
            }

            return workspace;
        }

So the issue I am having, is that workSpace.PendEdit(....) is returning a zero (0) count, when there clearly are items in that workspace that can be checked out.

Does anyone have any idea why this may be occurring?  

Any suggestions would be helpful?

Thanks in advance.


Thanks. sc



Customization of Defect Status in TFS

$
0
0

Hello All,

Is there any way, i can customize my defect status in TFS bug work item? We are using HPALM from long time and we transferred our self from HPALM to TFS. Facing lot of confusion. Below list make sense and easy for tracking. 

I want to have defect status like this?

a. New

b. Accepted

c. Fixed

d. Ready For Retest

e. Close

or Rejected

or Deferred.

Appreciate your help in advance. 

Thanks

Ajay

Alerts for Code Review Responses not working in TFS 2015

$
0
0

We're encountering an issue with alerts/emails for Code Reviews.

For at least one person, but maybe not all, when they initiate a code review and the reviewer responds, they do not receive an email alert saying that the reviewer has responded and therefore don't know that they have.

Here's what we've confirmed/checked:

The person in question receives other email alerts from TFS correctly such as build emails, release emails, emails for assigned work items and so forth.  So their profile and associated email address are not an issue.  And since the server sends email successfully it is not an issue with the email server settings and so forth.

There is a team alert in the team project for "A code review I am working on changes".  It's the default you get when you add an alert and select that choice with an additional filter of team project = [current]

Other code review alerts/emails are generated.  It is just the ones related to a "Code Review Response" that appear to not be sent.

This TFS server was upgraded in place from TFS 2013 (and before that TFS 2012, 2010 and so forth).

I'm at a loss as to what else to check that would explain this issue.

Query not showing all linked work items in Excel, but does in Visual Studio

$
0
0

We have a query that is exectued from Visual Studio that shows a list of all Test cases and their associated Product backlog items.  For every PBI there is an associated test case and many PBI's have the SAME associated test case.  Those test cases only show up to be linked to ONE test case in Excel, not every one that it's linked to.

Why are the results different in Excel and Visual Studio?

The only workaround we have is to copy and paste the results from Visual Studio.

Viewing all 6687 articles
Browse latest View live


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