Team foundation server, SQL Server Management Studio - sql-server

We restored our TFS 2013 database backups on separate data tier with SQL Server 2012. Now I am trying to add these databases to TFS server (it's a sandpit tier), where I have a SQL Server 2008 R2 version. While running app tier wizard, I added SQL instance but it is throwing an error:
TF400860: the current version of following service is not supported registry Version 5, min version 5
Both servers have same version of TFS (TFS 2013.5)
Can anyone advise how to fix this?

The minimum SQL version for 2013 is SQL 2012 with SP1 https://www.visualstudio.com/en-us/docs/setup-admin/requirements

The minimum SQL server requirement for TFS 2013 is SQL server 2008 R2 (SP1).
The solution for this error is, we need to change the SQL server instance availability group as primary by logging in to same server
We have 4 data tiers, which are in sync, I tried it and I got it with SQL version 2008 R2. No need of SQL version 2012 or higher.
Thanks

Related

TF246017 error migrating from SQL Server 2008 to SQL Server 2014 (2008 compatibility) - TFS 2013

We are currently using TFS 2013 - Upgrade 2, connected to a SQL Server 2008 instance. We are trying to upgrade the TFS databases to a SQL Server 2014 instance (new server) with the databases being in 2008 compatibility. When trying the preview function of the TFSConfig RemapDBs command, we are getting the "TF246017 Team Foundation Server could not connect to the database" error. Is it potentially because TFS 2013 - Upgrade 2 doesn't support SQL Server 2014, despite the database being in a 2008 compatibility mode?
Thanks!
Is it potentially because TFS 2013 - Upgrade 2 doesn't support SQL Server 2014, despite the database being in a 2008 compatibility mode?
Shouldn't be. TFS 2013 Update 2 supports SQL Server 2014. See
https://learn.microsoft.com/en-us/azure/devops/server/requirements?view=tfs-2013

Determine SQL Server instance being used by TFS 2015

I have a server that has TFS 2015. Originally, it was running against SQL Server 2012. I backed up the databases and then upgraded to SQL Server 2016. After upgrading to SQL Server 2016 TFS seems to work fine but I still see several entries in programs and features for SQL Server 2012.
My question: How do I check TFS 2015 to verify that it is indeed now running against SQL Server 2016?
If not, I'm guessing that if both SQL Server 2012 and 2016 are installed I have the ability to make TFS switch from one to the other?

Migrate SQL Server 2008 databases to 2016

We are processing to migrate SQL Server databases from 2008 to 2016.
We are searching now for expired function or utilities used in SQL Server 2008 and not available in SQL Server 2016 before migration.
Do you have reference for that?
Here are few features removed in SQL Server 2016 (from MSDN):
SQL Server 2016 is a 64-bit application. 32-bit installation is discontinued, though some elements run as 32-bit components
Compatibility level 90 is discontinued. For more information, see ALTER DATABASE Compatibility Level (Transact-SQL).
Though you are migrating from SQL Server 2008 directly to SQL Server 2016, you need to consider the removed features of SQL Server 2012 & SQL Server 2014 as well
Discontinued Database Engine Functionality in SQL Server 2014
Discontinued Database Engine Functionality in SQL Server 2012

Can i Upgrade SQL server 2008r2 express to sql server 2014 Developer edition

I currently have SQL server 2008 R2 Express installed for my QA/Dev environment on Amazon EC2 instance.
Now my database is growing beyond the 10GB limitation of Express edition, so am planning to buy SQL server 2014 Developer edition.
So can i upgrade my SQL Express 2008 R2 to SQL server 2014 Developer Edition, if yes what is the procedure?
Yes you can upgrade. Check this Upgrades from Earlier Versions to SQL Server 2014
Yes you can Upgrade Sql-Server 2008r2 to 2014 developer edition.
First of all restoring backup will not upgrade your database. So,
1) Microsoft SQL Server 2014 installation setup provide options to upgrade your database either from 2008 R2 or from 2012. This will preform all the process and provide information if your database is upgradeable or you required to make some changes to your old database. After that you can proceed to upgrade database from 2008 R2 to 2014.
My recommendation would be to install SQL Server 2014 instance and then backup and migrate database from SQL Server 2008 R2 to SQL Server 2014
2) There are other third party tools that will preform all the necessary processes and messaging before upgrade.
You can get complete installation details here :
http://www.mssqltips.com/sqlservertip/3245/quick-guide-to-upgrading-to-sql-server-2014/
Yes, you can upgrade it. You are not written your service pack of sqlserver. Here is the link to what and how to upgrade to Sqlserver2014.
Before doing this type of task always ready for rever, so take backup and restore any other pc.
This will give the whole up-gradation details
https://msdn.microsoft.com/en-us/library/bb677622.aspx
http://searchsqlserver.techtarget.com/tip/SQL-Server-upgrade-paths-What-to-do-before-during-after-upgrading
SQL Server 2012 SP1
SQL Server 2008 R2 SP2
SQL Server 2008 SP3
SQL Server 2005
http://sqlmag.com/sql-server-2014/migrating-sql-server-2014
https://msdn.microsoft.com/en-us/library/cc707783.aspx
https://msdn.microsoft.com/en-us/library/ms143393.aspx

SQL Server version 612 , 655?

I have SQL Server 2008 and VS2008 installed on my computer and I am trying to run a web application I've created on a computer which has SQL Server 2008 and VS2008 and VS2010 beta 2 with its SQL Server Express.
I am getting an error with the database version that is
"...aspnetdb.mdf" cannot be opened because it is version 655. This server supports version 612 and earlier...."
Configuring the database in Visual Studio ->Tools -> Options -> Design-Time Validation Database is not working since I don't have the SQL Server version comes with VS 2010.
EDITED : I also edited aspnetdb and inserted a few more tables so I need the same aspnetdb
Is there any solution to convert this db ?
Also, after fixing this, I am looking forward to upload it on my hosting which has SQL Server 2005 DB and configure it in PLESK.
The SQL Server databases have a version specific format. Each SQL Server runtime version (SQL 2008 SP1, SQL 2008 RTM, SQL 2005 SP2, SQL 2005 SP1, SQL 2005 RTM etc) knows how to upgrade to its own verison. Unfortunately, once upgraded the database cannot be downgraded. So if your MDF was upgraded to version 655, it cannot be downgraded to any prior version. If you know you're going to deploy on SQL Server 2005, you must develop on SQL Server 2005 too. Not only that, but the actual build number of your development has to match the build number of the deployment (or at least be lower than that): the SP level and CU level must match.
You can a attach the 2008 version MDF you created to a SQL Server 2008, script out the database content, then import the script into a SQL Server 2005 database of the proper version.
I had this problem and when I changed my_computer_name\SQLEXPRESS with . to connect to server and it works and I could attach MDF file
may be you have both services run. (Mssql2008 and mssqlexpress) Maybe you have runing the mssqlespress running, that's the error that you have. Try to stop the mssqlserver express service and run mssql2008 services, and attach again your databases. I try this and works for me

Resources