Visual Studio 2012 Express for Web Publish Database? - sql

I need to deploy my database to a shared hosting enviroment and cannot use a file-based connection. The Database "Publish To Provider" option is not available anymore in VS2012 Express. I used to work with it in VS2010 and it was very handy. Is there any workaround to this in VS2012 Express? I know can use SQL Management Studio to generate the scripts but i'll have to attach the database for each project as i usually keep my databases in each project's App Data folder. There are also the SSDT but they don't work for VS express editions.
Thanks in advance.

Related

Make SQL Server compact 4 data connection with Visual Studio 2010 Express

I am trying to do a sql server compact 4 data connection with visual studo 2010 express but I have seen that it is not listed under data connection. Also SQL server compact toolbox here:
http://visualstudiogallery.msdn.microsoft.com/0e313dfd-be80-4afb-b5e9-6e74d369f7a1
when I try to install its says it is not compatible with this version of visual studio (2010 express) so Is there a way to do a data connection to a sql server compact 4? Also servers browsers does not appear in visual studio 2010 express. I want to use and embedded sql server compact in my asp.net mvc4 web application without the need to install any sql server in the machine.
I know that with visual studio 2010 ultimate it is possible, sql server compact 4 data connection can be done and servers browser also appear under view menu. Also I am not sure if with other versions of visual studio 2010,p.e, professional it can be done as well or only with the ultimate.
In conclusion, I want to use sql server compact data connection with my visuals studio 2010 express, is it possible?
Yes, it is possible, but you must you VS 2010 Visual Web Developer Express, and resolve any install isssues according to the blog here: http://blogs.msdn.com/b/sqlservercompact/archive/2011/03/15/sql-server-compact-4-0-tooling-support-in-visual-studio-2010-sp1-and-visual-web-developer-express-2010-sp1.aspx - you can also use the standalone version of the SQL Server Compact Toolbox to open 4.0 files.

Visual Studio checkin

Hello everyone I am trying TFS 2012 express on my home server (just to try) and everything is fine.
Source control on my c# solution works! However, I am unsure where the source code repository of my solution resides for TFS 2012 express?
Does a "Check in file" from the solution save "ONLY" on the Sql express database?
Can you please explain to me and suggest a good site for documentation relating to TFS 2012 express.
TFS 2012 Express stores your source control repository in a SQL Express database, which is installed locally during setup.
You can also sign up for Team Foundation Service which hosts your source control in the cloud. It is free just like the express desktop edition for up to 5 team members.
Here are several links you can use to learn more about TFS 2012:
Visual Studio Team Foundation Server Express 2012
MSDN Team Foundation Server2012

Visual Studio database project won't deploy to SQL Azure

I've ran into problem very similar to this. I have a .dbproj Visual Studio database project. It deploys just fine in SQL Server Express. Now I want to deploy it to SQL Azure - I change the connection parameters but deployment fails with the following text:
C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.TSqlTasks.targets(120,5): Error Deploy01234: The target database schema provider could not be determined. Deployment cannot continue.
Done executing task "SqlDeployTask" -- FAILED.
Is deploying .dbproj projects to SQL Azure supported? How do I make Visual Studio deploy the database into SQL Azure? What are other ways to achieve more or less the same results except recreating the database manually using Azure portal?
If you are using Visual Studio 2012, you can now create a Database project and go to Properties - set its Target Platform to SQL Azure in Project Settings tab. Also you can configure the setting for dacpac output. Use this file to import directly as a new SQL Azure database.
As far as I know, Database projects are still not supported by Windows Azure. You can deploy the project to a local SQL server and then use the "Generate Scripts" feature to port the database to SQL Azure. See this link.
An easy solution is to create the database locally and use the SQL Azure Migration Wizard to do the migration up to SQL Azure. It works very well in just a few clicks (and will fix common errors).
Database projects don't work with SQL Azure. What I do is before deploying, create a brand new database on local server (to ensure it is up to date with no dev scripts), and then sync that database to Azure with RedGate SQL Compare. I do a backup first with RedGate SQL Azure Backup.
When we first built DB projects, SQLAzure was still going through its identity crisis and didn't know what it wanted to be. ;)
DBProjects support a significant superset of capabilities vs. SQLAzure. Therefore, it's quite possible that it'll create scripts that won't run against SQLAzure.
I know that the team who took-over the DBProject tooling were looking at restricting the database project generators to output SQLAzure-compatible scripts, but I don't know how far they got or whether they decided to proceed.
I echo dunnry's suggestion above and use the SQL Azure Migration Wizard or Jeremy's and use SQL 2008 R2 and generate Azure-compatible scripts.

Biztalk vs SQL Server Integration Services

I took a training on BizTalk 2010 and found very help but I got very confused when i started reading about SQL Server Integration Services, so I have following questions;
Where to use BizTalk vs SSIS?
Does SSIS have VS 2010 project template like we have for BizTalk Server?
For SSIS development which IDE should be used, can we use VS 2010 or need to work in SQL Server Management Studio?
What are the shortcomings of SSIS that BizTalk overcomes?
I think the fundamental difference is that SSIS is designed to run at scheduled intervals or one-off batches. Biztalk is more real-time integration.
I don't know anything about Biztalk, but I do work with SSIS somewhat regularly.
2.Does SSIS have VS 2010 project template like we have for Biztalk Server?
Yep. In the SQL Server installer, install Business Intelligence Development Studio and Integration Services. That will add SSIS templates to Visual Studio.
3.For SSIS development which IDE should be used, can we use VS 2010 or need to work in SQL Server Management Studio?
Visual Studio or BIDS. BIDS is actually just a Visual Studio shell for SSIS, SSRS, and SSAS development. You can do server configuration and interact with the packages you've built from within SSMS, but you do your development in VS or BIDS.

Deploying a VB.net 2010 Win Forms application

I am deploying a VB.net 2010 winforms application, and when I install it on the client's machine, the install process also installs an instance of SQL Server 2005 Express. The application connects to a central SQL database on the server. To install, I am using the "Publish" option in VS 2010
Why does it do that? There should be no need for a local instance of SQL Express. Is there a way to avoid installing SQL 2005 Express (I know it is free, but I would rather not have it installed if possible)
It's likely that whatever technology you're using for packaging/deployment is including the installer for SQL. For the default setup project, I believe it is a checkbox for a pre-requisite.