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

How to connect to TFS2012 from VS2005

$
0
0

Hi All,

I am using VS2005 for my development purpose. Till now we were using TFS2010 for source control which we could connect using a compatibility patch. However, now we are planning to move to TFS2012.

Looks like TFS2012 and VS2005 are not compatible.

I did try to use MSSCCI provider at below location -

http://blogs.msdn.com/b/bharry/archive/2013/04/29/updated-tfs-2010-msscci-provider.aspx

But it didn't work. It started giving error

'Text' is an invalid xmlNodeType. Line 1, position 825.

I did try to follow an article at web for above error -

http://social.msdn.microsoft.com/Forums/en-US/tfsadmin/thread/1e007e77-6266-4acf-be4b-861e1d056bb9/

But this didn't solve the prob either.

I could see the project hierarchi but the workspace info was not available and I couldn't do any functionality (checkin/checkout).

Moreover the project loaded doesn't come under source control binding.

How can we solve these? Any step - by- step directions will help.


Workspace Templates not Replacing Z:\Root

$
0
0
I have created a workspace template with the local path set to something like Z:\ROOT\TFSProject.  I expected that, when someone tries to create a new workspace based off of the template, it would use what they entered in the local path textbox as a replacement for Z:\ROOT.  It would then create the TFSProject folder as well.  Unfortunately, when I attempt to get latest while connected to the workspace created from the template, it complains about not being able to find Z:\ROOT\TFSProject.  Why wasn't Z:\ROOT replaced by the local path?  I tried z:\{root}\TFSProject too.

As an additional question, is there a way to force VS to 'get latest' when creating the workspace from a template?  Can it also be instructed to open the solution once the files have been retrieved?

I am using VS2012 SP1 on Windows 7.

Test Controller keep going down

$
0
0

Hi,

We recently implemented TFS 2012 (SP1) that consist of 2 app tiers and a 3rd server that serve as a Test Controller.  I am having some strange issue with the Test Controller as it keeps throwing errors (see below event log entries) when the using tries to deploy the build to a certain environment.  Each time I have to stop and restart the controller services to get it back online.  

We did some investigation into this and discovered the the user's deployment script consist of certain xcopy command that regularly fails.  When that happens, it cause the error to show up and bringing down the controller.  It seem strange to me that an simple operation like this would bring the service down.  So, my question is, is there a setting somewhere where I can set to prevent the script from bringing down the service?  Thanks

===========

(QTController.exe, PID 4924, Thread 13) DEPLOY: PerformServerAction : Failed : Microsoft.TeamFoundation.TeamFoundationServerInvalidRequestException: The request was rejected by the server.
Technical information:
  HTTP code 400: Bad Request ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)
   --- End of inner exception stack trace ---
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.ReadResponse(HttpWebResponse webResponse, WebException webException)
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.IsAuthenticationChallenge(TfsMessage requestMessage, HttpWebResponse webResponse, WebException webException, TfsMessage& responseMessage)
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequest()
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage message, TimeSpan timeout)
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
   at Microsoft.TeamFoundation.Build.Client.BuildWebService4.UpdateBuildInformation(InformationChangeRequest[] changes)
   at Microsoft.TeamFoundation.Build.Client.InformationNodeConverters.BulkUpdateInformationNodes(BuildDetail build, List`1 requests)
   at Microsoft.TeamFoundation.Build.Client.BuildInformationNode.Save()
   at Microsoft.VisualStudio.QualityTools.Controller.DeploymentTaskMonitor.<FlushBuildInformation>b__c()
   at Microsoft.VisualStudio.QualityTools.Controller.DeploymentTaskMonitor.PerformServerAction(Action serverAction)

=========================

(QTController.exe, PID 4924, Thread 13) DEPLOY: PollDeploymentRuns : Handled Exception Microsoft.TeamFoundation.TeamFoundationServerInvalidRequestException: The request was rejected by the server.
Technical information:
  HTTP code 400: Bad Request ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)
   --- End of inner exception stack trace ---
   at Microsoft.VisualStudio.QualityTools.Controller.DeploymentTaskMonitor.PerformServerAction(Action serverAction)
   at Microsoft.VisualStudio.QualityTools.Controller.DeploymentTaskMonitor.Poll(Object paramater)

TFS 2012.2 Update stalled

$
0
0

I have a problem upgrading our TFS from 2012.1 to 2012.2

I get stuck on "Upgrading releational warehouse database..." in the configuration process.

Is this a problem seen by someone else and is there a workaround?

/// Johan

How can i add values to State dropdown field for a Bug in VS TFS 2012

$
0
0
I have only 4 values in the State Drop down field in the Bug- Work Item. I want to add some more values in the State field. I dont find any Process Editor under the TOOLS menu as said in the TFS 2010.

TFS & Visual Studio 2008 - Build Errors

$
0
0

Hello,

I have a web solution with many references projects. When I build the solution, I'm getting errors stating, "The item $xx/bin/xxx.dll is locked for check-out by xxx in workspace xxx"

I'm running Windows7 and I can't remove the read-only attribute from the bin folder and checking out the file doesn't help at all.

My only option is to unbind the solution and rebind it when I'm ready to check-in which totally defeats the purpose of source control.

Does anyone have any ideas? Is this a TFS setting? Is it how another developer is locking the file for checkout?

Thanks,

Adam


Try to look ahead so you're not forced to look behind.

TFS functionalities to prevent check in that rollback file version

$
0
0

Hi,

We are using TFS 2010 for our first project. We like the features of TFS compared to the other product. I have a question about using TFS and managing the developers who may consistently forget to perform a 'Get Latest' before checking in the project file. As a result, the developer not only checks in his current code file and the other old file version associated with checking in the project file. The developer forgets that when he make changes to the project ie add a file, the project file is automatically checked out. This has caused some frustration esp after the check in, which cause functional bugs in former working modules, which the files were rollback to older versions.

Is there any with any of the TFS functionalities to prevent this? Is there a better management technique for source control management. The issue causes many hours to rollback the changes and perform many hours of testing.

Thanks and any advice/help is greatly appreciated.

TFS 2012 as a Knowledge Base?

$
0
0

Howdy folks,

Are there any tools out there or template customization than can utilize TFS as a Knowledge Base? Looking for something we can share with business users. We want something quick, little articles (similar to how a User Story is created). 

I know we can do similar with Sharepoint, but its a little bulky. The 2012 TFS UI rocks, very fast.

Thank you,

Chris


Chris


TFS 2010 Errors During New Project Creation (TF30267)

$
0
0

We've been running TFS 2010 for quite some time..  Things have been going well - until just yesterday.  I discovered I could no longer create a new Team Project.

The error message that displays on the client is: The Project Creation Wizard was not able to connect to the server running SharePoint Products at the following location: wnp5361. The reason for the failed connection cannot be determined at this time. Because the connection failed, the wizard was not able to complete creating the project.

The VS team project creation log reads as follows around the error:
2013-05-03T13:21:49 | Module: WSS | Thread: 25 | Uploading file: Shared Documents/Product Planning.xlsm
2013-05-03T13:21:49 | Module: WSS | Thread: 25 | TF30275: Error while uploading file source = C:\Users\turayj\AppData\Local\Temp\TPW_tmpDA3E.tmp\Windows SharePoint Services\Shared Documents\Project Management\Product Planning.xlsm target = Shared Documents/Product Planning.xlsm
2013-05-03T13:21:49 | Module: WSS | Thread: 25 | TF30267: Exception: System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadData(Uri address, String method, Byte[] data)
   at System.Net.WebClient.UploadData(String address, String method, Byte[] data)
   at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.SendFpRpcData(TfsConnection tfs, String siteUrl, Byte[] fpRpcCall)
   at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.UploadData(Byte[] fileData, String remoteFullName, String siteUrl, TfsConnection tfs)
   at Microsoft.TeamFoundation.Client.SharePoint.WssUtilities.UploadFile(String localFile, String remoteFullName, String siteUrl, TfsConnection tfs)
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.UploadFile(WssCreationContextWrapper contextWrapper, String sourceFile, String siteUrl, String target, DocumentLibraryInfo docLibInfo, String currituckQuery)
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.HandleFileCreation(WssCreationContextWrapper contextWrapper, XmlNode taskNode)
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
---begin Exception entry---
Time: 2013-05-03T13:21:49
Module: Engine
Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Unable to connect to the server running SharePoint Products at the following location: wnp5361.
Exception Details: The Project Creation Wizard was not able to connect to the server running SharePoint Products at the following location: wnp5361. The reason for the failed connection cannot be determined at this time. Because the connection failed, the wizard was not able to complete creating the project.
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Execute(ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
--   Inner Exception   --
Exception Message: The remote server returned an error: (403) Forbidden. (type WebException)Status: ProtocolError
Response Status Code: Forbidden
Response Status Message: Forbidden

This is happening to all admins across multiple desktops.  I logged into the server console using the TFS Service account and tried with the same results.  Sharepoint is installed on the TFS application tier.  Because I get the same errors, I don't see this as a firewall issue.

We have TFS 2012 running on a test server.  Using the VS 2012, I was able to create a new team project in 2012.  I get the same error when trying to build a team project on TFS 2010 using VS 2012. It doesn't seem to be a client issue. 

We did not make any application or permission changes since this was last working.  I compared account permissions where I could think to look between the two Sharepoint instances - they are set up the same.

The server was updated with OS patches recently (Windows Server 2008 R2 Standard) but the applications weren't touched.  Could it be something there?

I tried scouring through the Sharepoint log files..  but did not see anything revealing there.  I can't see where the permissions are being denied.  I find where the frame of the SP site is created, and where it is being torn down..  but I'm not seeing where the file upload is started.  The closest line I'm getting to with a discernable error is this:  "Unknown SPRequest error occurred. More information: 0x80070002"  I'm not sure where to go from there...

I am able to create a new site in this collection using SP Administration.  I also discovered that I can create new new Team Project using VS as long as I do not create the Sharepoint portal.  I can then have VS generate the Sharepoint portal after the fact - after the project has been created successfully.  So why is it unable to access during the original project creation tasks?

Any help of where to look for an issue would be great.  I want to get this server updated to 2012 in the next couple of weeks, but I'm afraid to press forward with this being an issue.

Cumulative Update 2 for TFS 2012 includes the Backup tool or Scheduled Backups feature

$
0
0

Hi All,

I am using TFS 2012 update 2 Backup tool or Scheduled Backups feature to back up TFS databases. By default I have to back up all the Collection databases compulsarly, is there any way to select the databases of my choice. And also if the team project collection is detached from TFS, do the Backup tool still takes back of those DB's also.

Thanks & Regards,

Nagaraj


Unable to copy ISPAC file to Binaries folder

$
0
0

Hello All:

I know that MSBuild.exe can't build SSIS project deployment model. But i have used following workaround to automate build generation (Ref: http://stackoverflow.com/questions/8144945/tfs-ci-issue-with-a-ssis-package).

Created a empty C# console application and at its pre-deployment event, using devenv.exe building the SSIS project which is part of the same solution. Things are going smooth till this point and .ISPAC file is getting generated (in the bin folder of C# console application).

But in the build generated, this ISPAC file is not visible. It is not present even in "Binaries" folder. Thought updating the build template may fix the issue and made the highlighted changes.

<mtbwa:FindMatchingFiles DisplayName="Find Build Outputs" sap:VirtualizedContainerService.HintSize="200,22" mtbwt:BuildTrackingParticipant.Importance="Low" MatchPattern="[String.Format(&quot;{0}\**\*.dll;{0}\**\*.ispac;{0}\**\*.exe&quot;, BinariesDirectory)]" Result="[assemblies]" />

Even after making the above changes the issue is still persist.

any help is highly appreciable.

ERROR:TF30063: You are not authorized to access Microsoft-IIS/6.0.

$
0
0

Hi,

I am trying to download a latest file from tfs server.the download operation is working fine at debugging mode.but whenever I try to acces application on  server(IIS), it showing a error message.TF30063: You are not authorized to access Microsoft-IIS/6.0.how to solve this.?

VS2012+TFS2012, icon state issue.

$
0
0

Hi,

Sorry for some misunderstanding, our test environment is Visual Studio 2012 and TFS 2012.

We add a C# WPF project into the TFS 2012, and one team member check out one .cs file, ( a tick icon will appear beside this file)

However, other members still see a lock icon beside the file from their Visual Studio environment ( it should be a man icon, means it is used by someone else. But it is still a lock icon, means it is not used by anyone. )

Our Visual Studio 2012 detail environment is Microsoft Visual Studio Ultimate 2012 Version 11.0.5.727.1 RTMREL

Our TFS 2012 detail environmemt is Team Foundation Server 2012 (51106.01)

Regards,

TF246017: Team Foundation Server could not connect to the database SQL Exception Procedure: prc_iiComputeWorkspaceMappings

$
0
0

getting below error when trying to save,edit or merge projects 

(the TFS DB server was recently upgraded from standard 2008 to enterprise 2008 (inplace),but these errors have started coming after few days from upgrade and not immediately after upgrade) ... do let me know what could be the cause of the same 

TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 5/6/2013 8:23:55 AM
Machine: TFSDBServername
Application Domain: /XX/XXXXX/8090/ROOT/tfs-1-130122867044700987
Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=XXXXX; v2.0.50727
Service Host: XXXXXXXXX-fda4-4aa4-8e8b-4910e299dfae (DefaultCollection)
Process Details:
  Process Name: w3wp
  Process Id: 11520
  Thread Id: 12048
  Account name: domain\username

Detailed Message: TF30065: An unhandled exception occurred.

Web Request Details
    Url: http://IP:port/tfs/_tfs_resources/VersionControl/v1.0/repository.asmx [method: POST]
    User Agent: Team Foundation (devenv.exe, 10.0.40219.1)
    Headers: Content-Length=813&Content-Type=application%2fsoap%2bxml%3b+charset%3dutf-8&Accept-Encoding=gzip&Accept-Language=en-US&Expect=100-continue&Host=IP%3a8090&User-Agent=Team+Foundation+(devenv.exe%2c+10.0.40219.1)&X-TFS-Version=1.0.0.0&X-TFS-Session=ef0a0eb6-f49d-47c4-8e8d-94f4339e5378&TF-Instance=ef0a0eb6-f49d-47c4-8e8d-94f4339e5378&SOAPAction=http%3a%2f%2fschemas.microsoft.com%2fTeamFoundation%2f2005%2f06%2fVersionControl%2fClientServices%2f03%2fUpdateWorkspace
    Path: /tfs/_tfs_resources/VersionControl/v1.0/repository.asmx
    Local Request: False
    Host Address: IP
    User: domain\username [authentication type: NTLM]

Exception Message: TF246017: Team Foundation Server could not connect to the database. Verify that the server that is hosting the database is operational, and that network problems are not blocking communication with the server. (type DatabaseRuntimeException)

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(SqlException ex)
   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.Execute(ExecuteType executeType, CommandBehavior behavior)
   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteNonQuery()
   at Microsoft.TeamFoundation.VersionControl.Server.WorkspaceComponent.UpdateWorkspace(Guid ownerId, String workspaceName, Guid updatedOwnerId, String updatedName, String updatedComment, String updatedComputerName, ICollection workingFolders, String originalSecurityToken, String newSecurityToken)
   at Microsoft.TeamFoundation.VersionControl.Server.Workspace.UpdateWorkspace(VersionControlRequestContext versionControlRequestContext, String oldWorkspaceName, String oldOwnerName, Workspace newWorkspace, SupportedFeatures clientFeatures)
   at Microsoft.TeamFoundation.VersionControl.Server.TeamFoundationVersionControlService.UpdateWorkspace(TeamFoundationRequestContext requestContext, String oldWorkspaceName, String ownerName, Workspace newWorkspace, Int32 supportedFeatures)
   at Microsoft.TeamFoundation.VersionControl.Server.Repository.UpdateWorkspace(String oldWorkspaceName, String ownerName, Workspace newWorkspace, Int32 supportedFeatures)

Inner Exception Details:

Exception Message: Warning: Fatal error 824 occurred at May  6 2013  4:23AM. Note the error and time, and contact your system administrator. (type SqlException)
SQL Exception Class: 24
SQL Exception Number: 21
SQL Exception Procedure: prc_iiComputeWorkspaceMappings
SQL Exception Line Number: 38
SQL Exception Server: TFSDBServername
SQL Exception State: 1
SQL Error(s):

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


Exception Stack Trace:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   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)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.Execute(ExecuteType executeType, CommandBehavior behavior)

TFS 2010 to TFS 2012 Upgrade

$
0
0

I'd like to ugrade our single server TFS environment from TFS 2010/Windows 2008 R2/SQL Server 2008 R2 to TFS 2012/Windows 2012/SQL Server 2012.

The documentation suggests that this is possible but I also have a SharePoint Server 2010 installation on the same server and that doesn't appear to be supported on either Windows 2012 or SQL Server 2012.

Can you please confirm this SharePoint restriction and make recommendations on a Windows 2012 server based target configuration that includes both TFS 2012 and a working SharePoint environment?

Migrating to Windows 2012 is a 'nice to have'. If its more straightforward to stick with Windows 2008 R2 for now, I'm quite happy to go with that. The requirement is to get TFS to 2012, not to upgrade the underlying O/S.

Appreciate youtr advice.

Cossy 

  






tfssecurity utility is asking credentials every time the command is executed

$
0
0

I am trying to run tfssecurity utility to add an AD group to a TFS group of each project in a collection. Let's say there are 20 projects in the collection.

I got the project names in a notepad each in a line.

When I execute the command using a for loop in command prompt, for each entry in the notepad, the command is trying to connect to TFS and is asking for credentials.

Because of this, the very purpose of doing this with lesser manual interruption is lost.

Is there a way to execute the tfssecurity /g+ for a list of values in a notepad, without asking the credentials for each and every entry in the notepad?

How to fix “TF400898: An Internal Error Occurred.” on your Kanban board

$
0
0

after follow these steps in the website,

"How to fix “TF400898: An Internal Error Occurred.” on your Kanban board in TFS 2012 Update 2"

i can show board after follow these steps . but cant set state back.

this is my orginal state

      <State type="Proposed" value="New" />

      <State type="Proposed" value="Deferred" />

      <State type="Proposed" value="Approved" />

      <State type="InProgress" value="Committed" />

      <State type="InProgress" value="Waiting on Bug Fixes" />

      <State type="InProgress" value="In Progress" />

      <State type="Complete" value="Dev Complete" />

      <State type="Complete" value="UAT Deploy" />

      <State type="Complete" value="UAT Testing" />

      <State type="Complete" value="Done" />

      <State type="Complete" value="QA Testing" />

then i changed the states like this

      <State type="Proposed" value="New" />

      <State type="Proposed" value="Deferred" />

      <State type="Proposed" value="Approved" />

      <State type="InProgress" value="Committed" />

      <State type="InProgress" value="Waiting on Bug Fixes" />

      <State type="InProgress" value="In Progress" />

      <State type="InProgress" value="Dev Complete" />

      <State type="InProgress" value="UAT Deploy" />

      <State type="InProgress" value="UAT Testing" />

      <State type="InProgress" value="Done" />

      <State type="Complete" value="QA Testing" />

after show the board . i try to set states back , but still show the same error . i have rename the columns names ,but still doesnt work .

and i tried to move the "QA Testing" sequence ,it should behind "Dev Complete",but after i did that , the board cant show up .

how can i change the Complete column value ?

  

Adding a new checkIn policy for VS2008 in Windows 7

$
0
0

Hi,

I have created a CheckIn policy using Visual C# 2008 and i am trying to add it to VS2008 checkIn policies in Windows 7. I have created a key(CheckForCommentsPolicy) in  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\TeamFoundation\SourceControl\Checkin Policies and added value <dll path>\CheckForCommentsPolicy.dll.After i opened VS2008 and i cant find newly added policy in the source control!.I added same toHKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\TeamFoundation\SourceControl\Checkin Policies  and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0\TeamFoundation\SourceControl\Checkin Policies  and its working in VS2012.Why its not working in VS2008?anything i am missing?

EDIT:

 I found out that i had referenced a new version of  Microsoft.TeamFoundation.VersionControl.Client.dll file.So i added reference to same version of .dll.Now checkIn policy is visible in list but while adding some internal error occuring.

Why this is happening?

Thank you


Iteration page cannot be opened Error Message: TF400898: An internal Error Occrred

$
0
0

When i click the iteration link , then the error shown.

how should i shove this probelm ?????

Figure: Click the iteration

Figure: get this error  TF400898: An internal Error Occrred

TFS 2012 Web Access Custom Control

$
0
0

Hi, I’m MVP form Poland and I’m looking for help with creating custom controls on TFS 2012 – Web Access.

I’ve created control to Visual Studio and it works. But I don’t know how to achieve the same at Web Access. Especially I don’t know how to create new work item with JavaScript API. Below is the code that I want to translate to JS, Anyone could help me?

var wiType =this.CurrentWorkItem.Project.WorkItemTypes["Historia Pracy"];

WorkItem wi =newWorkItem(wiType);

wi["DevCore.WorkHistory.Employee"] = wi.Store.TeamProjectCollection.AuthorizedIdentity.DisplayName;

wi["DevCore.WorkHistory.Date"] = this.workHistoryDateDateTimePicker.Value;

wi["DevCore.WorkHistory.WorkTime"] = this.workHistoryTimeNumericUpDown.Value;

wi["DevCore.WorkHistory.Description"] = this.commentsTextBox.Text;

wi["System.AreaPath"] = this.CurrentWorkItem["System.AreaPath"];

wi.Save();

if(wi.Store.WorkItemLinkTypes.Contains("DevCore.Links.WorkHistory"))

{

      var linkType = wi.Store.WorkItemLinkTypes["DevCore.Links.WorkHistory"];

      var linkTypeEnd = wi.Store.WorkItemLinkTypes.LinkTypeEnds[linkType.ForwardEnd.Name];

                       

       this.CurrentWorkItem.Links.Add(newRelatedLink(linkTypeEnd, wi.Id));

}

this.CurrentWorkItem.Save();

Viewing all 6687 articles
Browse latest View live


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