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

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

Related

Azure SQL - error while importing the bacpac file

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.

Power BI unable to connect to SQL server

It was working at first but then I had this error when trying to connect to an SQL server via DirectQuery.
Edit:
According to this link, I should "run as administrator". Tried that and encountered this error:
In my case, make sure information in Default or Custom, Windows and Database sections are correct and run as administrator. This worked for me

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)?

files needed for deploying delphi 2010 with ms access 2007 and ado for database connection

I'm building database application with delphi 2010 in which the database i used is ms access 2007 and ado as the connection....
then, i used installshield express from delphi 7 to do the deployment....
i open the setup file in my computer and there is no problem with it..but when i open the setup file in client computer, there is some error...
what makes me confused is what files needed to be added in the setup file for the deployment?
i've installed mdac 2.8 sp1 in the client, but it's still not working...
the error messages i got are : [microsoft][ODBC MIcrosoft Access Driver] general error unable to open registry key temporary (volatile) Ace DSN for process 0x16c8 thread 0x628 DBC 0x 3dc7eec
[micorsoft][ODBC Driver Manager] Data source name not found and no default driver specified..
then, when i try to another client computer, the error message i got are: [Microsoft][ODBC Microsoft Access Driver]'(Unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides
Exception EOle Exception in module 'module_name'.exe at 001A26AC
that's all the error messages i got... any clues?
Are you using the ACCDB format files? If so the version of ADO that comes with Windows knows nothing about that file format. You will need to install 2007 Office System Driver: Data Connectivity Components I would suggest using an MDB format file unless you are using some of the Access 2007 specific features as ADO knows all about MDB format.
It's very doubtful you'd need to install MDAC on the client system so long as it's Windows XP SP3 or newer. Windows XP SP2 installed MDAC 2.8 SP1. So don't much with the ADO version. For some information on how ADO works at the version level see I've never quite trusted ADO because … That article is written from the Access perspective but should give you some useful information on ADO versioning.
Perhaps the ADO connection component in your app has it's Active property set to true, or is set to true on startup, but the connection string is not valid on client machines as opposed to your dev machine? In this case you would receive a connnection error.
Without the error message it's hard to tell as jachguate says, but theoretically you should not need anything additional to deploy it according to the information you have provided.
As already said, without more information, it's hard to tell.
Please read and follow the advices on writing a good question by Jon Skeet.
It will boost your chances of getting an actionable answer...
Three basic things you need for connecting to Access:
the Data access layer: you should have it covered with installing MDAC.
the DB itself: either you create it from your application or the DB must already exist on the target machine. If not, you must deploy the DB files.
the connection to the DB: you must ensure the ConnectionString is valid for the target machine and you don't try to connect or activate any dataset before it is checked.
This is working now.
I installed 2007 Office System Driver: Data Connectivity Components as Tony recommended, then I also added midas.dll to system32 on the client computer.

Resources