Windows 10: Windows 10, SQLServer Express 2019, Excel 2016 import to SQLServer error...

Discus and support Windows 10, SQLServer Express 2019, Excel 2016 import to SQLServer error... in Windows 10 Customization to solve the problem; Apologies. This is likely not the right Category. Tips to fix this appreciated. Environment: Workstation: 16GB RAM. 500MB SSD Windows 10 Pro 64-bit... Discussion in 'Windows 10 Customization' started by WindowsRich, Jul 31, 2020.

  1. Windows 10, SQLServer Express 2019, Excel 2016 import to SQLServer error...


    Apologies. This is likely not the right Category. Tips to fix this appreciated.


    Environment:

    Workstation: 16GB RAM. 500MB SSD

    Windows 10 Pro 64-bit

    Microsoft Office 2010? 2016? Home/Student? Not sure how to tell exactly. Office reports the version as 18.2005.1191.0 ; Excel 2016

    SQLServer 2019 Express Edition Just installed 2 weeks ago.


    Not available on workstation though some supporting libraries may be present, e.g. .NET framework 3.5 && 4.8 for Windows 10:

    Visual Studio

    C# compiler

    etc.


    Task:

    Import a USA-state-government-supplied .csv converted by me to an Excel spreadsheet into SQLServer.

    The spreadsheet ~20 columns and ~500K rows of data to be imported into 1 fairly simple SQLServer table. No stored procedures. No constraints, 1 Primary Identity Key.

    Microsoft SQL Server Management Studio query windows limits an insert statement to 1,000 records/rows at a time. I did load 2,000 rows successfully. I do *not* want to break the Excel spreadsheet into 500 pieces to load the entire dataset. So, I thought it would be best to use the database Import and Export Wizard to load the spreadsheet.


    Error/roadblock steps to reproduce:

    Within Microsoft SQL Server Management Studio,

    I select the database.

    I select Tasks > Import Data ...

    I follow the wizard's prompts, selecting Data Source -> Microsoft Excel; Excel file path path to local spreadsheet file; Excel version -> Microsoft Excel 97-2003 or Microsoft Excel 2007-2010 or Microsoft Excel 2013 or Excel 2016; First row has column names; Next

    An error is displayed:

    TITLE: SQL Server Import and Export Wizard

    The operation could not be completed.
    ADDITIONAL INFORMATION:

    The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. System.Data


    How can I fix this? TIA



    Additional info:


    ODBC Data Source Administrator 64-bit Drivers tab has entries for

    Microsoft Excel Driver 16.00.4513.1000 ACEODBC.DLL

    SQL Server 10.00.18362.01 SQLSVRV32.DLL


    ODBC Data Source Administrator 32-bit Drivers tab has entries for

    Microsoft Excel Driver 10.00.18362.01 ODBCJT32.DLL

    SQL Server 10.00.18362.01 SQLSVRV32.DLL


    Finally -

    I saw this: datasavvy.me/2017/07/20/installing-the-microsoft-ace-oledb-12-0-provider-for-both-64-bit-and-32-bit-processing/

    I tried the steps for Option B, but they did not change my outcome.

    :)
     
    WindowsRich, Jul 31, 2020
    #1

  2. SQLServer 2016 AlwaysOn with SQL 2017 Secondary replica

    Your question is outside the scope of this Community.

    MSDN SQL Server Express

    Msdn forums - SQL Server Express

    TechNet SQL Server Express

    Technet forums - SQL Server Express

    TechNet SQL Server Forums.

    Technet forums - SQL Server

    "MSDN SQL Server Forums"

    Msdn forums - SQL Server

    TechNet Forums:

    https://social.technet.microsoft.com/Forums/en-US/home

    MSDN Forums:

    https://social.msdn.microsoft.com/Forums/en-US/home

    Cheers.
     
    Bill Smithers, Jul 31, 2020
    #2
  3. NReilingh Win User
    PowerShell SqlServer module only imports functions and aliases, but no cmdlets

    I am trying to use the SqlServer PowerShell module, available on the PowerShell Gallery.

    After installing, either to -Scope CurrentUser or in an admin session, doing Import-Module SqlServer only results in three commands being imported into the session:

    This is in spite of the fact that doing (Get-Module -Name SqlServer -ListAvailable)[0].ExportedCommands.Values lists out all of the commands that are supposed to be included:

    I tried installing an older version of the SqlServer module, as well as tried a different user account on my machine. Lots of reboots, new PS sessions, etc. Running Import-Module in verbose/debug mode doesn't throw any errors, it just imports only the function and aliases; none of the Cmdlets. The problem factor seems to be this particular Windows system, which is Windows 10 Pro 1803.

    It is also worth noting that I'm only trying to use this module because the sqlps module that comes installed with SQL Server Management Studio stopped working on this machine. I don't know why that was the case; my guess was relating to a Windows or SSMS update, but in order to get to the point here where at least the SqlServer module installs without errors and warnings about clobbering, I removed that module from my $PSModulePath. Something else that broke seemingly at the same time was that my WSMan TrustedHosts list was reset (to blank), causing issues with PowerShell remoting that I had solved previously (this machine is not domain-joined).

    How in the heck do I troubleshoot this?
     
    NReilingh, Jul 31, 2020
    #3
  4. Windows 10, SQLServer Express 2019, Excel 2016 import to SQLServer error...

    Bill Smithers, Jul 31, 2020
    #4
Thema:

Windows 10, SQLServer Express 2019, Excel 2016 import to SQLServer error...

Loading...
  1. Windows 10, SQLServer Express 2019, Excel 2016 import to SQLServer error... - Similar Threads - SQLServer Express 2019

  2. How to solve deadlock on SQLServer 2019 database with KEY and PAGE LOCK

    in Windows 10 Gaming
    How to solve deadlock on SQLServer 2019 database with KEY and PAGE LOCK: I've a lot of deadlock on the same object of a SQLServer database. I'm trying to solve the issue. /****** Object: Index [PK_M6.TBL_PDC_T] ******/ ALTER TABLE [dbo].[M6.TBL_PDC_T] ADD CONSTRAINT [PK_M6.TBL_PDC_T] PRIMARY KEY CLUSTERED [PDCT_CENTATT] ASC, [PDCT_DATACONS] ASC,...
  3. How to solve deadlock on SQLServer 2019 database with KEY and PAGE LOCK

    in Windows 10 Software and Apps
    How to solve deadlock on SQLServer 2019 database with KEY and PAGE LOCK: I've a lot of deadlock on the same object of a SQLServer database. I'm trying to solve the issue. /****** Object: Index [PK_M6.TBL_PDC_T] ******/ ALTER TABLE [dbo].[M6.TBL_PDC_T] ADD CONSTRAINT [PK_M6.TBL_PDC_T] PRIMARY KEY CLUSTERED [PDCT_CENTATT] ASC, [PDCT_DATACONS] ASC,...
  4. getting error while installing sqlserver 2012 standard edition 64 bit on window sqlserver 2019?

    in Windows 10 Gaming
    getting error while installing sqlserver 2012 standard edition 64 bit on window sqlserver 2019?: hi,i am installing sqlserver 2012 standard edition 64 bit. its getting error like sqlserver browser services and database engine serices failed by following error.The description for Event ID 1 from source SQLBrowser cannot be found. Either the component that raises this...
  5. getting error while installing sqlserver 2012 standard edition 64 bit on window sqlserver 2019?

    in Windows 10 Software and Apps
    getting error while installing sqlserver 2012 standard edition 64 bit on window sqlserver 2019?: hi,i am installing sqlserver 2012 standard edition 64 bit. its getting error like sqlserver browser services and database engine serices failed by following error.The description for Event ID 1 from source SQLBrowser cannot be found. Either the component that raises this...
  6. getting error while installing sqlserver 2012 standard edition 64 bit on window sqlserver 2019?

    in Windows 10 BSOD Crashes and Debugging
    getting error while installing sqlserver 2012 standard edition 64 bit on window sqlserver 2019?: hi,i am installing sqlserver 2012 standard edition 64 bit. its getting error like sqlserver browser services and database engine serices failed by following error.The description for Event ID 1 from source SQLBrowser cannot be found. Either the component that raises this...
  7. Excel 2016 - Windows 10

    in Windows 10 Software and Apps
    Excel 2016 - Windows 10: Hello & thank you for lending me your time and knowledge. It's such a silly question, I'm really quite embarrassed as I used to use this quite often.I have a row of letters typed up to the H. How do I auto-fill HORIZONTALLY? My data only wants to fill vertically, so obviously...
  8. Excel 2016 - Windows 10

    in Windows 10 Customization
    Excel 2016 - Windows 10: Hello & thank you for lending me your time and knowledge. It's such a silly question, I'm really quite embarrassed as I used to use this quite often.I have a row of letters typed up to the H. How do I auto-fill HORIZONTALLY? My data only wants to fill vertically, so obviously...
  9. SQLServer can not run

    in Windows 10 Software and Apps
    SQLServer can not run: [ATTACH] When I want to run my SQLServer management studio 18, then it hapends. Please help me. https://answers.microsoft.com/en-us/windows/forum/all/sqlserver-can-not-run/7165feff-4b42-4301-8f7c-32bc5f86f3bf
  10. SQLserver Compressed Folder Error On Lenovo Carbon X1 Gen7

    in Windows 10 Customization
    SQLserver Compressed Folder Error On Lenovo Carbon X1 Gen7: Hello, I had SQLserver on my laptop, but I kept getting folder access errors. I saved my Visual Studio project on OneDrive. Resetting the Lenovo lead to community editions stating can't save to compressed folder. Microsoft Onedrive5G that came with the laptop conflicted...