I have SQL Server 2008 R2 installed (shows that splash when I open Management Studio) but DB engine is 2005 express? - sql-server-2005

I am trying to restore a backup of a SQL Server 2008 database - but my engine is SQL Server 2005 Express. When I try and choose a different in the Management studio login, there is nothing BUT my SQL Server Express.
Now I am getting the RESTORE HEADERONLY is terminating abnormally on a 4+ GB DB that I need to restore.
Has anyone seen this? I am sure I installed SQL Server 2008 R2 (that's why I see it when I open the Management studio) ...so why do I only have SQL Server 2005 Express engine?
Thanks!
todd

It sounds like you only have the SQL Server 2008 R2 client tools installed. You will see the SQL Server 2008 R2 information on SSMS, but that doesn't indicate whether any server is installed.
I assume that SQL Server 2005 Express was installed already.
Of course, as you're seeing, the restore of a SQL Server 2008 backup will fail on the 2005 Express server.
You will probably have to install SQL Server 2008 R2 server again to get it installed. There are certain minimum requirements to install the server. I'm not positive, but I think if your computer doesn't meet the requirements, the install will automatically install client tools only.

Related

Updating version of SQL Server 2008 Management Studio

I am currently running SQL Server 2008 Management Studio (version 10.0.1600.22) and I want to update due to a bug in this version.
All the documentation I have found so far has been for updating to SQL Server 2008 R2 Management Studio and SQL Server 2008 Management Studio Express which I believe are different. Is that right?
I have also found links for updating SQL Server which I once again believe isn't what I'm looking for as I only want to update the client side.
Is there a way (or link) where I can update SQL Server 2008 Management Studio without having to reinstall it?
I believe the management tools for SQL Server 2008 R2 is backwards compatible with SQL Server 2008.
If you want to keep your database instance SQL Server 2008, just run the setup on the installation DVD and choose Maintenance -> Repair. At the screen to select the instance, there is an option to select "Repair shared features only". I don't have SQL Server 2008 DVD, only 2008 R2 DVD, but I believe the 2008 version works the same way.
Or if your computer doesn't have SQL Server database instance, you can do a fresh installation and choose only management tools. Example screen shots (for 2008 R2): http://it-n-careerz.blogspot.com/2013/04/how-to-install-sql-server-management.html
Good luck!

SQL Server Express 2008 database compatibility with SQL Server Express 2005

a) I am in the process of developing a web site using the new free web development tool - Webmatrix (Beta 2) from Microsoft.
b) Web Platform Installer (recommends and also) automatically installs SQL Server Express 2008 along with Webmatrix and VWDE 2010 Express.
c) My database is created in SQL Server Express 2008. But the hosting company says that they would support only SQL Server Express 2005 (but not SQL Server Express 2008).
d) Can I go ahead with this hosting company or should I look for somebody who supports SQL Server Express 2008 specifically? In other words, the crux of the issue is:
Is it possible to open, read, update the database and tables created using SQL Server Express 2008 in SQL Server Express 2005 edition also?
Esh
I had the similar issue with hosting company.
They gave me a bak file from SQL server 2008 and I tried to restored in in my SQL 2005 environment and it consistently failed. Quite surprised to see the lack of backward compatibility. I would advise to go with hosting provider who supports 2008 or you migrate your DB to 2005.
In one word: NO.
SQL Server is never backwards compatible - if you have a database in a 2008 version, there is no way to restore and use that on a SQL Server 2005 machine. There's no trick, no third-party tool, no hack, nothing - it just doesn't work. EVER.
So if your hoster supports only SQL Server 2005 Express, you need to uninstall 2008 Express and manually install 2005 Express on your dev machine.
Or find a hoster that support SQL Server 2008 Express.

sql server 2008 and 2005 on same machine?

I already have sql server 2008 installed and now need to install 2005 express as well. When I try this, the installation fails with: "An installation package for the product Microsoft SQL Server VSS Writer cannot be found" - any ideas anyone?
Yes, you can definitely have both SQL Server 2005 (any edition) and SQL Server 2008 (any edition) on the same machine. But of course - you cannot have both be the default instance (which you access without specific instance name). Typically that's not a problem since the Express editions default to the .\SQLEXPRESS instance name. Just something to remember when installing.
HOWEVER: you need to make sure to first install your SQL Server 2005 and then the 2008 edition. It won't work the other way around, unfortunately.
So in your case: you'll need to first uninstall SQL Server 2008m, then install SQL Server 2005 Express and SQL Server 2008 on top of that again.

upgrading tfs 2008 sp1 to use sql server 2008

I have an instance of tfs 2008 supported by sql server 2005. I want to change the sql server machine by doing a restore based move. I also want to change the version of sql server to 2008.
I know that i can restore backups from sql 2005 to sql 2008, IN GENERAL, but I don't know if this is a thing that is OK for tfs databases.
I also know that sql server 2008 is supported by tfs 2008, but in this case when I have done an upgrade I am assuming that I should change the database compatibility mode to be "2008".
So, any advice on doing a sql server upgrade for TFS 2008?
Backup databases and report server key
Start downtime
Upgrade SQL2005 to SQL2008; AT will stop working at this step
Apply VS SP1
Apply TFS SP1; AT will work again
Apply SQL2008 SP1
Verify full functionality
End downtime

How to integrate SQL Server 2005 Express Edition to Visual Web Developer 2008 Express Edition

I use Visual Web Developer Express Edition 2008 and SQL Server 2008 Express edition. I have finished a project recently. But many of hosting firms don't have SQL Server 2008. So i decided to uninstall SQL Server 2008 and install SQL Server 2005. Then I would reproduce my database. I uninstalled SQL Server 2008, installed SQL Server 2005. In project, When i clicked "App_Data - Add new item - SQL Server Database", an error accured "Connections to SQL server files (*.mdf) require SQL Server 2005 to function properly. Please verify the installation of the component or download from the URL: http://go.microsoft.com/fwlink/?linkId=49251". I couldn't add a new database to my project.
So how do i integrate SQL Server 2005 Express Edition to Visual Web Developer 2008 Express Edition?
Check the setting under Tools > Options > Database Tools > Data Connections for the SQL Server Instance Name refers to the name of your SQL Express 2005 instance.
Check SQL Server Express is running using the SQL Server Configuration Manager.