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

Unable to create team project using Agile or CMMI templates

$
0
0

I am getting error on creation of team project using CMMI or Agile templates. It works good with Scrum templates. Please check out the following exception details:


Module: Work Item Tracking
Exception Message: TF237091: Actual reporting settings for the field Microsoft.VSTS.Scheduling.OriginalEstimate are different from those specified in the XML. Changing these settings is prohibited. (type ProvisionValidationException)
Exception Stack Trace:    at Microsoft.TeamFoundation.WorkItemTracking.Client.ClientMetadataProvisioningHelper.ThrowValidationException(String message)
   at Microsoft.TeamFoundation.WorkItemTracking.Common.Provision.UpdatePackageField.Update(XmlElement fieldElement)
   at Microsoft.TeamFoundation.WorkItemTracking.Common.Provision.UpdatePackageFieldCollection.ProcessFieldDefinitions(UpdatePackageRuleContext context, XmlElement fieldsNode, UpdatePackage batch)
   at Microsoft.TeamFoundation.WorkItemTracking.Common.Provision.WITImporter.Translate()
   at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionClass.Submit(ActionType action, Snapshot snapshot, Int32 projectId, WITImporter importer)

--- end Exception entry ---

2015-01-05T09:46:35 | Module: Work Item Tracking | Thread: 42 | Uploaded WorkItemType definition from C:\Users\dkabali\AppData\Local\Temp\TPW_tmpF771.tmp\WorkItem Tracking\TypeDefinitions\Task.xml.
---begin Exception entry---
Time: 2015-01-05T09:46:35
Module: Engine
Event Description: TF30162: Task "WITs" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Work item type validation failed. The operation cannot be completed.
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)
--   Inner Exception   --
Exception Message: Work item type validation failed. The operation cannot be completed. (type WitPcwFatalException)
Exception Stack Trace:    at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.UploadTypeDefinition(String file, Boolean execute)
   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.Execute()
   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)

--- end Exception entry ---

FYI, I am using TFS 2013 Update 4. I reverted all my customizations done to scrum template. I didnt do any changes for the other templates. I am wondering how to solve this error.  It is okay to install the fresh templates to work on or upgrade to a new update. I am already using the latest TFS 2013 update 4 and  I thought I should know about this error before re-install. Please help

I got stuck on this error. Please advise the related things need to be considered while doing customizations. I have to do lot of customizations that should work fine without any errors. So, Please advise the things to be taken care in process customizations.



TFS 2013 update 4 with multi server topology

$
0
0

Hello Team,

TFS 2013 update 4 install with SSRS 2012 and SharePoint Foundation 2013 - SSRS on separate server

We are planning to install TFS 2013 update 4 , SQL Server 2012 and SharePoint Foundation 2013

We are planning to setup TFS 2013 with below details:

1. First Server for TFS 2013 update 4 and SharePoint Foundation 2013 SP1

2. Second Server for dedicate SQL Server 2012 SP2

3. Third server for SQL Server Reporting Services (SSRS)

Please confirm the SQL Features need for TFS 2013 update 4 on these above servers is correct as per my understanding in Microsoft content:

  1. First Server with TFS includes only “Client Tools Connectivity(for connecting to dedicated SQL server machine and  dedicated SSRS)” – This is because we do not have any SQL Server instance on TFS machine
  2. Second Server SQL Instance and Shared Features planning to select as per below:
    1. Data base Engine Services
      1. SQL Server Replication
      2. Full Text and Semantic Extraction for search
      3. Data Quality Services
    2. Analysis Services
    3. Integration Services
    4. Clients Tools Backward compatibility
    5. Client Tools SDK
    6. Management Tools - Basic
      1. Management Tools – Complete
  3. As last Third Server for dedicated includes only “Reporting Services - Native

Hope this should be fine. please let us know do we need to instance any other SQL services like.. “Reporting Services - SharePoint” or “Reporting Services – Add in for SharePoint Products” or anything else

Thanks in advance!


Raghavendra Vagga

Any idea how to get any support for TFS?

$
0
0

As the title says.

I have been posting messages about TFS build process but nothing is coming back. I am asking fellow developers struggling with their companies' choice of using TFS. I am having a problem with coping files form one location to another. Running a project from command line using MSbuild is working fine. But the same project run by TFS build doesn't copy files at all. Please give me an idea where to look for the problem?

Thanks

Microsoft Test Manager (MTM)

$
0
0

Hi,

I have a licensed Microsoft Visual Studio running on m y machine. It also includes MTM (Microsoft Test Manager), which I'd like to start using. However, whenever I run it, I'm required to enter my Microsoft Team Foundation server. What on earth is that? What should I enter? How can I start using MTM?

Thanks!

Update vs2013 update 4 and TFS can't work!

$
0
0

like this:

and the ActivityLog.xml show :
<entry><record>1581</record> <time>2015/02/16 08:36:44.371</time> <type>Information</type> <source></source>VisualStudio <description>Entering function CVsPackageInfo::HrInstantiatePackage</description><guid>{E8B06F41-6D01-11D2-AA7D-00C04F990343}</guid> </entry> <entry><record>1582</record> <time>2015/02/16 08:36:44.371</time> <type>Warning</type> <source></source>VisualStudio <description>Unexpected system error mode before loading package [Visual Studio Web Browser Package]</description> <guid>{E8B06F41-6D01-11D2-AA7D-00C04F990343}</guid> </entry> <entry><record>1583</record> <time>2015/02/16 08:36:44.371</time><type>Information</type> <source></source>VisualStudio <description>Begin package load [Visual Studio Web Browser Package]</description> <guid>{E8B06F41-6D01-11D2-AA7D-00C04F990343}</guid> </entry> <entry><record>1584</record><time>2015/02/16 08:36:44.371</time> <type>Information</type> <source></source>VisualStudio <description>Loading UI library</description> <guid>{E8B06F41-6D01-11D2-AA7D-00C04F990343}</guid> <path>C:\Program Files (x86)\Microsoft Visual Studio 12.0\\Common7\IDE*\msenvui.dll</path> </entry> <entry><record>1585</record> <time>2015/02/16 08:36:44.372</time> <type>Information</type> <source></source>VisualStudio<description>End package load [Visual Studio Web Browser Package]</description> <guid>{E8B06F41-6D01-11D2-AA7D-00C04F990343}</guid> </entry> <entry><record>1586</record> <time>2015/02/16 08:38:50.769</time><type>Information</type> <source></source>VisualStudio <description>Entering function CVsPackageInfo::HrInstantiatePackage</description> <guid>{B80B010D-188C-4B19-B483-6C20D52071AE}</guid> </entry> <entry><record>1587</record><time>2015/02/16 08:38:50.770</time> <type>Information</type> <source></source>VisualStudio <description>Begin package load [Microsoft.VisualStudio.TeamFoundation.TeamFoundationHost, Microsoft.VisualStudio.TeamFoundation, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description> <guid>{B80B010D-188C-4B19-B483-6C20D52071AE}</guid> </entry> <entry><record>1588</record> <time>2015/02/16 08:38:50.771</time><type>Error</type> <source></source>VisualStudio <description>CreateInstance failed for package [Microsoft.VisualStudio.TeamFoundation.TeamFoundationHost, Microsoft.VisualStudio.TeamFoundation, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description> <guid>{B80B010D-188C-4B19-B483-6C20D52071AE}</guid> </entry>


80070002 <errorinfo>未能加载文件或程序集“Microsoft.TeamFoundation.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。系统找不到指定的文件。</errorinfo> <entry><record>1589</record> <time>2015/02/16 08:38:50.771</time><type>Error</type> <source></source>VisualStudio <description>End package load [Microsoft.VisualStudio.TeamFoundation.TeamFoundationHost, Microsoft.VisualStudio.TeamFoundation, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description><guid>{B80B010D-188C-4B19-B483-6C20D52071AE}</guid>
80004005 - E_FAIL <errorinfo>未能加载文件或程序集“Microsoft.TeamFoundation.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。系统找不到指定的文件。</errorinfo> </entry>
i try clean this C:\Users\Administrator\AppData\Roaming\Microsoft\VisualStudio\12.0 file






Unable to open .cs files from Visual studio solution

$
0
0
I am unable to open visual studio .cs files. .cs file are part of solution. Blank screen is displayed with no text display

About the role of process configuration files

$
0
0

I have done some customizations in process template XMLs. I have done my major changes only in the work item type definition XMLs. I am wondering about the role of process configuration files or category definition files. When do I really need to update it?

Thanks

Divya

TFS Test Controller not configuring

$
0
0

While upgrading to TFS 2013 test controller to update 4 I received this error during the configuration process.

Service cannot be started. Microsoft.VisualStudio.TestTools.Exceptions.EqtException: The Controller service could not be started. TF400324: Team Foundation services are not available from server http://tfs.podserv.modelsysllc.com:8080/tfs/modelsyscollection.

Technical information (for administrator):

  Page not found.

The remote server returned an error: (404) Not Found.

   at Microsoft.VisualStudio.TestTools.Controller.ControllerServiceBase.OnStart(String[] args)

   at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

The collection mentioned is a project collection that no longer exist and not the one I pointed to in the sonfiguration setup.

Any help would be great.

Thanks,

James


Architect


How to get the total no.of fields count in TFS

$
0
0

How to check this:

You can define no more than 1,024 work item fields in the same team project collection, and you can set no more than 1,024 fields to reportable in all team project collections.

I have created some new fields in my customized process template. How to get the field count to check this validation. Do we have any command for this since witadmin listfields does not give the total count info.

Thanks

Divya

Importing process template changes and upgrade to latest version for existing TFS Database - Proper procedure to go

$
0
0

Hi, I have tested my template customization changes in the test server and going to move these changes to the existing TFS and make it to new upgrade also. Please share your experiences on things that need to be taken care in importing these changes ,precautions need to be done and proper procedure to follow.

The most important changes that we did are:

  1. We did not do any changes for the existing fields rather than removing it from display.
  2. We added some new fields for estimates and completed effort.
  3. Rolling up efforts are done using  Server Handler. 

Specific doubts:

  • While I was doing process template changes in test server, I got this error 

https://social.msdn.microsoft.com/Forums/vstudio/en-US/a5f6bcc3-8fc6-4c05-9efa-57ea789ec3bc/unable-to-create-team-project-using-agile-or-cmmi-templates?forum=tfsgeneral

I tried changing the reporting field back also, but still this problem is not solved. I need to be confident on avoiding suchtype of errors and should care on the precautions need to be taken. 

  • I am using new fields for roll up calculations in Server Handler code. After importing the changes to the process template, the previous work items will not have values for these fields. I assume it will not throw error when accessing the new fields from the work item since we have changed the process template and it should have the default value. I assume this will work fine.

TF237090: Does not exist or access is denied, when usint witadmin importwitd

$
0
0

Hi all,

I installed a TFS2013 and attached our TFS2012 database. I can access the project and everything works fine. But now I want to upgrad our process template. When I try to upload a new work item, I get:

TF237090: Does not exist or access is denied.

When I download an existing work item, and upload it again, it works. Any ideas on this?

Thanks and regards, Sprengmeister

How to obtain change set information in TFS using TFS SDK

$
0
0

Hi There,

I want to write a program to obtain changeset information expecially comment context. It is used to search for specific strings in comment of a list of changesets.

I am new to TFS sdk. any direction would be appreciated!

Thanks

--Joshua Zhu

How to link a bug to test case using TFS API's with C#

$
0
0

Hi,

I have the below code and I want to know what are the API's available to link a bug to testcase using TFS API's in C#.

WorkItemStorestore =newWorkItemStore(ServerURL);

Projectvproj = store.Projects[ProjectName];           

WorkItemTypevtype = proj.WorkItemTypes["Bug"];           

WorkItemvworkItem = newWorkItem(type);

workItem.Title =GlobalValue.Title;

 workItem.Fields["Repro Steps"].Value =GlobalValue.Steps;

workItem.Fields["Assigned To"].Value =GlobalValue.Assigned;

workItem.Fields["Backlog Priority"].Value =GlobalValue.Priority;

workItem.Fields["Severity"].Value = GlobalValue.Severity;

workItem.Save();

Thanks,

Mohammed Eshaq

MSBuild on TFS

$
0
0

Hi

I am trying to use MS build to do auto deploy 3 web applications within a big solution, with the TFS build.

I am supplying the necessary MSBuild arguments except for the DeployIISAppPath.

When the build happens, TFS is trying to deploy non-web applications as well and I am getting the following error:

The "ConcatFullServiceUrlWithSiteName" task was not given a value for the required parameter "SiteAppName".

How can I get TFS to only deploy the published websites and supply the corresponding DeployIISAppPath for each website?

Many thanks

A

TFS Background Job Agent is failing to start

$
0
0

Earlier this month I applied TFS 2013 Update 4. We were previously running 2013 Update 3. We were humming along and then the following week I applied DNS friendly names to our TFS environment. Everything seemed to be fine until I came in the office to discover that the TFS Background Job Agent was stopped.

I have a test and dev TFS environment with update 4 and DNS friendly names and none of the machines are exhibiting this behavior. Each time I try to restart the service, I get the following events as a result.

Error # 1

Event Id: 9003

Source: TFS Services

Unable to call CoInitializeSecurity. Error: -2147417831

Error # 2

Event Id: 1026

Source: .NET Runtime

Application: TfsJobAgent.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ApplicationException
Stack:
   at Microsoft.TeamFoundation.Framework.Service.WindowsService.ThrowNativeErrorOnInitialize(System.String)
       at Microsoft.TeamFoundation.Framework.Service.WindowsService.SetSecurity()
       at Microsoft.TeamFoundation.Framework.Service.WindowsService.Main(System.String[])

Error # 3

Event Id: 1000

Source: Application Error

Faulting application name: TfsJobAgent.exe, version: 12.0.31101.0, time stamp: 0x54547150
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737
Exception code: 0xe0434352
Fault offset: 0x0000000000008b9c
Faulting process id: 0x1d34
Faulting application start time: 0x01d04a245e14111d
Faulting application path: C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\TfsJobAgent\TfsJobAgent.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 9c678173-b617-11e4-80e8-005056af4240
Faulting package full name:
Faulting package-relative application ID:

Info # 1

Event Id: 1001

Source: Windows Error Reporting

Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: TfsJobAgent.exe
P2: 12.0.31101.0
P3: 54547150
P4: TfsJobAgent
P5: 12.0.31101.0
P6: 54547150
P7: 47
P8: 12
P9: System.ApplicationException
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_TfsJobAgent.exe_1cd99d10a42251e4cf8b71fd5ad7160125759d7_74c38e02_243fc48f

Analysis symbol:
Rechecking for solution: 0
Report Id: fd9b3ed6-b6c6-11e4-80e8-005056af4240
Report Status: 4100
Hashed bucket:

Info # 2

Event Id: 1001

Source: Windows Error Reporting

Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: TfsJobAgent.exe
P2: 12.0.31101.0
P3: 54547150
P4: TfsJobAgent
P5: 12.0.31101.0
P6: 54547150
P7: 47
P8: 12
P9: System.ApplicationException
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_TfsJobAgent.exe_1cd99d10a42251e4cf8b71fd5ad7160125759d7_74c38e02_243fc48f

Analysis symbol:
Rechecking for solution: 0
Report Id: fd9b3ed6-b6c6-11e4-80e8-005056af4240
Report Status: 0
Hashed bucket:

Info # 3

Event Id: 9009

Source: Desktop Window Manager

The Desktop Window Manager has exited with code (0x00002fe)

Crash Report

Version=1
EventType=CLR20r3
EventTime=130686662513328212
ReportType=2
Consent=1
ReportIdentifier=fd9b3ed7-b6c6-11e4-80e8-005056af4240
IntegratorReportIdentifier=fd9b3ed6-b6c6-11e4-80e8-005056af4240
NsAppName=TfsJobAgent.exe
Response.type=4
Sig[0].Name=Problem Signature 01
Sig[0].Value=TfsJobAgent.exe
Sig[1].Name=Problem Signature 02
Sig[1].Value=12.0.31101.0
Sig[2].Name=Problem Signature 03
Sig[2].Value=54547150
Sig[3].Name=Problem Signature 04
Sig[3].Value=TfsJobAgent
Sig[4].Name=Problem Signature 05
Sig[4].Value=12.0.31101.0
Sig[5].Name=Problem Signature 06
Sig[5].Value=54547150
Sig[6].Name=Problem Signature 07
Sig[6].Value=47
Sig[7].Name=Problem Signature 08
Sig[7].Value=12
Sig[8].Name=Problem Signature 09
Sig[8].Value=System.ApplicationException
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.3.9600.2.0.0.272.7
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
UI[2]=C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\TfsJobAgent\TfsJobAgent.exe
UI[5]=Check online for a solution (recommended)
UI[6]=Check for a solution later (recommended)
UI[7]=Close
UI[8]=TfsJobAgent.exe stopped working and was closed
UI[9]=A problem caused the application to stop working correctly. Windows will notify you if a solution is available.
UI[10]=&Close
FriendlyEventName=Stopped working
ConsentKey=CLR20r3
AppName=TfsJobAgent.exe
AppPath=C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\TfsJobAgent\TfsJobAgent.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=1037B24552A86061BD7F9C95FD6E8DC5

Really at a lose on this one. Any ideas on how to solve and/or troubleshoot a problem like this?




Custom build information into TFS database?

$
0
0

Hello guys,

I have a customized build process where I do several validations on the code submitted. My purpose is to use some of the information generated by my validations for reporting.

Is there a standard way to add custom information to the build and use it for reporting? Or do I need to create a custom database for it?

Thank you

TFS 2013 Kanban - Default Done swimlane not populated with the 20 latest, but with the 20 with highest priority !

$
0
0

Hi,

I have set up my Kanban board in TFS 2013 with the swimlanes & WIP Limits as needed, but the automatic 20 user stories that shows up in the Done swim lane is not the latest 20 based on timestamp when set to Done. It seems like the 20 Done items with the highest backlog priority shows up (Lowest number) . This is not logical at all and for my board this means that the Done swim lane is filled up with old user stories which are not of any interest. The most recent user stories that has been moved to done just disappears out of the done swim lane altogether as they have lower backlog priority than the old ones.

I would not think that keeping track of backlog priority for user stories with Done status should be a part of the Kanban process.

I could not care less what the priority is for completed user stories in Done status .....

Is there a quick way to fix/configure my way out this?

Thanks & Regards

Morten

Error 503. Service is not available

$
0
0

Hi all,

I am facing an issue while accessing my tfs web portal. I am getting 503 error server is not available.

When I looked into the event viewer I found that there is some problem with initialization of some service. 

I have started the application pool in IIS now application pool is running but still I am getting 503 error.

Event viewer log file is

TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 2/18/2015 1:50:50 AM
Machine: TFSPROD01
Application Domain: /LM/W3SVC/3/ROOT/tfs-1-130686978420227915
Assembly: Microsoft.TeamFoundation.Framework.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v4.0.30319
Service Host: 9d52ce85-e9b9-4ea6-8913-e45b2e4801e0 (DefaultCollection)
Process Details:
  Process Name: w3wp
  Process Id: 13884
  Thread Id: 22592
  Account name: ranchi\vishwajeet.kumar

Detailed Message: TF400703: Unable to initialize the specified service Microsoft.TeamFoundation.Framework.Server.TeamFoundationRegistryService.

The detailed message shows that there is some problem with Microsoft.TeamFoundation.Framework.Server.TeamFoundationRegistryService.

How can I resolve this error. I searched on the net for its solution but did not find any solution there.

Please help me.

Assigned To not displayed

$
0
0

Step 1: Open a User story

Step 2: Click on testcases tab

Step 3: Add a testcase

Step 4: Write a testcases without any Assigned To name

Step 5: Save the steps

Step 6: Click on the testcase again

Step 7: Assign some name in Assigned To and Save

Step 8: The Assigned To name is name getting displayed unless it is reloaded

Kindly confirm if this is a bug

 

What will be the correct way to connect to TFS server in Server plugins coding.

$
0
0

 public TFSAccess(string tfsUri, string username = null, string password = null)
        {
            TfsTeamProjectCollection tfs;

            if (username != null && username != string.Empty)
            {
                FederatedCredential credential = new SimpleWebTokenCredential(username, password);
                TfsClientCredentials clientCredentials = new TfsClientCredentials(credential);
                tfs = new TfsTeamProjectCollection(new Uri(tfsUri), clientCredentials);
            }
            else
            {
                tfs = new TfsTeamProjectCollection(new Uri(tfsUri));
            }

            store = (WorkItemStore)tfs.GetService(typeof(WorkItemStore));
     }

I am using the above code. Both loops works fine. I just wanted to ensure that this will work fine in production server. Do I need to add ensureAuthenticated(). Please comment on it.

Viewing all 6687 articles
Browse latest View live


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