SQL Server 2008 R2 installed, still cannot open version 661? - sql-server-2008

Getting an error running a sample MVC2 site because of DB version errors. I ran the installer for SQL Server Express 2008 R2 and it finished, I rebooted. Try to run the site again and see the same error. Downloaded/ran R2 installer and chose upgrade but there is nothing to upgrade... is something wrong in my VS2010 or windows in general? Don't know what else to do.
Just ran a discovery report and 2008 is also installed. Maybe thats the problem?
Product Instance Instance ID Feature Language Edition Version Clustered
Sql Server 2008 SQLEXPRESS MSSQL10.SQLEXPRESS Database Engine Services 1033 Express Edition 10.1.2531.0 No
Sql Server 2008 SQLEXPRESS MSSQL10.SQLEXPRESS SQL Server Replication 1033 Express Edition 10.1.2531.0 No
Microsoft SQL Server 2008 R2 MSSQLSERVER MSSQL10_50.MSSQLSERVER Database Engine Services 1033 Express Edition 10.50.1600.1 No
Microsoft SQL Server 2008 R2 MSSQLSERVER MSSQL10_50.MSSQLSERVER SQL Server Replication 1033 Express Edition 10.50.1600.1 No
Microsoft SQL Server 2008 R2 Management Tools - Basic 1033 Express Edition 10.50.1600.1 No

I was able to connect VS 2010 to the SQL server database in this instance C:\Program Files (x86)\Microsoft SQL Server\MSSQL10.SQLEXPRESS. Also ensure in SQL configuration manager, SQL browser and SQL instances are running and set to automatic and Network service
Seems to me it will be able to connect to SQL express database instances only when logged in as administrator VS 2010 express editions to create/modify an application.

Two installions. Had two instance names. Changed the instance name in VS2010 database tools.

Related

SQL Server 2008 service not running

I updated my Windows 7 to SP1 for the purpose to install Visual Studio 2013. I am successfully done my job to install Visual Studio 2013. But the problem arises when I try to install SQL Server 2008 or 2008 R2 Management Studio.
The SQL Server service is not running in services.msc and the SQL Server Browser service is not even listed in SQL Server Configuration Manager.
Please help me because I have install SQL Server 2008 Management Studio several times and update it also to SQL Server SP1 but still not running SQL Server service in services.msc.
Due to this I cannot connect my database engine.
Providing I also enter the correct instance name several times by following the link
Cannot register default instance MSSQLSERVER in SQL Server 2008

Transferring 3 SQL databases from both SQL Server 2005 Express and Standard to a new physical server

I am trying to figure out the best method for transferring SQL Server 2005 databases from 2 different physical servers to a new server running Windows Server 2008 64bit.
I own a fully registered copy of Microsoft SQL Server 2005 32bit Standard Edition. However all of my SQL Server databases together are only 4GB in size thereby making SQL Server 2008 Express an option.
Here is the breakdown of the servers:
(Old Server1) Windows 2003 Server 32bit - SQL Server 2005 Express 32bit
(Old Server2) Windows 2003 Server 32bit - SQL Server 2005 32bit Standard
(New Server) Windows 2008 Server 64bit - (Not sure which version to install)
The objective is to migrate the 2 SQL Server databases from Old Server1 and 1 SQL Server database from Old Server 2 to the New Server. What version should I install on the new server? Do I go with SQL Server 2008 Express or install the SQL Server 2005 Standard Edition?
Pending your response to which version to install, what are the correct steps to migrate (which I have never done before) the databases from both of these servers to the new server?
I have researched this online and I think this particular situation is unique in that I am transferring from both SQL Server Express and Standard from 2 different physical servers to a 2008 server that is 64bit. I cannot find anything online that I feel confident in trying. Please help me, as I have this migration deadline of this weekend. Any help is appreciated. Thanks

sql server 2005 connection

On my machine I had installed o.s. windows xp service pack 2, then I installed visual studio 2008 sp1 and then sql server 2008 r2 and sql server 2005 express. Upto that there was no problem to use sql server 2008 r2 and sql server 2005 express.
After that i updated o.s. windows xp service pack 2 to service pack 3, because i want to install visual studio 2010. then I installed visual studio 2010.
Now there is no problem to use sql server 2008 r2, but while using sql server 2005 express
its showing error message -"This version of Microsoft SQL Server Management Studio Express can only be used to connect to SQL Server 2000 and SQL Server 2005 servers.(Microsoft.sqlServer.Express.connectionDlg)"
I known that sql engine is 2008 so that the old version of sql server 2005 can,t connect.
but is any solution for this problem
can i install any newer service pack of 2005 sql server to solve that problem

Is an upgrade mapping file necessary when upgrading custom components from SQL Server 2008 to SQL Server 2012?

I'm upgrading some SSIS custom components from SQL Server 2008 to SQL Server 2012.
According to MSDN:
Mapping the Versions of Your Custom Object for Upgrade:
SQL Server 2008 Integration Services adds a new subfolder, UpgradeMappings, in the %ProgramFiles%\Microsoft SQL Server\100\DTS folder. This subfolder is where you deploy the mapping files that tell the package upgrade engine how to map SQL Server 2005 Integration Services objects to their new SQL Server 2008 equivalents.
http://msdn.microsoft.com/en-us/library/cc645943(SQL.100).aspx
I could not find this information for SQL Server 2012. I got the impression that this was not necessary for 2008 -> 2012.
Is an upgrade mapping file necessary when upgrading custom components from SQL Server 2008 to SQL Server 2012?

Can I use SQL Server Management Studio 2005 for 2008 DB?

I am looking to manage a SQL Server 2008 DB using Management Studio 2005. The reason for this is because our server is a 64-bit machine and we only have the 64-bit version of the software.
Is this possible?
How about managing a SQL Server 2005 DB using Management Studio 2008?
UPDATE: You can use Cumulative update package 5 for SQL Server 2005 Service Pack 2 to connect to 2008.
FIX:
50002151 946127 (http://support.microsoft.com/kb/946127/) FIX: You may experience problems when you use SQL Server Management Studio in SQL Server 2005 to connect to an instance of SQL Server 2008
The other question you asked was about managing 2005 servers with SSMS 2008 - and yes, you can do that. SSMS 2008 can manage 2008, 2005, 2000. I actually recommend that everybody use the latest SSMS 2008 client regardless of what server they're connecting to, because it has some nice perks and upgrades that work with all server versions that you connect to.
Be aware that SSMS 2008 has IntelliSense, but only when you connect to a SQL 2008 server. If you connect to a 2005 server, you don't get IntelliSense.
I'm posting this to prevent people getting false hope (as I did). Where as you may be able to use SQL Server 2005 Management Studio to connect to SQL Server 2008, you cannot use SQL Server 2005 Management Studio Express. You get an explicit error message stating:
This version of Microsoft SQL Server Management Studio Express can only be used to connect to SQL Server 2000 and SQL Server 2005 servers. (Microsoft.SqlServer.Express.ConnectionDlg)
Hopefully that will prevent a couple of people from wasting their time trying just-in-case.
unless I'm mistaken and things have changed, you cannot use sql server 2008 to save a backup which restores to sql server 2005. I found this out the hard way :(