database-project

Update target button is disabled after schema comparison

三世轮回 提交于 2019-11-28 08:53:45
I have created database project using VS 2012. Once the schema comparison is done, the update target button should be enabled to sync with target. But it's not getting enabled. Any help plz. I'm using VS 2012 with sp 3, SQL Server 2012, Check in Error List if you have any error, I have a non recognized word in VS (but it does in SQL Server), I commented it out, re-compared and it was enabled successfully. See if you have a "warning" message stating "Cannot generate deployment plan due to an internal error". If so, the Update and Generate Script buttons will be disabled. Close Visual Studio,

'Incorrect SET Options' Error When Building Database Project

丶灬走出姿态 提交于 2019-11-27 13:53:05
We are using Visual Studio and a database project to generate our database. I just made a number of database changes (including adding a new table named Correspondence ) imported those changes into the database project, and attempted to deploy (rebuild) the database. When I do, I get the following error: Creating [dbo].[Correspondence]... Msg 1934, Level 16, State 1, Server (Server Name), Line 1 CREATE TABLE failed because the following SET options have incorrect settings : 'ANSI_WARNINGS, ANSI_PADDING'. Verify that SET options are correct for use with indexed views and/or indexes on computed

Visual Studio 2013: Database Project MSBuild error

点点圈 提交于 2019-11-27 11:50:41
问题 I've got a database project as part of my solution in Visual Studio 2013. Been working perfectly for the last 3 weeks and now suddenly today it won't build and so I cannot publish any changes. I'm getting an MSBuild error: "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets(513,5): Error: MSB4018: The "SqlBuildTask" task failed unexpectedly. System.MethodAccessException: Attempt by method 'Microsoft.Data.Tools.Schema.Sql.Build

VS2013 Database Project fails to build

前提是你 提交于 2019-11-27 11:25:23
问题 I created a new SQL Server Database Project in VS2013 (Update 3) and attempted to build but it fails. The only build output I receive follows: ------ Build started: Project: Database1, Configuration: Debug Any CPU ------ Creating a model to represent the project... Done building project "Database1.sqlproj" -- FAILED. Build FAILED. ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ========== If I build the project via MSBuild.exe with detail verbosity I see the following inner

Visual Studio 2015 Database Project directory contains a file with extension jfm

情到浓时终转凉″ 提交于 2019-11-27 06:14:39
Assuming we have a database project called MyDatabase then a file called MyDatabase.jfm appears in the root of the project directory. It is exclusively locked while the project is open in Visual Studio It is a binary file It has only started appearing recently (past couple of days) I have done a Google search, which has not offered any insight. There are some references to some old software, but most of the results are spam/trojanware. I have also looked in SO, but that has not produced any results either. Does anyone know what it is and why it's there? The plan is to add it to the gitignore

Visual Studio 2015 Database Project directory contains a file with extension jfm

落爺英雄遲暮 提交于 2019-11-26 10:17:18
问题 Assuming we have a database project called MyDatabase then a file called MyDatabase.jfm appears in the root of the project directory. It is exclusively locked while the project is open in Visual Studio It is a binary file It has only started appearing recently (past couple of days) I have done a Google search, which has not offered any insight. There are some references to some old software, but most of the results are spam/trojanware. I have also looked in SO, but that has not produced any