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

Where is the Move Work Item between project option?

$
0
0

One thing I was very excited about for TFS 2017 is the ability to move work items between projects in the same collection and the ability to change the type WI type.

Im pretty sure Im looking in the correct location but Im not seeing either of these options?

Do I need to enable/configure something to see these options?

Not sure if it matters but Im using the Agile template.

- Fergal


Fergal Sweeney


Recent problem with Visual Studio Build task using .net Core

$
0
0

Our build wasworking, but something has changed over the past few weeks and we now get this error when building using the Visual Studio Build task

GETSDKTOOLINGINFO (0, 0)

GETSDKTOOLINGINFO(0,0): Error : The project is configured to use .NET Core SDK version 1.0.0-preview2-003121 which is not installed or cannot be found under the path C:\Program Files\dotnet. These components are required to build and run this project. Download the version of .NET Core SDK specified in global.json or update the SDK version in global.json to the version that is installed.

We are still using VS 2015 currently on both our dev machines and the Build Task | Visual Studio Version setting.  I see there is now an option to choose Visual Studio "15" Preview as the build task version. My understanding is that VS 15 and VS 2015 can't be installed on the same machine without some machine changes which is not an option for the hosted build agent.

Any else seeing this?

Thanks!

Simon


Simon Neve

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

Is there an ability to create either a custom Build event/alert or add a field to the existing build alerts?

$
0
0

I was looking into setting up the build alerts on our TFS 2015 system.  When I went to look at the "build fails" and "build complete" events, the field I was looking for "Build name" is not there.

Is there a means to create new, custom events?  Or to add new fields to an existing event?

Thank you.

-Ed

No default subscription has been designated. Use Select-AzureSubscription -Default to set the default subscription

$
0
0

I am trying to run a task on TFS which requires AD set up. I managed to set up all connections, but for some reason Subscription on TFS is not selected.
I am not sure to what account do I have to log in, to set default subscription. -Default parameter is deprecated btw.

TFS build error:

I tried to set up via power-shell: 

The working folder [FOLDER] is already in use by [workspacename];[username] on computer COMPUTERNAME

$
0
0

After a hard drive format, whenever I try to MAP a local folder to a project in TFS, I get the error

The working folder [FOLDER] is already in use by [workspacename];[username] on computer COMPUTERNAME

I have read several other posts which suggest using the tf workspace /delete command to help clear this up, but it does not work for me.

tf workspace /delete WORKSPACENAME /collection:https://XXXXX.visualstudio.com/Test%20Project

The result is:

TF31002: Unable to connect to this Team Foundation Server: https://XXXXX.visualstudio.com/Test Project.
Team Foundation Server Url: https://XXXXX.visualstudio.com/Test Project.
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect.
- The Team Foundation Server is offline.
- The password has expired or is incorrect.

Technical information (for administrator):
The remote server returned an error: (404) Not Found.

The URL is correct, as I can type it into a web browser and it successfully goes to the site.

I have also tried:

tf workspace /delete WORKSPACENAME /collection:https://XXXXX.visualstudio.com/Test%20Project /login:EMAILADDRESS,PASSWORD

using the Microsoft Live email address and password that I use to log into the Team Services website, and this gives the same error.

I do not know what else to try to get this to work.

How can I query Pull Request created by someone else but not assigned to me

$
0
0

Currently we can check Pull Request "Created by me", "Assigned to me", "Assigned to team" and "All", but how can I easily check someone else's pull request? It's very useful to learn feature developed by others.

Thanks

Access To A Folder Denied After a Failed Build and Sometimes After Closing The Solution...

$
0
0

Hi All,

I've read about multi processing causing problems during build, but that doesn't seem to be a problem for me.  The problem I do see is that, usually following a failed build, the next build will fail with access denied errors on a folder.  Why does this occur.  Subsequent attempts to build will also fail until I reboot the Build Server.  Then all is well until the next failure.

This also happens at times if I work on the solution, close, check-in.  This seems to be a fairly rare occurrence for one as I rarely develop on the build server.

What isn't clearing or has a grasp on the folder(s) following failure?

Any information appreciated!!


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,

Create Team project command line

$
0
0

Hi,

I am working on some automation project, so i need to create a team project in TFS through command line that too on remote server(on Azure where i have installed TFS). Is there a way to achieve it. I am aware of TFS power tool but that requires its installation on Azure VM which again has to be done through command line and remotely, which i am not sure if possible.

Please help.

How to use "Publish Code Coverage Results"?

$
0
0

Hello Community,

I would like to publish code coverage statistics on TFS 2015 but it does not work.

I used MinGW and gcov to compile the project.
I executed the programm to get the gcov files.
I used python and gcovr to get a summary file in cobertury format.

All These steps are working but the publishing step does not work as expected. It generates the following log:

Das PowerShell-Skript wird ausgeführt: C:\TfsBuildAgent\tasks\PublishCodeCoverageResults\1.0.3\PublishCodeCoverageResults.ps1
Starting 'Publish-CodeCoverage' cmdlet...
Publishing coverage summary data to TFS server.
Publishing additional files to TFS server.
Maximale gleichzeitige Uploads 8, maximale Ersteller 2
1 Dateien wurden zum Hochladen gefunden.
Files found locally 1,
Files evaluated 0,
Files left to evaluate 1.,
Files created without upload 0,
Files uploaded 0
Files left to process 1
---------------------------
0 Dateien wurden erstellt, ohne dass Inhalte hochgeladen wurden. Insgesamt verarbeitete Dateien 1

What can I do to make it work?

Thanks,
Michael

Timeout during Merging Branches - TF246018: The database operation exceed the timeout limit and has been cancelled. Verify that the parameter of the operation are correct.

$
0
0

We moved our TFS 2010 installation to another Server and upgraded to TFS 2017. So far everything worked fine but merging branches.
In Source Control Explorer we start the process with "Branching and Merching" --> "Merge.." --> choose "Selected changesets" and on clicking next, the Changesets should be listed. Here we geht the timeout message.
If I search for Changesets with the "Find Changesets" Dialog, the search performs pretty well and lists the results as expected.

Thanks for your help in advance.

Edit: As somewhere else suggested, i tried to merge Changesets with the command line and "tf merge" command - worked fine.

Here are the Event Log details:

TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 19.12.2016 12:18:25
Machine: MIA-TFS01
Application Domain: /LM/W3SVC/2/ROOT/tfs-1-131264048035011226
Assembly: Microsoft.TeamFoundation.Framework.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v4.0.30319
Service Host: 7f064ff2-7678-4a55-a681-2e24a479d8f8 (DefaultCollection)
Process Details:
  Process Name: w3wp
  Process Id: 4168
  Thread Id: 12828
  Account name: xxx

Detailed Message: TF30065: An unhandled exception occurred.

Web Request Details
    Url: http://xxxxx:8080/tfs/DefaultCollection/VersionControl/v5.0/repository.asmx [method: POST]
    User Agent: Team Foundation (devenv.exe, 12.0.40629.0, Pro, SKU:15)
    Headers: not available
    Path: /tfs/DefaultCollection/VersionControl/v5.0/repository.asmx
    Local Request: False
    Host Address: 10.10.20.143
    User: xxx [authentication type: Negotiate]

Exception Message: TF246018: The database operation exceeded the timeout limit and has been cancelled. Verify that the parameters of the operation are correct. (type DatabaseOperationTimeoutException)
Exception Stack Trace:    at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(Int32 errorNumber, SqlException sqlException, SqlError sqlError)
   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(SqlException sqlException)
   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.ExecuteReader()
   at Microsoft.TeamFoundation.VersionControl.Server.VersionedItemComponent.QueryMergeCandidates(Workspace workspace, ItemPathPair sourceItemPathPair, ItemPathPair targetItemPathPair, RecursionType recursive, Int32 sourceDeletionId, MergeOptionsEx options, PathLength maxServerPathLength)
   at Microsoft.TeamFoundation.VersionControl.Server.MergeCandidate.QueryMergeCandidates(VersionControlRequestContext versionControlRequestContext, Workspace localWorkspace, ItemSpec source, ItemSpec target, MergeOptionsEx options)
   at Microsoft.TeamFoundation.VersionControl.Server.TeamFoundationVersionControlService.QueryMergeCandidates(IVssRequestContext requestContext, String workspaceName, String workspaceOwner, ItemSpec source, ItemSpec target, MergeOptionsEx options, PathLength maxClientPathLength)
   at Microsoft.TeamFoundation.VersionControl.Server.Repository5.QueryMergeCandidates(String workspaceName, String workspaceOwner, ItemSpec source, ItemSpec target, Int32 options, Int32 maxClientPathLength)

Inner Exception Details:

Exception Message: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. (type SqlException)
SQL Exception Class: 11
SQL Exception Number: -2
SQL Exception Procedure:
SQL Exception Line Number: 0
SQL Exception Server: MIA-TFS01
SQL Exception State: 0
SQL Error(s):

Exception Data Dictionary:
HelpLink.ProdName = Microsoft SQL Server
HelpLink.ProdVer = 12.00.4213
HelpLink.EvtSrc = MSSQLServer
HelpLink.EvtID = -2
HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
HelpLink.LinkId = 20476


Exception Stack Trace:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteCommand(ExecuteType executeType, CommandBehavior behavior, String performanceGroupName)

Inner Exception Details:

Exception Message: Der Wartevorgang wurde abgebrochen (type Win32Exception)
Exception Stack Trace:



TFS REST API : fetch the allowed values/lookUp values for the given field

$
0
0

I found following two API which return the field information at collection or project level

API 1:

https://<accountname>.visualstudio.com/DefaultCollection/_apis/wit/fields?api-version=1.0

 [List the collection level all fields information (included field name, reference Name, type, read Only, supported Operation]

API 2:

https://<accoutname>.visualstudio.com/DefaultCollection/<project name>/_apis/wit/workItemTypes/Bug?api-version=1.0

[List the field information for the given project and work item type (included the field always Required, name, reference name, URL)]

I want to know is there any REST API available which list the possible allowed values for the given field,None of above API response included the allowed values (look up values) for the field such as priority, severity etc.

Kindly let me know whether allowed values Rest API available or not. if yes, provide the information about such API.

Thanks in advance.

Simple Question on TFS Chart

$
0
0

Hi,

I ve created a visual Chart based on Querry grouped by User that assigned to the task.

When i click on the user in the chart i am redirected to the list of all task although i selected one specific user.

My question is how when i click on the user name on the chart i get only the detail of this user?? it seems to be intuitive as a feature but TFS chart not reacting that way :( am i missing somthing? 

Thank you for you answer

File extension for solution filter when using "team explorer" in SQL Server Management Studio

$
0
0

I use SQL Server Management Studio 2016. I used this tutorial to enable source control by using the Visual Studio 2015 isolated shell.

Besides some other minor hiccups I noticed, that the "Team Explorer" does not find any "solutions", even though I created "solutions" in the GIT repository and I am 100% sure that these solutions are checked in into the repository. Still, the "Team Explorer" says that "There were no solutions found". A screenshot can be seen here:


I am certain that the reason, why no solutions are found is, that the "team explorer" is looking only for files with the extension SLN (which is the file extension for visual studio projects). however, since I am using "team explorer" in the SQL server management studio, the solution files have the extension "SSMSSLN", but the "team explorer" seems not to look for such files.

I verified this by renaming the SSMSSLN files to SLN files. Then, they appeared as can be seen here:

I think this is quite an easy "fix" for Microsoft. The file-extension filter for the "team explorer", when used inside SQL Server Management Studio needs to be adapted.

I am not sure if this here is the correct place to request this. If there is a better place, please let me know.


Unable to Parameterize the Data in Microsoft Test Manager

$
0
0

Hi There,

i am working on MTM , tried some record and play back some actions. While parameterize some data from the test cases , i clicked the "Customer PO" field and paste(Cntl+V) in the application WebEdit Field. But , i got the attached error message"1 Parameters are not mapped.Manually entered values will be used for playback"

.i will really appreciate your help.

Thanks 




HB

Converting TFS solution from VB to C#

$
0
0

Hi,

My dev team have a solution stored on TFS server using source control. It is currently written in VB.NET (therefore, the solution project files are all stored in .vb format).

The solution has build jobs, events, CodedUI, etc. stored on the TFS server too, some of which are automated.

My team are considering converting the solution, from VB.NET, to C#. When converting from VB to C# using source control, are there any particular processes to carry out/methods for making it a smooth transition? (ie the solution files will become .cs format, will this cause any problems when checked-in to source control)

Also, will the solution build events/jobs etc. remain compatible with the updated source code? Or will these need updating to address the new file formats?

Thanks in advance.

PM.

Get latest using Update-TfsWorkspace

$
0
0

Add-PSSnapin Microsoft.TeamFoundation.PowerShell

Update-TfsWorkspace $path -All -Recurse -Force

I am trying to get the latest of project from TFS using PowerShell but the script runs and nothing happens. It doesn't get the latest.  No error message or whatsoever so I am not sure what to do.

I only have one workspace so there is no other workspace to delete.

Please advise.

Thank you!

"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.

Visual Studio 2017 RC: Cannot connect to TFS server

$
0
0

Hi community,

I ran into some trouble with Visual Studio 2017 RC:

I tried to access to 2 different TFS:

a) A TFS Server 2015 running in a different domain: My client is running Windows 7 with Visual Studio 2017 RC (latest Update installed). When I enter the name of the server, it takes a few seconds till the listbox shows the server name but instead of listing the available Projects, it simply goes away again.

b) Codeplex - My client this time is a Windows 10 Professional client with Visual Studio 2017 RC (latest Updates are installed). Again I simply choose Add Server, enter the url of the server but it simply does not lists the list of available projects.

I guess that it has something to do with authentication. In both cases I have to authenticate but I am not asked to enter the credentials. In case a I also tried to enter my windows credentials of the other domain in my credential store but that doesn't change anything. (The codeplex account is also stored inside my credential store)

I tried to make IE my default browser but that didn't change anything.

Any idea how I could connect to the team foundation servers?

Thank you in advance for any help / suggestion.

With kind regards,

Konrad

Viewing all 6687 articles
Browse latest View live