I created a database with SQL Server Management Studio 2008 then I copied the .mdf file to my Visual Studio 2012 project but I'm getting compatibility errors. Is it possible to do it in this way?
I tried to add connection to server explorer but I'm getting the error below:
I think it is because of I copied the .mdf file but I'm not sure.
Why I want to add specific SQL Server 2008 .mdf file is because I want to run my code also in Windows XP and I found that XP supports only SQL Server 2008.
So what should I do in this case?
Any advice?
Thanks
Related
I have installed SQL Server 2008 Express on my machine but I can't find the Management Studio.
I downloaded two versions of SQL Server Management Studio, 2008 and R2
This is the result
I don't know what is exactly the problem, on my machine I have VS2008, VS2010 and VS2012 express for web.
I googled about this topic and i installed the SP1 package.
I had SQL Server 2005 with its management tool and it worked very well, but now I need to change to the 2008's version, I don't know if I made an error when I uninstalled one of them.
So :
What is the reason of this error?
How can i fix this problem?
I just upgraded from SQL Server 2008 R2 to SQL Server 2012 but, when opening SQL Server Management Studio and check for the server edition (Help | About) it still shows 2008 R2.
The upgrade seemed to work ok, but do I have to reinstall SQL Server 2012?
Help > About just shows the version of Management Studio, not SQL Server. Just like Help > About in Word shows the version of Word, not the version of Windows.
Connect to the server and check SELECT ##VERSION;. Also check the SQL Server 2012 program folder; you should be using a new version of Management Studio found there. Should be something like:
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe
SQL Server 2012 built a brand new version of Management Studio, and as such, unlike when upgrading from 2005 to 2008 or 2008 R2, it allows you to keep the old version of SSMS side-by-side. But really you should be using the newer version of the client tools in almost all cases.
I want to get a MS SQL database from SQL Server 2008 R2 to an MDF to use locally in a program. I detached the DB and manually copied the MDF, but whenever I try to open it up in VS, I get an error that it cannot be opened because it is version 661. I received the data as a CSV, used Access to import it and exported it to a local SQL implementation. Most importantly, what am I doing wrong?
Also, I was wondering if there is a more efficient way to create an MDF file from a CSV?
Thanks!
Spencer
Well, as I said - the basic approach is OK - detach the MDF, copy the file, open it as a local database in Visual Studio.
BUT: it would appear that you're trying to use a SQL Server 2008 R2 MDF file, but the SQL Server version that Visual Studio 2010 supports/installs is SQL Server 2008 Express.
You cannot go from a newer SQL Server version (2008 R2) back to an older version (SQL Server 2008) - this is not supported.
One possible way to solve this would be to explicitly uninstall SQL Server 2008 Express that Visual Studio 2010 installed, download the SQL Server 2008 R2 Express version from Microsoft's web site and install it (as the .\SQLExpress instance, as did Visual Studio).
Once you have the same version of SQL Server - both on your main server as well as from within Visual Studio, then you should be able to achieve what you're looking for.
Problem:
-- I have a VS 2005 Report Server project with many reports.
-- I moved it to a new computer with SQL Server 2008 and VS 2005 and 2010 installed.
-- I was able to port the 2005 Report Server over OK (it's still 2005 even though the server is 2008), but now I can't open up my old project in VS 2005.
As I understand it, it's because SQL Server 2005 is not installed, which would have installed the Report Server Project template in VS 2005. SQL Server 2008 uses a different type of report project template.
So my question is: is it possible to get this template from somewhere else, other than from SQL Server 2005? For example, the Visual Studio 2005 on my old computer has this template installed. Is it possible to export it in some way? Or can I download it from the web somewhere?
I really need to be able to open this project!
I don't believe so, you'd need to install the Visual Studio 2005 Business Intelligence Designer Studio (BIDS) that came on the SQL Server 2005 install.
If you're a masochist and you sound desperate enough, you can download Report Builder 1.0 and use it to edit your reports. If you've watched the Harry Potter flicks, the 1.0 version of that app is a Dementor and prepare to have the joy sucked out of your life if you have to use the tool for very long. You can browse to your reporting server instance http://myserver/Reports/ (assuming default install) and there will be a Report Builder link there which runs a clickOnce non-install. MS does not supply a local install of the tool as they have with 2.0 and 3.0
Alright I know there is a lot on here about this, but I haven't gotten the information nor the answer.
I have Visual Studio 2008 and Visual Studio 2005. (I want to keep using 2008)
I have Microsoft SQL Server 2005. (Without BIDS)
Which version of BIDS should I get. If I get BIDS 2008 will it work even though I use SQL 2005.
BIDS 2008 can connect to databases of earlier versions. The question is where are you going to run the packages from if you don't have at least one 2008 server? I've not tried to schedule a 2008 package on a 2005 server, but I suspect it can't be done.
Basically, you have to have VS2005 and VS2008 Running side by side aka both installed on the computer along with BIDS for each. Luckily, hard drives are huge these days.
i found this link that actually had the answer which was:
I think what I was bascially asking is that, If I install visual studio 2008, and lets say I already had visual 2005 installed, then to create a business intellijance project I must install interation service for 2008. Integration service from 2005 is not going to work on visual studio 2008 is what it seems like.
That's correct. To create SSIS packages for SQL Server 2008 you will need to use Visual Studio 2008 with the SSIS project template that is installed when you install the SSIS components. You cannot use Visual Studio 2005 to create SSIS 2008 packages, nor can you use Visual Studio 2008 to create SSIS 2005 packages.
msdn