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

TFS 2015 RC RemapDBs TF246062 You must specify one and only one database owner

$
0
0

Current issue:

According to the Team Foundation Server Upgrade Readiness Checks as part of upgrading a TFS 2013 instance on new TFS 2015 hardware, I receive TF400311: The database connection strings are not valid and cannot be automatically connected.  To fix this problem, use the TFSConfig RemapDBs command-line tool to correct the database connection strings. (via the Team Foundation Server Upgrade window)

So I attempt to run RemapDBs preview via command line as service account:

"D:\Program Files\Microsoft Team Foundation Server 14.0\Tools\TFSConfig.exe" RemapDBs /DatabaseName:mydb.mydomain.com;Tfs_Configuration /SQLInstances:mydb.mydomain.com /preview
Logging sent to file C:\ProgramData\Microsoft\Team Foundation\Server Configuration\Logs\CFG_CFG_AT_0706_195637.log
Microsoft (R) TfsConfig - Team Foundation Server Configuration Tool
Copyright (c) Microsoft Corporation. All rights reserved.

Command: remapDBs
Microsoft (R) TfsConfig - Team Foundation Server Configuration Tool
Copyright (c) Microsoft Corporation. All rights reserved.

The Team Foundation Server configuration could not be reconfigured. The following errors were encountered:

TF246062: Two or more databases are in conflict because they are each designated
 as the owners of the following schema: Framework. The schema is for the host wi
th the following name and ID: TEAM FOUNDATION, 2e5bff53-8b19-4708-95ad-192dd0060
763. The databases with this conflict are: Data Source=mydb.mydomain.com;Initial Catalog=Tfs_Warehouse;Integrated Security=True, Data Source=mydb.mydomain.com;Initial Catalog=Tfs_Configuration;Integrated Security
=True. You must specify one and only one database owner for the schema in the searchable SQL Server instances for this deployment of Team Foundation Server.

We backed up the Team Foundation Server 2013 SQL databases and restored them to new TFS 2015 DB Server.  The ran the Team Foundation Server Upgrade. Any ideas on how to resolve the TF246062 error?  I am stuck.


Errors after adding a new project to VS solution (TFS only)

$
0
0

I have a problem while adding a new project to a visual studio solution. The new one is a ASP.NET MVC4 project on .NET 4.5. The solution is mapped to a TFS (2008) Team Project.

So after I added the project, I can see in the references that something has gone wrong.

Reference Errors

If I now close the solution and reload it, VS tells me that it was not able to load the new Project

If I try to load project via right click "Load project", I got the following error:

Unable to load project

Translation: The imported project "C:...*.wpp.targets" not found. Make sure that the -declaration is correct and exists on your drive. C:\Program Files..."

But If I copy the whole solutions files to a folder, that is not mapped to any TFS workspace, I can add the project without any errors or problems. If I copy the files back, VS can't load the project again. So it seems the TFS project or workspace mapping causes the problem. I can also create a new TeamProject with only a new ASP.NET MVC4 application to get these problem.

Now I'm really helpless...

I'm using Visual Studio 2012 Prof. with a TFS 2008. I also tryed to add the project with a Visual Studio 2015 RC, but got the same problem.

TF53010:The following error has occurred in a Team Foundation component or extension

$
0
0

Hi,

From last couple of days i am seeing some errors in the Eventviewer which shown below.

TFSJobAgent is stilling running without issue, but TFS is still throwing the following: 

TF53010: The following error has occurred in a Team Foundation component or extension:

               Date (UTC): 6/18/2015 11:40:02 AM

               Machine:PWN01058 

This is an aggregator issue that is related to updating a Parent state (when a child state changes).

Error: 

TF53010: The following error has occurred in a Team Foundation component or extension:

Date (UTC): 6/18/2015 10:14:15 AM

Machine: PWN01058

Application Domain: /LM/W3SVC/2/ROOT/tfs-2-130790772753095761

Assembly: Microsoft.TeamFoundation.Framework.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v4.0.30319

Service Host: 7f823e04-6d85-4f38-a05e-ebf1a02579c5 (FedEx)

Process Details:

  Process Name: w3wp

  Process Id: 9176

  Thread Id: 14292

  Account name: NT AUTHORITY\NETWORK SERVICE

Detailed Message: The subscriber TFSAggregator raised an exception while being notified of event Microsoft.TeamFoundation.WorkItemTracking.Server.WorkItemChangedEvent.

Exception Message: The source was not found, but some or all event logs could not be searched.  To create the source, you need permission to read all event logs to make sure that the new source name is unique.  Inaccessible logs: Security. (type SecurityException)

Exception Stack Trace:    at System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate)

   at System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate)

   at System.Diagnostics.EventLogInternal.VerifyAndCreateSource(String sourceName, String currentMachineName)

   at System.Diagnostics.EventLogInternal.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)

   at System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)

   at System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type)

   at TFSAggregator.MiscHelpers.LogMessage(Boolean isError, String messageFormat, Object[] messageFormatArgs) in h:\Library\Development\_Code\TfsAggregator\TfsAggregator\MiscHelpers.cs:line 93

   at TFSAggregator.WorkItemChangedEventHandler.ProcessEvent(TeamFoundationRequestContext requestContext, NotificationType notificationType, Object notificationEventArgs, Int32& statusCode, String& statusMessage, ExceptionPropertyCollection& properties) in h:\Library\Development\_Code\TfsAggregator\TfsAggregator\WorkItemChangedEventHandler.cs:line 222

   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationEventService.SubscriptionList.Notify(TeamFoundationRequestContext requestContext, NotificationType notificationType, Object notificationEventArgs, String& statusMessage, ExceptionPropertyCollection& properties)


Please help me to sort out the issue.

Thanks in Advance


Ravi j


Refresh in MS Project 2010 causes all linked tasks to disappear

$
0
0

I'm trying to integrate an MS Project 2010 plan with TFS and encountering some problems. I've opened the project plan, connected to the TFS project and published the project tasks up to TFS as Task WIT. I've filled in the area and iteration and it has successfully created the Tasks in TFS.

I then noticed that in TFS it hadn't maintained the parent-child relationships with the tasks, so I went through and recreated the relationships in TFS so that they mirrored the hierarchy in MS Project.

Then when I open the project plan and hit refresh, any tasks that are linked to TFS tasks (not all tasks are currently linked as they are part of future sections of the project so not relevant right now) disappear from MS Project. I can't work out what is happening - would the fact that I created the parent-child hierarchy in TFS cause this problem?

I can do a "Get Work Items" and pull them back into the project, but they are missing some information such as Start, Finish dates etc... which are not refreshed back to Project from TFS, so this is not really a solution for me.

Any pointers on where I may have gone wrong would be much appreciated - I've had a search through these forums, but not found anything on this issue.

Thanks in advance!


Edit:

I just thought of something - TFS is set up on a different development domain to our main one. I think that MS Project has assigned resources from active directory on our Main domain. These do map to the users on the development domain as users are given a username that is the same (although different domain), so when publishing it didn't cause any errors and assigned the TFS tasks to the right users, but could this cause a problem when refreshing back to MS Project?

Update:

Checked if the different domains was an issue, but even after changing the resource names so that they come from the development domain that TFS is installed on, the problem remains the same.

Any ideas what is causing this?

SUM Hours

$
0
0

Hi all,

Is there any way to sum total hours of my "done" tasks?

TFS server transition to new datacentre plan

$
0
0

Hi,

We are currently using a TFS server in production in our current data centre. We are building a new data centre and we need to have a plan to move TFS to the new location.

We are planning to build a new server and keep the existing server running, then eventually cut over either bit by bit, or big bang type approach.

Just wondering what would be the best way to achieve?

This evironment is critical to have running continuously as we have a team of about 30 developers interacting with TFS daily.

Any advice would be greatly appreciated. Also any information to offical microsoft documents would be great.

One suggestion from a discussion we had was a one way synronization, however I'm not sure if this is possible considering we are movng from one domain to another. Is this possible, and if so, how?

Thank you.



Is there a Power Tools install for 2015?

TFS Scrum Tracking - Guidance With Unfinished User Stories...

$
0
0

Hi all,

I hope this is the proper forum for this, but I'm looking for some guidance with handling unfinished User Stories for a particular sprint.

Let's say we have a user story with an effort of 5.  There are three tasks associated with the story and only two are completed.  How do you handle the remaining task and re-estimation of effort for the next sprint?  Do you just assign the existing User Store to the Next Sprint (iteration path) or do you create a new user story, add the remaining task, and set the adjusted effort - now only a 1 since the heavy lifting was completed in the previous sprint.

I don't want to simply reassign to the next sprint's iteration path if it will mess up the effort bar graph, etc.

Another thing I can think of doing is maybe reassign the existing User Story to the new sprint iteration path, but leave the completed tasks set to the previous sprint's iteration path.  Then, simply assign the remaining, unfinished task to the new sprint iteration. ???

Thanks for any guidance!


Unable to enter values for selected columns in Product back log items in TFS2013

$
0
0

Hi

I selected the following columns options in backlog items in TFS. But I am unable to enter values for these columns

  1. Acceptance criteria
  2. Accepted by
  3. Accepted date
  4. Activated by
  5. Application type
  6. Application launch instructions

I can enter only the following columns

  1. Assign to
  2. State
  3. Reason
  4. Effort
  5. Business value

Question: How to customize the columns in product backlog items?

Clarity on TFS licensing

$
0
0

I'm after a straight answer regarding TFS licencing. I've recently downloaded and read the Visual Studio 2013 and MSDN Licensing Whitepaper - January 2015 in the hope that I can find an answer.  In it are what seems to be conflicting (or at least confusing) statements about licencing for TFS:

"You [must] purchase..Team Foundation Server Client Access Licences (CALs) for each user connecting to these servers."

This appears to conflict with other information in the whitepaper which indicates that I don't need a TFS CAL if I am a user "entering work items through any interface, and viewing and editing any workitems".

Given the latter statement I would suppose that I would not need a CAL for a user (such as a business analyst or project manager) only accessing TFS via the Web Access Portal (which I would class under "any interface") and doing nothing more than adding, viewing or updating work items.

Thanks for any advice.


Mark Barrett

TF400324: The request was aborted: The request was canceled.

$
0
0

Hi guys, we are facing a strange problem for one of our client locations. We have a server in 1 country but clients from 4 other countries/sites. Since last week our clients from London have the following problem:

[

Problems connecting to the TFS server at using Visual Studio 2013. I am getting the following error:
TF205020: Could not connect to server 'http://******:8080/tfs/defaultcollection'. This server was used in your last session, but it might be offline or unreachable. Confirm that the server is available on the network. To attempt to connect again, or to a different server, click 'Connect To Team Foundation Server' in Team Explorer or the Team menu.

The server returned the following error: TF400324: Team Foundation services are not available from server http://*******:8080/tfs/defaultcollection.
Technical information (for administrator):
  The request was aborted: The request was canceled.

When I try to access TFS site at http://******:8080/tfs, it works fine after I entered in my credentials.

I have removed the TFS server from my Visual Studio settings and tried adding it again without success.

Here are the other things I have tried without success:

1)    Deleting the TFS cache at C:\Users\****\AppData\Local\Microsoft\Team Foundation\5.0
2)    Removing the TFS token storage from the registry at HKEY_CURRENT_USER\Software\Microsoft\VSCommon\12.0\ClientServices\TokenStorage
3)    Clearing and deleting Internet Explorer cache and cookies
4)    I have also added the following setting to the devenv.exe.config:

<defaultProxy useDefaultCredentials="true" enabled="true">
    <proxy usesystemdefault="true" />
</defaultProxy>

5)    And the following reconmendation 

      <defaultProxy enabled="true" useDefaultCredentials="true">
            <proxy bypassonlocal="true" proxyaddress="http://*****/"/>
        <bypasslist>
          <add address="*******"/>
      </bypasslist>
        </defaultProxy>

None of the above steps I have taken have solved this connection issue.
]

We have at least one proxy between our server and the remote site.

We can see that a lot of the requests from VS2013 are receiving a 401, before being retied with proper credentials.

If we add Fiddler on the client side acting as a second proxy, then VS2013 can work. (This is how we got the info on 401 results above)On the server side all looks good for that user, except the same big amount of 401 errors.

Any help will be welcome.

Task Reassignment - Works as Designed or Customizable

$
0
0

When using the Sprint Board, Group by = Backlog items and Person = <individual resource>, is it the default behavior for task/card to be re-assigned to the filtered/'individual resource' whenever the task/card is moved between the To do/In progress/Done columns?

I'm experiencing a use case where I'd like the task/card assignment to retain its value instead of being re-assigned.

If this works as designed, I'm curious if there is a way to configure this by Project/Team to not auto-reassign.

TIA

-don

TFS 2012/VS 2012 Code reviews diff tool

$
0
0

We've just starting using the built-in code review system with TFS2012/VS2012, and while it's a great tool we'd like to use a different diff tool.  The diff tool works great for everything but code reviews.  No matter what we do it uses the built in diff tool.

Anyone know of a way?


Christopher Cericola

GIT: Delete (=undo) an entire commit in the web portal?

$
0
0

I am the only developer of the on-premise TFS Express. I am not using the TFS to collaborate with others, but to maintain my own personal source code history.

I opened an existing project (which I had authored without version control) with Android Studio, and committed it TFS (GIT). The problem is, the files are placed at the root, not under a directory named by the project name. Since moving the files into the directory would be more complicated than doing it again, I would delete or undo the commit. As mentioned earlier, I am the only developer so it would not affect any one else.

How can I do this in the web portal? Of course, I searched the web before asking, but the instruction did not work (probably would only work within Visual Studio).

https://msdn.microsoft.com/en-us/library/dn237244.aspx?f=255&MSPPError=-2147217396#revert



Removing PBI State Columns on Task Board

$
0
0
When using the Scrum process template in VSO 2013, the Scrum board has columns for PBI states as well as task states.  How do I remove the columns that are only meaningful for a PBI (the PBI card isn't part of the swim lane anyway, do they're meaningless)?

Iterations name are not displayed correctly in the sprints/Backlogs according to the dates set in the iteration backlogs

$
0
0

Hi All,

Could some one please help me to understand the below situation:

Iterations name are not displayed correctly in the sprints/Backlogs according to the dates set in the iteration backlogs i.e., in Present, Past and Current iteration Backlogs. Eg: Shown below picture.

Iterations

Iterations

According to the above iterations it is a completed event but it is being displayed in Future events. So is it dependent on any other attribute (or) is it an issue in application? So could some help me on the question and if its an issue can you please help me to resolve the same.

Thanks in Advance and also let me know if you need any other details.


Thanks, BEshwar

TFS Data Tier Restart

$
0
0

Hi,

I need to restart my TFS data tier server on weekend where SQL server 2012 resides.

Do i need to perform any particular step after server restart.


Can't View (checked out by other user) if file is checked out by other user.

$
0
0

We have noticed  strange behavior in our TFS lately.

When we check out the files (SP, SSIS package, cube, doc, ….) to edit, others (beside the one making the changes) are not able to see the files being checked out by the other.

And when the users are checking-in can they at least see a warning that the file is checked out by the other user.

Regards,


ashu


Microsoft Visual Studio 2012 - Login to TFS fails with IE8 (Again...)

$
0
0

Hi,

Again trouble with the Visual Studio 2012 TFS Logon in Visual Studio 2012 + Internet Explorer 8 (company laptop, cannot install or update any components). This happened in February this year and was due to a change in one script - thread and issue solved here:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/b0173dde-cef3-40ff-8deb-29aeb34f8bf6/microsoft-visual-studio-2012-login-to-tfs-fails-with-ie8-since-20150129?forum=TFService

Now it happens again. New script version (https://app.vssps.visualstudio.com/_static/tfs/20150707T234050/_scripts/TFS/min/VSS/LoaderPlugins/Css.js) and new error:

Error: Object doesn’t support (…)

Line: 4

Char: 268

Error: Objec

Code: 0

URL:https://app.vssps.visualstudio.com/_static/tfs/20150707T234050/_scripts/TFS/min/VSS/LoaderPlugins/Css.js

 Since I cannot connect to TFS from Visual Studio I cannot upload or get changes for my Projects. I cannot upgrade my IE version (Company Laptop, cannot install or update any components).

Any suggestion to solve this?

Thanks in advance,

Pedro Cabral

How to get a Branch from a project on TFS 2013 to Visual Studio 2013

$
0
0
Hi all.
I migrate a collection From VS 2005 to TFS 2013. When I try to get a branch from TFS 2013 to VS 2005, I receive the following  message:"There are 

not solution or project files in this location. Please select a different location". If I try with Team Explorer + Power Tools or on VS 2010, I can 

get the branch to my local work space without problem.

What I did to work with VS 2005 connected to TFS is:
VM with SO: Windows 7 and I installed the software according to the instructions that are in the following link:
http://blog.jessehouwing.nl/2013/10/connecting-to-tfs-from-any-version-of.html#tfs2013
I need to work with VS 2005 because the solutions were created with that version. Can someone help me please to solve the problem.

Thanks a lot.
Best Regards.
Audberto.
Viewing all 6687 articles
Browse latest View live


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