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

unable to connect to TFS 2015 post upgrade - from home/home netwrok

$
0
0

Hello! 

Help appreciated!!

So we upgraded to TFS 2015 last week. I can connect fine when I am in the office but the problem is when I work remotely. I cannot connect to TFS on the web or to Visual Studio servers. Seems strange because my team who is remote is able to connect fine. 

Error on Chrome - ERR_CONNECTION_TIMED-OUT

Error on IE - 

This page can't be displayed
  • Make sure the web address is correct.
  • Look for the page with your search engine.
  • Refresh the page in a few minutes.
  • Check that all network cables are plugged in.
  • Verify that airplane mode is turned off.
  • Make sure your wireless switch is turned on.
  • See if you can connect to mobile broadband.
  • Restart your router.
<button class="diagnoseButton" id="diagnose">Fix connection problems</button>



wrong GIT Clone URL and cannot show file contents after upgrade

$
0
0

Hi,

I upgraded our TFS to Upodate 2015.2 a while ago and since then, my project's GIT URL are wrong.

Instead of the fully qualified domain name, the git clone URL is the IP adress.

In the same way, file contents cannot be shown because TFS tries to pen them with a IP based URL instead of using the domain name and it triggers a security error because it tries to use the HTTP ip and not HTTPS.

I searched everywhere for a configuration, cache, even in the database to see if there's soemthing but I dodn't find anything.

Every other aspects of TFS seems to work properly.

Any clue ?

Thanks

Customized Chekin Policy Problem

$
0
0

Hi,
I try to create a customized check-in policy. I've put a class library, and added a class for the customized check-in policy.Here is the related class definiton ; 

using Microsoft.TeamFoundation.VersionControl.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CodeReviewCheckinPolicy
{
   public class CodeReviewCheckinPolicy : PolicyBase
    {
        public override string Description
        {
            get
            {
                return "Please complete code review phase before the check-in process.";
            }
        }

        public override string Type
        {
            get
            {
                return "Check for Code Review";
            }
        }

        public override string TypeDescription
        {
            get
            {
                return "This policy will prompt the user to complete code review phase bt reading InstallInstructions.txt.";
            }
        }

        public override bool Edit(IPolicyEditArgs policyEditArgs)
        {
            return true;
        }

        public override PolicyFailure[] Evaluate()
        {
            string proposedComment = PendingCheckin.PendingChanges.Comment;
            if (String.IsNullOrEmpty(proposedComment))
            {
                return new PolicyFailure[] {
                new PolicyFailure("Please provide some comments about your check-in", this) };
            }
            else
            {
                return new PolicyFailure[0];
            }
        }

        public override void Activate(PolicyFailure failure)
        {
            MessageBox.Show("Please provide comments for your check-in.", "How to fix your policy failure");
        }

        // This method is called if the user presses F1 when a policy failure
        // is active in the UI. In this example, a message box is displayed.
        public override void DisplayHelp(PolicyFailure failure)
        {
            MessageBox.Show("This policy helps you to remember to add comments to your check-ins.", "Prompt Policy Help");
        }
    }
}

After compiling, I've added related registry keys as follows ; 

Path : HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\TeamFoundation\SourceControl\Checkin Policies

Name : CodeReviewCheckinPolicy
Value : MyLocalComputer\PorjectName\CodeReviewCheckinPolicy\bin\Debug\CodeReviewCheckinPolicy.dll

With all this work, customized checkin policy is not listed with existion checkin policies. Most probably, there is a step I missed. Could you please help me about how to resolve this situation ?

By the way, I put the registry keys on my local computer. Should I make config settings on the related TFS server ?

TFS Work Item Customization : Display is different on Visual studio and Web access

$
0
0

Hello Everybody,

I have updated a TFS work item with additional fields and tabs.  But Same work item looks different in VS 2013 and on the web.

Any help in understanding this is highly appreciated.

Best Regards

Sekhar

Creating a branch of a branch. Team Foundation Server 2015

$
0
0

I am getting the following error while trying to create a branch.  

TF400962: There was a database update error.  Please try your operation again.

This is from a sql trace:

declare @p2 dbo.typ_CommandTable5

insert into @p2 values(1,'Version Control','CreateBranch',1,-1,'2016-07-13 18:31:53.5296757',106136,N'XXXX\XXXX','x.x.x.x','7018117C-9A60-4D00-9FB9-008A12524CD1',N'Team Foundation (devenv.exe, 14.0.24712.0, Pro, SKU:31)',N'CreateBranch','NTLM',N'TFS: 5ba9c8c6-8f50-4b7d-b676-d4b39dcdd669',500,106136)

declare @p3 dbo.typ_ParamTable

insert into @p3 values(1,'sourcePath',0,N'$/TFSTest/Main')

insert into @p3 values(1,'targetPath',1,N'$/TFSTest/Dev/Branch1')

insert into @p3 values(1,'version',2,N'T')

insert into @p3 values(1,'mappings',3,N'Count = 0')

insert into @p3 values(1,'maxClientPathLength',4,N'399')

insert into @p3 values(1,'Changeset.CreationDate',5,N'1/1/0001 6:00:00 AM')

insert into @p3 values(1,'Changeset.Comment',6,N'Branched from $/TFSTest/Main')

insert into @p3 values(1,'ExceptionType',-1,N'GenericDatabaseUpdateErrorException')

insert into @p3 values(1,'ExceptionMessage',-2,N'TF400962: There was a database update error. Please try your operation again.')

insert into @p3 values(1,'ActivityId',-3,N'4c1b1c15-e4b2-4980-aa35-ab06474aeff7')

exec prc_LogActivity @partitionId=1,@commands=@p2,@params=@p3

Thanks in advance for any assistance. 


No working mapping on C:\...?

$
0
0

Hello, I've been working on a commandline application, and I'm using the TeamFoundationServer API, and until recently, everything had been going fine. I use the following line to get the workspace of a directory:

Workspace currWorkspace = tfs.GetService<VersionControlServer>().GetWorkspace(cmdLine.workspaceRootDir.Value);


And it works fine -- until I created a new branch, and started working there. After setting up the branch, and trying to run it again, I kept getting the same odd error:

Microsoft.TeamFoundation.VersionControl.Client.ItemNotmappedException: There is no working folder mapping for C:\test

Which is weird because I literally just mapped it. So after some looking around I tried clearing the cache on my machine, and then re-mapping the folder entirely. Neither of those things have cleared up this error.

I think it has something to do with the VSO server, because the same code works on different branches, but not this one I just created, maybe the server hasn't updated some kind of record?

Any information would be appreciated

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:

Migrate TFS 2013 Project Collection to TFS 2015

$
0
0

Hi,

I have a requirement of moving TFS 2013 Project Collection to TFS 2015.

I believe I can Detach Project Collection, Backup Project Collection Database and attach the Project Collection in the TFS 2015 Server.

Correct me if am wrong. Also, What happens in the backed. Will this upgrade the Project collection to TFS 2015 Automatically.

Note: I have done similar stuff when migrating data from TFS 2008 to TFS 2013 via TFS 2012.Reference article: https://mohamedradwan.wordpress.com/2014/06/08/upgrade-tfs-2008-to-tfs-2013-update-2-step-by-step/

Let me know your inputs

Many thanks

Venkat


Venkatesan Nadimuthu


TF53001: The database operation was canceled by an administrator. SQL SERVER

$
0
0



Hi all, 

I have a problem with TFS 2015 Update 2.1 and SQL Microsoft SQL Server 2014 - 12.0.2269.0 (X64) Enterprise Edition (64-bit).

The installation are in single server in Windows Server 2012 R2 Standard with 15 GB RAM.

Today in the afternoon the users report an error connecting Version Control. The error is 

TF53001: The database operation was canceled by an administrator. 

I try to solve with a reset the SQL Services and reboot the server but doesn't work. 

In the event Viewer i see the following event:

Log Name:      Application
Source:        MSSQLSERVER
Event ID:      17310
Task Category: Server
Level:         Error

Description:
A user request from the session with SPID 62 generated a fatal exception. SQL Server is terminating this session. Contact Product Support Services with the dump produced in the log directory.


I  found this log of SQL SERVER: 


=====================================================================                                            
       BugCheck Dump                                                                                            
=====================================================================                                            
                                                                                                                
This file is generated by Microsoft SQL Server                                                                  
version 12.0.2269.0                                                                                             
upon detection of fatal unexpected error. Please return this file,                                               
the query or program that produced the bugcheck, the database and                                                
the error log, and any other pertinent information with a Service Request.                                       
                                                                                                                
                                                                                                                
Computer type is Intel(R) Xeon(R) CPU E5-2651 v2 @ 1.80GHz.                                                      
Bios Version is Xen - 0                                                                                         
Revision: 1.221                                                                                                 
4 X64 level 8664, 62 Mhz processor (s).                                                                         
Windows NT 6.2 Build 9200 CSD .                                                                                 
                                     
Memory                               
MemoryLoad = 91%                     
Total Physical = 15359 MB            
Available Physical = 1318 MB         
Total Page File = 28927 MB           
Available Page File = 10619 MB       
Total Virtual = 134217727 MB         
Available Virtual = 134184055 MB     
***Stack Dump being sent to C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\LOG\SQLDump0121.txt  
SqlDumpExceptionHandler: Process 80 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is 
terminating this process.                                                                                       
* *******************************************************************************                                
*                                                                                                               
* BEGIN STACK DUMP:                                                                                             
*   07/15/16 23:26:26 spid 80                                                                                   
* Private server build.                                                                                         
*                                                                                                               
*                                                                                                               
*   Exception Address = 00007FF96B2BDFBD Module(sqllang+00000000012EDFBD)                                        
*   Exception Code    = c0000005 EXCEPTION_ACCESS_VIOLATION                                                     
*   Access Violation occurred reading address FFFFFFFFFFFFFFFF  



I hope you can help me!

Thanks and best regards


Alerts on inactivity

$
0
0

I am looking at sending alerts based on a work item not changing - i.e. the reverse of what seems to be possible now

The idea is to send an alert to the team if a "Code Review Request" has not been actioned/picked up within a certain time.

Does anyone know if this is possible or a future possible?

Thanks

Customer Requests input into TFS

$
0
0

Hi Guys,

We currently service the development of a number of small reports from other areas in the business within our team (as well large projects). Users enter their requests with a title, description and target delivery date.

We to create a front end that will capture these and integrate with TFS, mapping the title/description/target data to a card on the board. Also having acceptance criteria from the user would be very important.

Rather than give them a PBI card (not the most user friendly) has anyone built a front end/aware of a tool that could integrate that could be used for the above purpose? 

Why don't you call the forums the same names as the products???

$
0
0

What forum am I supposed to use to ask a question about Visual Studio Team Services?

multiple check-out not working!!

$
0
0

Hi

I am using tfs 2015.3 and visual 2015.3

I like when I  checked out project the other users can not checkout it. so in theSource Control Settings (Visual Studio --- Team --- Team Project Settings --- Source Control) unchecked theEnable multiple check-out  but it's not working!!!! when I was checked out the code, other users can also check out!!!!

Kanban Done Column Question - TFS 2013

$
0
0

Hi,

How does TFS order the Work Items in the 'Done' column on the Kanban board?  We have both Bugs and PBIs tracked.  I have the process configuration set to order by Backlog Priority.  But the Done column doesn't seem to be ordering that way.  We have lower priority (and older) work items showing up at the top and it is an annoyance.  Trying to re-order in excel doesn't seem to affect the order in the Done column.  Any idea to explain why the order is not following the rule of Backlog Priority the way the other columns are would be very helpful!

Thanks,

Jennifer

Key license to apply

$
0
0

Hi

I have installed TFS 2015 with Update 2.1 and I have the Key License to apply, but the command show "Unrecognized"

Typing the command line to apply of License Key

Please help

What am I doing wrong?

Best regards

Ernesto Ono



Cannot log in with Microsoft ID alias email

$
0
0

Hi everyone, 

I have a Microsoft ID which was created with a personal email.
When I started my current position I added my work email as an alias in my account and everything works so far, office 365, msdn subscriptions, etc.

I now have an invitation for TFS using my work email.
When I input my credentials I get a 401: 
TF400813: The user 'Windows Live ID\MY PERSONAL EMAIL' is not authorized to access this resource.

Even though I used my work email/pass to log in. 
Any ideas on how to solve this?

Thanks!

Items from TFS

$
0
0

Hey,

I want to export some items from TFS in an XML . How can I do this? I saw some older posts but didn't help me... 

External Access

$
0
0
How do we provide access to external partners for TFS?

Parse Log Files for Known Errors

$
0
0

Is it possible to parse the log files for know error strings and have this return a failure code i.e. fail the build?

My build runs several Oracle SQL Scripts and VSO is not capturing the errors like: ORA:0001 ...

Ideally I would like to parse ALL log files once the build has finished and search for any occurrence of know error strings.

Cheers for any help.

Duncs

visual studio test agent delpoyment task fail with message 'Did not find TestAgentConfig.exe

$
0
0

I have two PC, both are win7 installed. 
I want to build a automatic test platform using TFS.
I want to use PC1 as TFS server, I have Microsoft TFS 2015, Visual studio 2015 installed.

and in PC2, I have Visual studio 2015 installed, I want the PC2 to be testing PC( include Coded UI test)

I create one Build in clude
1# Visual Sutodio Build task
2# Windows Machine file Copy 
3# Visual studio test agent delpoyment
4# Run functional test.

once I running the build I will get following message error at step 3#

DistributedTests: Task 'ConfigureTestAgent' for machine apcnopc7pm5z2x:5985's Error : System.Exception: Did not find TestAgentConfig.exe at : C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE\TestAgentConfig.exe. Ensure that TestAgent is installed.

anything wrong with me? can anybody help me ?


ray

Viewing all 6687 articles
Browse latest View live


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