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

Usability suggestion on header/menu real-estate

$
0
0

The headers, menus, and information at the top of this application takes up too much room like ¾ the screen and needs to be compressed or reorganized.


Number of world-wide users of TFS

$
0
0

I am raising capital to develop a SharePoint app which works with TFS. As part of the pitch, I would like to quote the total number of TFS users world-wide. I have devoted many hours searching for this figure. Can anyone point me toward a place to find this fact?

Many thanks!!

John

Can't get automated tests to run - get error adding test case [xx] could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestFramework

$
0
0

Here's our scenario. We are running TFS 2012 update 4. We have a Lab Mgmt system that runs on a server that has TFS 2012.4 build services, and SCVMM & HyperV software. The build runs on the server and spins up a snapshot of a VM. We run Automated CodedUI tests on the VM. The Build Server is also running as a Test Controller.

Our Automated Tests project is compiled using VS 2013.

When we run the Lab Management workflow, the VM is spun up, the files are copied to the VM's deployment folder, and then we get an error:

Error adding test case [54639] to test run: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

That's the VS2013 dll. I've installed VS 2013 on the build/test controller Server and also on the VM. So those DLL's are there.

So how to fix? Where is it looking  for those DLLS (VM or Test Controller)?

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

Test Attachment Cleaner

$
0
0

Hello,

I am facing some problem with Test Attachment Cleaner, Our production database of TFS started growing really big. To check the test attachment cleaner, i created similar environment in our testlab.

We have TFS 2013 Update 2 App Tier, The databas tier is SQL Server 2012 Enterprise. On my client machine, i have Visual Studio 2012 Update 4 installed. I installed the Team Foundation Server Administration kit on my workstation with VS 2012 and tried to run the TAC. It connects to the project, calculates the test attachments size. In Clean Test Attachment Section, I select the Configfile and click Start Clean, however even after running the script, when i test the test attachments via Microsoft Tet Manager, I do not see that the files are deleted. I check the database size, however it does not show me any reduction in database size as well, I wrote another config file still it did not work, Here is the config file which i made for the TAC Configfile

<DeletionCriteria>
  <TestRun>
    <AgeInDays OlderThan="30" NewerThan="999" />
  </TestRun>
  <Attachment>
     <Extensions>
      <Include value="trx" />
      <Include value="cov" />
    </Extensions>
  </Attachment>
  <LinkedBugs />
</DeletionCriteria>

I cannot see any size reduction in the database size. I have tried with over ride settings as well however nothing happens. 

I have searched Microsoft Forums but unfortunately there isn't enough help regarding this. Can anyone help ? how can i find out if test attachments are really deleted ? and if they are not being deleted, what can cause this ?

Regards
Faisal


Can stack rank be updated automaticallly using drag in drop feature in TFS 2012 CMMI template?

$
0
0

Hi,

Our team uses TFS 2012 CMMI template for requirements management. We use the stack rank field extensively to prioritize work items. However this is creating a headache whenever a requirement needs to be moved higher up in the stack and all the other ranks need to be updated manually. Noticed that the Scrum template lets you drag and drop the requirements and the stack rank gets updated automatically. Is a similar functionality available for the CMMI template also? If so where do we find it and how should it be used?

Thanks,

Team Project Database Size

$
0
0

Hello,

Our TFS Project collection database size was increasing tremendously. We had some TFS cleanup job missing, which we restored with the help of Microsoft Support, so the crazy increase in size of DB stopped however we still have the same database which increased in size and we are trying now to reduce the database size and remove the waste from it.

We have TFS 2013 Update 2 as App tier with SQL Server 2012 as data tier. We have 4 TFS Project collections with multiple projects in them. The biggest TPC database size is 562 GB. In my test environment I have tried certain things and luckily it worked well. However I am still confused about the size of Team Project Collection.

I performed the following in my test environment

  • Our Database size was 562 GB, I did run the test attachment cleaner, and left the test attachments of 30 days only,
  • After running TAC, we did database shrink, That reasonably reduced the size of database and it came down to 391 GB,
  • I did run prc_deleteunusedContents and Prc_deleteunusedfiles stored procedures, after running them I did run the dbcc shrinkdatabase command once again. It reduced the database size to 382 GB,
  • I created a test project and then used tf destroy /startcleanup $/ProjectName, However this did not bring any reasonable reduction in the TPC database size

My problem is that if I check the “SourceControl folder size” and “Test Attachment size” it adds up to 224 GB (Test Attachment size 42GB & SourceControl size is 185 GB). I am not able to understand rest of the database size !!! It is 158 GB which according to my understanding is waste. Can anyone lead me a way that how to justify this database size ?

If I see dbo.tbl_content table, the size is 303.53 GB

I understand that I cannot calculate every MB in TPC collection database, however 158 GB is way too much. 

Regards
Faisal

How to delete multiple files from TFS 2010

$
0
0

Hi

     I have 4 GB code and almost 20,000 Files in my code. We have found that there is a Folder name "Vti" that should be the part of TFS source control.

If i search this folder ,it is located in multiple locations  in different folder hierarchies. it is very easy for me to use wildcards and search these folders/files. But HOW can i delete them from Source control permanently.

One way is to delete them one by one that i donkey work and may consume a lot of time. Is there any workaround on it. Any utillity/any command.

Kindly Guide me in this regard.

Thanks

Waseem Bukhari

CMer


WSBukhari


Where to find TFS 2012 SDK?

Backlog Priorty - order

$
0
0

Hi,

Is there any way to prevent TFS from updatingMicrosoft.VSTS.Common.BacklogPriority value automatically?

On our backlog we use(want to use) this field for as a sprint MoSCoW type value (numeric as the textual support isn't out of the box - WTF?!)

We don't use the physical order on the backlog per sprint as a priority order per se. Each developer knows what the MoSCoW is for that sprint and picks up what they can with the highest priority.

However this values get overwritten with a bizarre ordering value generated by BTW.

Is there anyway to prevent this?


Quickest Way to Delete Large Project

$
0
0

What is the quickest way to delete a project from a project collection?

We split our large (1.3TB) project collection which had about 66 projects including one large (260GB) project into two collections. Everything went fine deleting the smaller (up to 30GB) projects until we got to the largest one.

The deletion process would fail via the GUI and tfsdelete command even after increasing the timeout to 10 hours! When we increased the timeout (we did so gradually - initially to 30 min then 4 hours and ultimately 10) it failed with the following message on version control:

[00:40:17.757] ++ Executing - Operation: ProjectDelete, Group: ProjectDelete.TfsSourceControl
[00:40:17.757] +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[00:40:17.757] Executing step: Delete the team project data from Version Control
[00:40:17.757]   Executing step: 'Delete the team project data from Version Control' VersionControl.DeleteTeamProject (2 of 11)
[01:40:21.473]   [Error] TF246018: The database operation exceeded the timeout limit and has been cancelled. Verify that the parameters of the operation are correct.
[01:40:21.647]   Microsoft.TeamFoundation.Framework.Server.DatabaseOperationTimeoutException: TF246018: The database operation exceeded the timeout limit and has been cancelled. Verify that the parameters of the operation are correct. ---> System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception: The wait operation timed out

Thanks in advance!


How to have one copy of a file show in multiple locations

$
0
0

Re: How to have one copy of a file show in multiple locations

Disclaimer, I am a TFS newbie. For a simple example, we have a scriptfile1 that is necessary for installing several extracts. Today we keep folders on the shared called Extract1, Extract2, etc. Each of these have the exact same copy of scriptfile1. So when you need to install an extract, you just go your extract folder and everything you need is there. We now want to move our Extract installs into TFS. But how can we have scriptfile1 in multiple folder structures (Extract1, Extract2, etc) but only have one copy of scriptfile1.? Does TFS provide some kind of file links?

File Modified Date is changed when getting the latest version.

$
0
0

Hi,

My question is, the modified date of files are changed after getting the latest version, not the original date.

I know this feature is not available on TFS11 yet.

But is it included in the latest TFS ?

Thanks,

Tom

Why do you need the .vspscc and .vssscc files?

$
0
0
Just wondering.  In general these VCS overhead files are annoying and kind of get in the way.  Can't you just stuff everything you need to know into the .sln and .*proj files?

how can i assign same task with multiple product backlog items

$
0
0

Hi,

How can i assign single task with multiple product backlog items. After assigning also i want to see those task in Web access under PBI.

Thanks.


Roll-up Backlog Changes

$
0
0
In TFS 2013, when one of the team members make a change to an area Kanban board (Development/Data for example) this change does not show up on the higher level Kanban board (Development). As the project manager, I want to be able to view the changes that all of my teams are making so that I have a big picture view of progress on a project. Is this possible?

TFS Work Items BatchSave and work item field value access Exception

$
0
0

IField currentWorkItemField = workItem.Fields[workItemPropRefName];

when i am accessing 

currentWorkItemField.Value

I am getting the exception :

Message"TF237121: Cannot complete the operation. An unexpected error occurred."string

+InnerException{"Server was unable to process request. ---> There was an error generating the XML document. ---> Object reference not set to an instance of an object."}System.Exception {System.Web.Services.Protocols.SoapException}

and when I am passing the list of work items to BatchSave.

batchSaveResults = mWiProject.BatchSave(lstWorkItem);

The following exception occured:

Message"TF237121: Cannot complete the operation. An unexpected error occurred."string

+InnerException{"Server was unable to process request. ---> There was an error generating the XML document. ---> Object reference not set to an instance of an object."}System.Exception {System.Web.Services.Protocols.SoapException}


   at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DatastoreClass.BrieAccessCheck(IBrieCallBack callback, Int32 flags, Int32 fieldId)
   at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.ApplyRules(Boolean fSetChangedBy)
   at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.PostSave(WorkItem[] workItems)
   at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.SaveWorkItems(WorkItem[] workitems, Boolean bulk, SaveFlags saveFlags)
   at Microsoft.TeamFoundation.WorkItemTracking.Client.BatchSaveHelper.TryUpdate(WorkItemStore store, WorkItem[] workitems, SaveFlags saveFlags, List`1 errors)

TFS Work Items BatchSave and work item field value access Exception

$
0
0

IField currentWorkItemField = workItem.Fields[workItemPropRefName];

when i am accessing 

currentWorkItemField.Value

I am getting the exception :

Message"TF237121: Cannot complete the operation. An unexpected error occurred."string

+InnerException{"Server was unable to process request. ---> There was an error generating the XML document. ---> Object reference not set to an instance of an object."}System.Exception {System.Web.Services.Protocols.SoapException}

and when I am passing the list of work items to BatchSave.

batchSaveResults = mWiProject.BatchSave(lstWorkItem);

The following exception occured:

Message"TF237121: Cannot complete the operation. An unexpected error occurred."string

+InnerException{"Server was unable to process request. ---> There was an error generating the XML document. ---> Object reference not set to an instance of an object."}System.Exception {System.Web.Services.Protocols.SoapException}


   at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DatastoreClass.BrieAccessCheck(IBrieCallBack callback, Int32 flags, Int32 fieldId)
   at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.ApplyRules(Boolean fSetChangedBy)
   at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.PostSave(WorkItem[] workItems)
   at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.SaveWorkItems(WorkItem[] workitems, Boolean bulk, SaveFlags saveFlags)
   at Microsoft.TeamFoundation.WorkItemTracking.Client.BatchSaveHelper.TryUpdate(WorkItemStore store, WorkItem[] workitems, SaveFlags saveFlags, List`1 errors)



TFS 2013 - limitation on data displayed in charts

$
0
0

Hi,

Our organisation has recently started using TFS to track task progress, and with this, the charting functionality that it provides.  There appears to be a limitation on the number of columns and rows which can be displayed on charts.  In our case we want to use the Pivot Chart to provide a snapshot of our tasks.  The number of rows and columns which can be displayed appears to be limited to a maximum of 5, after which data is accumulated in to a single "other" bucket.  Does anyone know how to remove this limitation so that we can display all of our data on the chart ?  I'm hoping to avoid having to create reports using SSRS....

We are using TFS 2013 and Visual Studio Premium 2013 R2.  Any help would be greatly appreciated.

Thanks,

Greg


Connecting to TFS server from C# with alternate login

$
0
0

New domain login was created to access TFS via API and given all proper rights.  If I run this code with my login info it works fine, but not with this new account.  

tfs = newTeamFoundationServer(tfServerName, new System.Net.NetworkCredential("username","password", "domain"));

I am reasonably sure the new account is set up properly.  Any other possibilities why this would fail?  Thanks...

Viewing all 6687 articles
Browse latest View live


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