i am using microsoft visual studio 2010 professional for my project and involves using database,last summer it was working perfectly,on testing my project now i get an error saying the SQL Server needs to be updated, can i please get help on how to update it please?
Updates to SQL Server and Visual Studio are done through Windows Updates.
Run it and it will tell you what updates you need to install.
Related
Ive been working on some stuff with Visual Studio 2008, and SQL 2008 aswell..
Then i opened the project on another computer with 2012 version.
And now when im trying to work with the files in 2008 again, i cant open my database.mdf, becouse the 2012 sql has upgraded my database file...
Anything i can do to save it?
(Btw. the data aint that important, but more the whole table setup and relations)
Install 2012 SQL Server Express with Management tools, attach the MDF and extract the schema by generating "create" scripts for the objects you want using the wizard, then re-run the scripts on the new 2008 DB, don't think there's a way to downgrade. See here.
Or you can just keep developing on top of SQL2012, shouldn't be a problem even if you use visual studio 2008.
Were I work we are currently using visual studio 2008 because 2010 did not include the bids stuff, I have now been asked to test out whether 2012 is any better so we have a virtual machine that I've been allowed to work on and we've got visual studio 2012 and 2012 integration services installed on it.
I tried to open one of our solutions which has various report projects in it. When I do this I get a one way upgrade option which I chose and then I get the following:
Projectname.rptproj: The application which this project type is based on was not found. Please try this link for further information: link
This link doesn't work properly and I can't seem to find very much on this for visual studio 2012 am I missing something here? Thanks in advance for any help.
Microsoft has recently released the tools necessary to open and create .rptproj projects in VS2012: Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012
According to this, it appears that you have to install the client tools for VS2012 (from the SQL2012 installer) in order to get the BIDS bits. Incidentally, installing VS2012 client tools will apparently update both VS2010 and VS2012.
The problem I have is that I'm unable to open my mdf file in Visual Studio 2010. I installed VS2010 along time ago, but just installed SQL server 2008 R2 few days ago.
I made the file in VS2010 and then attach it to SQL server in Management Studio to run a script I have to create all tables and such.
I then detach it in Management Studio and try to view it in VS2010 and get an error telling me that I cannot open database version 661. I can only go as high as 655.
I know this is because VS2010 is using SQL server 2008, but Management Studio is SQL Server 2008 R2.
How can I make VS2010 compatible with SQL Server 2008 R2?
You simply need to upgrade the local version 2008 Express to R2. You'd be able to open your file after that.
I had this problem too, but my problem was solved when I did this:
When you are opening SQL Server Managemnt Studio, in the connect to server window, type "\SQLEXPRESS" after the server name (your server name\SQLEXPRESS), then attach your database. When you detach it, it is compatible with VS2010. I hope this helps you.
Every time I try to create a new SQL Server 2005 server project I get this error. Then after I hit ok Visual Studio 2010 crashes.
Could not load file or assembly
'System.Data.SqlServerCe, Version
3.5.1.0, Culture=neutrail, PublicKeyToke=89845dcd908080cc91' or
one of it dependencies. The system
cannot find the file specified
Why can't it load this file?
Perform a repair install of VS2010.
In the end I had to do a restore to solve this problem. Not sure what happened but a restore fixed it.
When I try to build a project in Visual Studio 2005 that has a .dtproj file, I get the error message:
Make sure the application for the project type (.dtproj) is installed.
This project was build on another system, but even after installing SQL Server 2005 & and SQL SP3, it still does not build.
You need to install the Business Intelligence Studio that is a part of the SQL Server Installation.
You may be missing development tools from your installation of SQL Server.
On my workstation at work I have VS.NET 2005, 2008 and 2010 loaded and needed to modify a package created in a 2005 environment. I only had SQL Server 2008 installed and therefore the BIDS environment for 2008 SSIS development. I had to go back and get the install for SQL Server 2005 and installed only the Integration Services component (instead of the entire SQL Server 2005 setup) and it resolved the issue mentioned above.