I was having some problems with SQL Server Express 2008 as for some reason I had several conflicting versions. I was told to go through and uninstall them, but I ended up installing all programs relating to SQL. Now, a previously functioning windows service on VS2010 no longer compiles as it is missing its SQLCE reference, and I can't re-add it as it's not in the GAC. How do I go about fixing this?
I think I'm a bit over my head with this task as I don't really have database experience. I need to take an .sql file and import it into Microsoft SQL Server Express 2008. Are there VERY beginner SQL tutorials to help me accomplish this?
If you end up having to uninstall all of it and reinstall, there is a specific order in which Visual Studio and SQL tools are best installed:
Visual Studio 2008
Visual Studio 2008 Service Pack 1
SQL Server 2008 or SQL Server 2008 R2
SQL Server 2008 Service Pack 1 or SQL Server 2008 R2 Service Pack 1
Visual Studio 2010
Visual Studio 2010 Service Pack 1
SQL Server 2012
Note that for the Express editions of SQL there is no separate Service Pack. The Service Pack is integrated with the Express edition installer.
I see from the comments that you're already trying a repair install. Make sure that you reinstall the approriate Service Pack(S) after you complete the repair.
Make sure you do some good searching before you post a question. I googled "import .sql file into sql server 2008" and came up with some good entries in the top ten.
How to import .sql file into SQL Server Express
Related
How do I open .rptproj in Visual Studio 2013 Pro? When I try to open SSRS projects originally created in VS2008, in VS2013 I get:
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
It can be opened with Microsoft SQL Server Data Tools - Business Intelligence for VS2013:
http://www.microsoft.com/en-us/download/details.aspx?id=42313
The download is live again as of 6/2/14
You should install Business Intelligence Studio, it comes as part of MS SQL Server installation.
Business Intelligence Development Studio (BIDS) — is a part of MS SQL Server. BIDS is a IDE for rdl reports development based on Visual Studio Shell. BIDS allows you to open .rptproj files. If you install BIDS on the same box with your regular Visual Studio, you will be able to open .rptproj and .csproj files from one IDE.
The issue is that SQL Server installations include BIDS based on previous version of Visual Studio Shell, i.e. SQL Server 2008 R2 will provide you BIDS integrated to Visual Studio 2008, while SQL Server 2012 BIDS will be based on Visual Studio 2010.
As far as I know, there is no BIDS that integrates into VS2013.
There is version for VS2012.
SQL Server 2014 will ship BIDS based on VS2012 as well.
I believe we will see BIDS for VS2013 not earlier than in SQL Server 2016.
SSRS is not a part of VS2013, it is part of SQL Server. You need the BI Dev Studio installed in order to be able to open SSRS projects (rptproj). It uses VS2013 just as a shell similar to what other products do...
For Visual Studio 2017 you need to download an install SSDT for VS 2017 (standalone installer) with SQL Server Reporting Services.
https://learn.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-2017
I have tried and searched a lot on internet but found no way of creating a database in Ms Visual Studio 2013.
I am learning basics in c#. I have SQL Server 2008 at bakend.
If you not only want to create a database, but plan longer development using Visual Studio, then create new project of database type (File -> New Project, then select Templates, Other Languages, SQL Server, SQL Server Database Project). You will be able to use favorite version control system, make database releases in form of DACPAC and BACPAC packages, easily create upgrade scripts, do schema compare and so on. This is included in Visual Studio 2013 and available as separate free addon for Visual Studio 2010 and 2012 (so called SQL Server Data Tools). Definitely take your time to acquaint with it.
This is new, developer-oriented way of professional database development. SQL Server Management Studio is more administrative tool than a full blown developer tool.
In VS 2013 go to New Project > Installed > Templates > Other Languages > SQL Server. There you can create a new Database Project and use that.
I have Visual Studio 2008 Business Intelligence version that was installed along with Reporting Services for SQL Server 2008 R2. I want to work with C#, but there are no options to create a C# project. I haven't been able to find any way to install a C# package or something.
Is there a way to add on C# functions, are they already built in but hidden, or should I just download a full version?
Thanks
UPDATE:
So I finally managed to find a download of Visual Studio 2008 Express, and installed the C# version. After installing I launched visual studio and it was the same thing, only the sql server projects came up as templates.
I found a forum that said to go into import and export settings and to reset my settings to general development settings, but I still cannot make a c# project.
UPDATE2:
I'm going to try installing VS 2012 Express to see if that works for me, since its the only download microsoft has that you can easily find now.
UPDATE3:
VS 2012 Express has been working just fine for me, and I still don't have the project templates in VS 2008 though.
You'll need to install one of the stand-alone editions of Visual Studio. Business Intelligence Studio, bundled with SQL Server, doesn't allow you to work with C# or other language projects.
SQL Server 2008 Business Intelligence Development Studio ("BIDS") is just an add-on over standard Visual Studio (VS 2008 in this case).
If you hadn't had Visual Studio installed before deploying BIDS, the most basic VS shell was installed along BIDS that does not allow you to work with projects other than the SQL Server BI family.
For you to work with .Net projects, despite being able to edit basic C# files already, you will need to reinstall any version of regular Visual Studio 2008 (e.g. licensed, express). This won't break your BIDS.
I'm looking to upgrade from the Express editions and I was wondering if Visual Studio Pro edition came with SQL server 2008 R2 developer edition.
Thanks.
Nope, you have to buy them separately, but you can work with SQL Express in the meantime.
Edit: I don't know why but SQL Server 2008 r2 Dev edition is just $47.99 on amazon.
and also SQL Server 2008 R2 Developer can easily be upgraded to SQL Server 2008 R2 Enterprise, web, standard etc., without reinstallation.
Edit 2: Ok, as #Infotekka says, YES it is included on the MSDN Subscription with some other software which comes in the purchase of VS2010 Pro :)
YES.
If you buy Visual Studio 2010 Professional with MSDN it comes with SQL Server 2008 Developer Edition, along with developer licenses for several other editions of SQL Server, Windows, and Windows Server.
This is the edition I bought and have sitting on my desk in front of me, it includes media for:
Visual Studio 2010 Professional
Windows 7 Ultimate
Windows Server 2008 R2 Standard
Microsoft SQL Server 2008 Developer
Again, those are developer licenses. You also have download access to ISOs for older versions of each though MSDN.
the Visual studio 2010 installation comes with the following: C#, Visual basic, C++ and sql server express 2008 R2 engine (you can customize the installation to only install 1 Language + SQLSR2). It does not come with the sql management tool though (given you can do almost everything from the VS main IDE)
If you need it, you can download the server management tool (any will work for any SQL Server Engine) and as stated before, upgrades are sequential withou need to reinstall.
The basic levels used to come with SQL Server Developer Edition. With SQL Server 2012 and above, these are no longer included in the Visual Studio Professional (MPN) level.
It appears that Microsoft would rather that Visual Studio developers target another platform.
While you can use the express edition if you start to debug client databases in excess of the 10GB limit you are stuck and will be unable to restore them.
I did a project with MS SQL Server CE that when installed in the 'costumer' machine just raises an unspecified excpetion.
Did some research and looks like I did everything mentioned. The dev env has sql compact 3.5 installed and sql tools for vs 2005. Using dotNet 3.5. But to make it run in de dev machine I need to add the sqlcese30, sqlceqp30, sqlceme and sqlcecompact30 dlls and its works fine.
The setup project put dotNet 2.0 as dependecy and I also added the dlls but it raises the exception and I cannot see where or what it is. Its just a single 'unspecified error' message.
please help :)
Have you tried using the SQL CE re-distributable installer on the customer machine?
You can add SQL CE 3.5 as a pre-requisite to the setup project. If it is not already in the list, copy the SQL Server Compact Edition directory from C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages to C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages and restart Visual Studio 2005.