SQL Server Reporting Services in SQL Server 2008 R2 - sql

I have existing installation of SQL Server 2008 R2. I need to add SQL Server Reporting Services. When I install the feature then I select 2nd option which shows to add feature in existing installation when I select second option
when I install it shows me an error - how can I resolve this and how do I install successfully?
Any suggestions?

I think it is supported in evaluate version and not express.

Related

SQL Server SQL Agent

I'm looking to schedule some scripts from my SQL Server 2012 installation. I have installed the SQLManagementStudio_x64_ENU.exe from http://www.microsoft.com/en-us/download/details.aspx?id=43351, since that is the full version, not express. It didnt install a Database Engine though. I went back and installed the SQLEXPR_x64_ENU.exe database engine only, but when I go to start the SQL Agent service, I get the error "The edition of SQL Server that installed this service does not support SQL Server Agent"
Did I use the wrong database engine? Or install in the wrong order?
While the first comment is correct. I believe you can schedule scripts from Windows Task Scheduler utilizing the sqlcmd utility even on SQL Server Express.

Error: Can't attach DB to SQL Server 2012

I have SQL Server 2012 and I'm trying to attach a db which was previously used with SQL Server 2012, surprisingly I'm getting the following error:
The database 'DatabaseName' cannot be opened because it is version
706. This server supports version 622 and earlier. A downgrade path is not supported.
I don't really understand how this could happen since like I said it was used with same 2012 version. What am I doing wrong? How can I make it work? Please explain in detail how this can be resolved.
Thank you!!
The error sounds like the server you are trying to attach the database to is not SQL Server 2012. This may be the version of Management Studio / Management Studio Express you're using, but I suspect SELECT ##VERSION; will tell you something different. It may just be a connection string mixup if you have multiple instances of SQL Server installed, otherwise you should download and install SQL Server 2012 Express from here.
#source
It sounds like you had the following configuration and source databases:
SQL Server 2008 SP3 (ver 10.0...) - database engine
SQL Server Management Studio 2012 (ver 11.0...) - management tools
a database that was created with SQL Server 2012 (version 706)
As mentioned you could install SSMS for SQL Server 2008 (after you uninstall SSMS for SQL Server 2012). Then you would have to script your database for that version and re-run the script via 'Tasks>Script...', remembering to set the target server version as shown below.
After scripting you can then use the import/export wizard to export and then inport the data into the new (downgraded database), assuming the database had no 2012-only datatypes (such as sequences).
Another consideration is database compatibility level as shown below. You can have a SQL Server 2012 instance which hosts databases with various compatibility levels.
Using SELECT ##VERSION works very well for me. Your Database Engine is connected to a 2008 DB which certainly doesn't allow you to attach. Once I change my Database Engine to connect to 2012 DB, it works for me.
Check your Database Engine connection. You can be working on 2012 Management Studio yet connecting to 2008 DB. This is what happened to me and I have solved it use SELECT ##VERSION.

How do I remove duplicate SQL Server 2008 instances after upgrading from SQL Server 2005?

I've just upgraded an existing SQL Server 2005 to 2008 by running the installer (not the platform installer). It all seems to have worked - there were no errors reported and my code that connects to these databases still works fine.
The problem is, when I try installing SQL Server Management Studio Express 2008 I am shown the following error message when I select to add new features to an existing instance of SQL Server 2008:
The SQL Server instance 'SQL1MINUS102'
already has an Instance ID '2' that is
different than the specified Instance
ID 'SQL1MINUS102'. Specifying more
than one instance ID for the same SQL
Server instance is not supported.
Here is a screenshot of the installation dialog and the setup discovery report:
Screenshot
Notice that there are two instances with the same name. So any ideas how I should recifiy this so that I can install Management studio?
Thanks in advance
I found the answer, Reporting Services was installed on this box so I uninstalled that through Add/Remove Programs, then after a quick reboot the extra instance name was gone and I could continue to install Management Studio 2008.

Do I have both SQL Server 2005 and SQL Server 2008 installed?

When in 'SQL Server Configuration Manager' I see, under 'SQL Server Services', 2 items that look like SQL Server's:
SQL Server (sqlexpress)
SQL Server (mssqlserver)
Does that mean I have 2 versions installed at the same time? The 'SQL Server (mssqlserver) is currently stopped).
You have two instances. They might or might not be the same version (meaning 2005/2008).
Express is just an SKU / edition from the myriad of different editions.
You can have the same version or multiple versions/SKUs installed as different instances on the same machine.
So unless someone wittingly set up a new instance with the name "sqlexpress", you probably have two kinds of products installed (both can be 2008 or both can be 2005 or they can be different - it is just that one of them is presumably the Express SKU while the other is say Standard.)
You can get more information on the instances by using ##VERSION.
It looks like you got SQL Server Express installed with Visual Studio and then later installed SQL Server 2008. I've done this before and the best solution I found was to completely uninstall SQL Server Express and SQL Server 2008. Remove all the files in the Microsoft SQL Server directory in Program Files, then reinstall SQL Server 2008. If you still have problems getting the 2008 instance to be the default, you may also need to uninstall Visual Studio.
In the future, if you're going to install the development (or other) version of SQL Server locally, I suggest making sure you install it before Visual Studio. The VS install won't install SQL Server Express if it detects an existing SQL Server instance on the system.
BTW, you can verify if this is true by using the Add/Remove Programs Control Panel item.
SQLExpress is the light/free edition, usually used for developers or very lightweight applications.
MSSQLServer is the full blown SQL install.
So yes you have 2 "SQL Server" installs, but they are different products, I can't say which versions based on your provided data.
You have two SqlServer instances installed on your system. One is SqlServer Express Edition and the other one a Sql Server. I can't say which version or edition.
Maybe you can find some more information in the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft).
I'd vote against removing either one--SQL server does fine with multiple instances and they are good for different things. For example, lots of open source projects presume a local copy of sql express at .\SQLEXPRESS for development use. Whereas you can't write analysis service stuff with SQL Express.
Or, its not a problem. Those aren't the droids your looking for. Move along.

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.