Team Foundation Server MSSCCI Provider slowness issue - tfs

I've installed Team Foundation Server MSSCCI Provider 2010 and use it to connect Oracle PL/SQL developer (ver 7.1.5) to TFS 2010.
now the problem is that the operations that require TFS (check-in, check-out,..., etc) is very slow and causing the PL/SQL environment to hang for a while (in some cases it hangs for more that 5 minutes).
My question is that is this a known issue for MSSCCI? and what I can do to overcome the slowness problem.

please ask this question on the msdn forum http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol as the developers working on msscci are actively monitoring it. Afaik, Oracle Pl/SQL was not tested with msscci provider so this would be a new issue. The most probable issue is that Oracle Developer is quering file status very frequently, which hits the server every time, you can confirm it using tracing (http://blogs.msdn.com/b/michalma/archive/2006/12/08/tracing-in-tfs-msscci-provider.aspx)

Related

Connecting VS 2015(Integrated) to TFS

I am using SQL Server Data Tools (which = Visual Studio 2015 (Integrated)) and I am having trouble being able to connect to TFS. I can see the Team Explorer window, but when I click "Manage Connections" --> "Connect to Team Foundation Server" ....nothing happens. I get no error or prompt or anything. Has anyone else had issues like this? Spent most of my day googling the problem yesterday and I can't figure out what is wrong.
I cannot use VS community as I am part of a company and it would violate the TOS.
Unfortunately, TFS is not included in the minimal VS that SSDT installs. If you're not able to use VS Community due to license restrictions, I would suggest looking into the Express edition (Web or Desktop) of Visual Studio 2015. It has a less restrictive license and supports the SSDT tools.

Connecting to TFSPreview Programmatically

I'm attempting to connect to TFS Preview from a C# application.
At the moment, I'm stuck trying to authenticate. I've added a reference to the TFS 2010 DLLs (I believe that these will enable me to connect, please correct me if I am wrong!) and my test case is as simple as. The URL I am trying to connect to is in the form https://MYSERVERNAME.tfspreview.com/DefaultCollection
var teamProjectCollection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(workPath, new UICredentialsProvider());
teamProjectCollection.EnsureAuthenticated();
This fails with the following exception.
Team Foundation services are not available from server https://MYSERVER.tfspreview.com/$/defaultcollection.
Technical information (for administrator):
TF400813: Resource not available for anonymous access. Client authentication required.
I had hoped that providing a UICredentialsProvider in the factory method creating the team project collection that it'd use this to provide authentication. The TFS Preview service uses Windows Live authentication, but I had hoped that this would be covered.
Pointers in the right direction greatly appreciated!
I have found that you cannot connect to TFSPreview using the TFS2010 DLL's, most likely because of the web credentials that need to be provided in order to access the site.
By adding a reference to the TFS2012 DLLs (which come with the Visual Studio 2012 RC at %PROGRAMFILESX86\Microsoft Visual Studio 11.0\Common7\IDE\ReferenceAssemblies\v2.0) I was able to successfully connect.
Download and install the Object Model for Team Foundation Server 2010SP1 and then install the Visual Studio 2010 SP1 Forward Compatibility GDR. Though this installer may look to only apply to Visual Studio 2010, it will happily update your Object Model installation if it's installed stand-alone.

TFS Express on shared SQL server?

TFS Express 11 beta installation also includes SQL Express installation for its database. Can I redirect it to a shared SQL 2008 server or was it designed to work with SQL Express exclusively?
You should be able to use it with a normal MS SQL Server as well, there is no Feature that Express has that a normal one does not. It is simply bundled with the Express version since it not necessary to have a normal SQL Server.
Also, why should MS stop you from paying a license for at least one of the two products ;)
UPDATE
Apparently I was wrong, at least in the beta it is NOT possible to use anything else but the SQL Express, the others are explicitly not supported.
See here:
http://blogs.msdn.com/b/bharry/archive/2012/02/23/coming-soon-tfs-express.aspx
http://blogs.msdn.com/b/chaks/archive/2012/03/05/getting-started-with-tfs-11-express-beta.aspx

Visual Studio 2010 Connect to SQL Server 2000?

We recently upgraded a major application to Visual Studio 2010.
Unfortunately, we are still using several database servers that are still running SQL Server 2000 (8.0.2055 to be precise).
According to this article (Link), "Since mainstream support for SQL Server 2000 ended on 04/08/2008, Visual Studio 2010 will only support debugging SQL Server 2005 and SQL Server 2008.
We have a lot of stored procedures that we keep in Source Control and execute them from within Visual Studio whenever we need to update them.
Is there any way around this restriction? 3rd-party tool, anything.
While researching this, I saw a few sites that indicate an ODBC connection could be used to get to the SQL2000 box. I was able to create a System DSN and then a Data Connection within VS2010, but am unable to connect to it.
Any help would be greatly appreciated.
Thanks.
Chris
The only way I've found so far is to extract our data library out of the project and keep it in VS 2008 targeted at 3.5 while we're building it. Once it's complete and ready, we open up the primary project in VS 2010, check out the changed files and then use the file system to copy the changed files over.
We then keep the supplementary 3.5 project in source control parallel to the primary project.
They will still build and function in .Net 4.0, but we have found that the IDE will not accept any connections or commands to them.

Use Team Foundation Server in Delphi 7?

I'm a .NET developer and use VS2008/TFS2008. Recently, another developer has left our company and now I have to maintain his code. He was a Delphi developer (Delphi 7 mostly, but also Delphi 2007) and he didn't use any source control.
Is there a way to put his code in Team Foundation Server? Integration in the Delphi IDE is a big plus.
To get IDE integration with TFS in Delphi 7, you need can use the MSSCCI provider for TFS in conjuction with SourceConnexion which gives MSSCCI support to Delphi. You will need to install the following on your machine if you do not have them already:
Microsoft Team Explorer 2008 (The TFS Client)
The Microsoft MSSCCI provider for TFS 2008
SourceConnexion
You need to ensure that you have TFS client access licenses for any of the Delphi folks connecting to TFS and get them a license for the SourceConnexion plug-in.
As you already have VS2008 installed on your machine talking to TFS2008 you probably only need to install items 2 and 3.
See Eyal's blog post for more information (a little out of date but stil valid).
We use SourceConnexion (3rd party plugin) with D2007:
http://www.epocalipse.com/scx.htm
(Works nice with SCC api plugin of Plastic SCM, which has better branching support than TFS :-) )
I realize that this is an old thread but during my reserach on how to use TFS2012 with Borland Delphi 2006 the posts here helped me a lot, so I wanted to share my experience.
To use TFS2012 or TFS2010 with Borland Delphi 2006 please follow these steps.
Download and install Microsoft Team Explorer 2010.
Download and install TFS MSSCCI provider TFS2010 (make sure you download the 32-bit version even if on a 64-bit machine!).
Download and install SourceConnexIon.
Open Borland Delphi 2006, click on the Source Control menu item and follow the configuration wizzard.
You must follow this order or SourceConneXion won't detect TFS.

Resources