Azure SQL - error while importing the bacpac file - sql-server

I am trying to import a bacpac file into the Azure SQL server, however the import is not happening and it is also not giving any explicit error in the process.
If I check under deployments in the resource group, it gives the below failure message:
Performs a database extension operation - Failed
Apart from this there is no explicit failure message that can indicate what went wrong.
Also, "No Import/Export history is available" is coming under Import/Export history for the Azure SQL server.

From Microsoft document,
There is certain limitation when you import database using BACPAC file.
Elastic pool doesn't enable you to import databases.
When Allow access to Azure services is set to OFF, Import-Export Service is unavailable.
As you are not getting what is exact error causing the problem, you can raise support ticket to Microsoft from here for more assistance on this.

Related

SSIS Power query connection manager error

I install SQL Server Connector for Power Query for SQL server 2017. Create SSDT SSIS package with power query connector. It works perfect in SSDT! But when I deploy project to SSIS catalog, I get an error:
Credentials are required to connect web source.
Package:Error: The data protection operation was unsuccessful. This may have been caused by not having the user profile loaded for the current thread's user context, which may be the case when the thread is impersonating.
Moreover, when I import this package from SSIS catalog to new project, power query connection manager go away from project with error:
The connection "{EFC6889A-D312-4A9E-B251-877C7A67B8DF}" is not found.
This error is thrown by Connections collection when the specific connection element is not found.
Solved!!! In SSDT I used my own login. But in SSIS catalog used SSIS proxy account that don't have access to web.
After granting access to web to SSIS proxy account it works!
If you met same error just try to run SSDT under proxy account and check web access in data source manager :)

SSMA "Required mdb-file $accessFileName is not loaded"

Hello Stackoverflow this is my first time here so please be easy on me.
I am trying to use a SSMA (SQL Server Migration Assistant) to import a .accdb Microsoft access file type to a SQL server. However when I try to import the file I get an error that says
Required mdb-file $fileName is not loaded
I know .mdb is the file type of access <=2007 however I am using access 2016. I am told that SSMA is the best way to import a .accdb over to a SQL server but can I if it needs to be a .mdb?
If I can import a .accdb using an SSMA what am I doing wrong to get this error and if I can't what program should I be using to do the import?
I have fixed the issue by installing Access runtime even with the full version of access on the computer it still needed runtime for external programs to use apparently

Cannot import data from Access to MS SQL Server

I am trying to migrate a vb.NET project from an MS Access database to MS SQL Server, and have been following a tutorial I found here to do so. I did this, but got a problem where I could read data from the SQL Server database when running my project, but could not insert/edit data using the project.
Any data I tried to manipulate only worked on the Access database, and didn't have any affect on the SQL Server data (I also tried vice-versa, adding data using SQL Server but this couldn't been seen in my project).
So I decided to try again, deleting the Access and SQL Server databases, and using the backup database to import the data from. However, this now is not working, and I'm getting the following error message
Error 0xc020801c: Source - ~TMPCLP123581 1: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
(SQL Server Import and Export Wizard)
Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)
Does anybody know a fix for this? Or why I can no longer import data into SQL Server? (The image below shows the result of what processes were/weren't carried out)
I've fixed the issue now, guys.
I migrated it over using Microsoft SQL Server Migration Assistant for Access, and then changed the connection path and settings in my .ini file.
Then I created a new connection string, using string variables for each of the settings in the .ini file, and this replaced the initial Access database connection string.

Excel to SQL Server - server error

I have a problem. I am trying to local export from excel to .mdf (SQL Server), and I keep getting this error:
[DBNETLIB][ConnectionOpen (Connect()).] SQL Server does not exist or access denied.
I searched different articles, and I tried everything. I installed again my SQL Server, but it still doesn't work. I checked Configuration Manager, but everything looks fine. Does anyane have any idea what else can cause it?
The error explains that you did not specify the right database name, or the right ODBC name, or if you did you did not specify the right user/pwd combination to get access. You would need to get into those details to find the solution.
Did you try to import Excel from MS-SQLserver, which requires no configuration, and has no authorisation limiations (unless hte excel file is encrypted)?

Visual Studio DB GDR2 - Can I deploy to a File without SysAdmin Privleges?

I have a Data Solution that has a Database Project and a Server Project.
I want to deploy to an SQL Script. I don't want to have to have SysAdmin privileges on the SQL Server (SQL 2008).
Is there a way to do this? I really don't want to set any settings or upload any server level stuff. I only have the server project because my DB project needed it to compile.
I just want an SQL Script of the things that are not on the server for my database.
This is my current error message:
MyDB.dbschema(0,0)Error UNDEFINED00000: The user does not have permission to perform this action.
MyDB.dbschema(0,0)Error TSD01234: Failed to import target model MyDatabaseOnServer. Detailed message A fatal error occurred while the model was being imported.
Done executing task "SqlDeployTask" -- FAILED.
Done building target "DspDeploy" in project "MyDB.dbproj" -- FAILED.
Thanks for any help...
The permissions are allegedly spelled out here, but I ran into this problem and couldn't for the life of me configure the correct permissions following these instructions. I ended up going the sysadmin permissions route.

Resources