SQL Server Express 2008 database compatibility with SQL Server Express 2005 - sql-server-express

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.

Related

Working with a sql database on SQL Server 2012 and work with the same database on SQL Server Express 2012 is the same?

I have this question about the SQL Server and SQL Server Express.
In my client machine, the database that he's using is SQL Server 2012 and in my machine i have SQL Server 2005.. so i want to install another instance and a friend told me that i dont need to install the SQL Server 2012 Standard (the one that they have) and with the SQL Server 2012 Express will work.. is that ok?
I really don't know the real difference in working with SQL Server Express 2012 and SQL Server Standard 2012 (with the same database).
On of the major differences is that with express you not be able to back ups over the network. Local backups only. When I do back ups from the SqlExpress Server Manager Studio it doesn't recognize mounted drives. Check out this for a more formal approach to your question
[http://msdn.microsoft.com/en-us/library/cc645993.aspx][1]
Check through this document:
Features supported by the editions of SQL Server 2012
You will soon be able to see if there are any features that you are using in standard that are not available in express.

SQL server version 655

what update i need to install for version 655 in vs studio 2010 for the sql server.
Can anyone tell me what i need on my computer when creating a database using sql on vs studio 2010? I need to use version 655 cos thats the version being used on Uni Computers
SQL Server 2008 (655) and SQL Server 2008 R2 (661) are not the same thing (though it is a common misconception - a lot of people think they're the same because Microsoft made a terrible, terrible, terrible naming decision, making 2008 R2 sound like a service pack).
You can't attach/restore a 2008 R2 database to a 2008 instance, period. Though there are several workarounds (that also apply for attaching 2012 -> 2008, 2008 -> 2005, 2008 R2 -> 2005, etc). You can either upgrade the engine you're trying to connect to up to 2008 R2, or you can extract the schema / data from the database using generate scripts wizard, import/export data wizard, SSIS, or 3rd party tools like Red Gate SQL Compare (for a full list of alternatives see this blog post).
This comes up extremely often, did you search for "sql server version 661 655"? I came up with a whole bunch of hits using this search term and some slight variations, all on this site and dba.SE:
Failure attaching SQL Server 2008 database to SQL Server 2005
Cannot attach 2008 R2 database to 2008 instance
Database restore error
Create Database in SQL Server 2012, Script and Use in 2008?
Cannot restore backup on SQL Server Express
How to automatically restore a SQL Server 2008 R2 backup file
Database "cannot be opened because it is version 661" when attaching .mdf file
Use database 661 version with SQL Server 2008
SQL Server: Attach incorrect version 661
https://dba.stackexchange.com/questions/21525/restoring-an-sql-server-2012-mdf-to-sql-server-2008
https://dba.stackexchange.com/questions/20588/restore-sql-server-2012-backup-to-a-sql-server-2008-database
If you are developing .NET based apps in visual studio 2010, then they will typically support all versions of Microsoft SQL Server. That does not mean you install SQL server INSIDE of visual studio, just that you can connect to a SQL Server instance running somewhere.
If you are asking "Where can I get a copy of SQL Server that my university is using?", that depends. For development, you can use a SQL Express installation on your local machine that matches the major release of SQL (2005, 2008, 2008R2, 2012), or you can request the university (or someone else) grant you access to an existing SQL instance.

How to control SQL Server 2008 Express without SQL Server Management Studio (ssms)

I Installed SQL Server 2008 Express on a client PC (I install SQL Server 2008 Express from Visual Studio Setup Version for C# program)
But I don't see SQL Server Management Studio icon in all programs windows.
Now if I want control tables and database in SQL Servers, how can I do this?
Just installing Sql Express on it's own will not give you any client tools.
If you have a full Sql Server (Dev or otherwise) already installed on the same client, the existing tools will allow you to manage the Express database instance too. Otherwise, you wil need to install the version of Sql Express that comes with tools. This can be found here
Sql Express with tools

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

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.

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.