Unable to import BACPAC from SQL Azure into SQL Server 2014 - sql-server

I get the message below when attempting to import my database from SQL Azure. I believe this is following the upgrade to V12.
I have just installed SQL Server 2014 SP1 but it doesn't appear to have solved the issue. Current version of SQL Server Management Studio is:
12.0.4100.1
Any help most appreciated!!
TITLE: Microsoft SQL Server Management Studio
Could not load schema model from package. (Microsoft.SqlServer.Dac)
ADDITIONAL INFORMATION:
The Element or Annotation class SqlDatabaseOptions does not contain the Property class QueryStoreStaleQueryThreshold. (Microsoft.Data.Tools.Schema.Sql)
BUTTONS:
OK

Related

SQL Server Migration Assistant - How to migrate access to SQL Server 2008 r2?

I'm trying to migrate our Access Database to a database on SQL Server 2008 R2.
When I try to migrate it, I get an error message:
You cannot connect to an older version (SQL Server 2008) of target SQL Server from a higher version SSMA project (Project type = SQL Server 2014)
I downloaded and did a 'Typical' installation of 'Microsoft SQL Server Migration Assistant v5.3 for Access' but when it loads, I get the loading screen for a brief second that says 'Microsoft SQL Server 2014' and then the Migration Assistant loads.
I try and migrate my databases but at the end, I get the above error message.
I have MS Sql Server 2014 Management Studio installed on my computer. Perhaps, the migration assistant is using the native engine to load the Migration Assistant? Anyone have any ideas how to fix this?
During the migration, you get a screen where you can specify the Migration name and the path for the Migration Project. In that same window, there is another drop-down where you can specify what you would like to migrate to. The choices are SQL Server 2014, 2012, 2008 and 2005.
I selected 2008 from the drop-down in the 'Migrate To:' field and clicked on Next.
Migration was eventually successfully completed.

How to publish a database from SQL Server 2014 using .PublishSettings?

I have downloaded a publishing profile :
mysite.azurewebsites.net.PublishSettings
I used
Deploy Database to a Window Azure...
from SQL Server 2014 and publish a database, but I am getting the exception as below :
Failed to import
C:\Users\thuat.nguyen\Downloads\mysite.azurewebsites.net.PublishSettings
publish settings profile. (Microsoft SQL Server Management Studio)
was not expected. (Microsoft.GeneratedCode)
Program Location:
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderPublishData.Read5_PublishData()
How I can fix this ?

SQL Server 2008 R2 Management Studio errors

I had SQL Server 2005 installed on my system. Then I installed SQL Server 2008 R2 also.
Now when I open SQL Server 2008 R2 Management Studio I get two messages.
(1) You can import customized user settings from SQL Server 2005 Management Studio. Be aware that some default settings might be changed after you import your customized user settings. Do you want to import your customized user settings from SQL Server 2005 Management Studio
(2)There are SQL Server 2005 Management Studio registered services on this system. Do you want to add them into Microsoft SQL Server Management Studio? Adding The Server registration information has no effect on the servers themselves.
What I should answer to this messages? Yes or No? Please help. I am trying to install Sharepoint Server 2013 Server on my system. But there is an error when I ran Products configuration wizard.
Failed to create sample data. An exception of type
System.Null.Reference Exception was thrown.
Does the error in SQL server Management Studio have anything to do with this error?
1st Sql is warning you that you have prev users that are created in the old sql server 2005 instance.
And asking you if you wish to migrate those users to the new sql 2008 instance.
if you would like to login with the same users that you used to use in the old sql then press yes other wise neglect the dialog and create your new users in the new sql server.

SQL Server - Fails to import Data-Tier Application from SQL Azure

I'm attempting to import a database to my local SQL Server 2012 instance from SQL Azure using the "Import Data-Tier Application" wizard.
I simply exported the database to blob storage, then downloaded the file and then selected to import the database.
This fails each time with the error message below:
The error is occurring because it seems to want to create a DEFAULT constraint twice. Has anyone else had this issue?
I got the same error and solved it by installing the preview version of SQL 2016 SQL Management Studio.

Couldn't open SQL Server database view on my machine

I have a problem while running SQL Server 2012 on my machine.
I installed SQL Server 2012 on my machine but just show it
SQL Server Configuration icon
Import and export data icon
SQL Server installation icon
SQL Server Error and usage icon.
There I can't see SQL Server 2012 Management Studio icon, so I wasn't able to view the database and tables in it.
Please guide me to fix it.
Have you install Sql Server Management Studio 2012? You have to install it.
You can download the management tools from the below link
Microsoft SQL Server SP 1
Select only SQLManagementStudio_x64_ENU.exe or SQLManagementStudio_x86_ENU.exe from the download options.

Resources