none
Microsoft.ACE.OLEDB.16.0 RRS feed

  • שאלה

  • היי ,

    אני מנסה להטעין נתונים  מקובץ xsl 2016דרך wizard import.

    עולה לי שיגאה -

    TITLE: SQL Server Import and Export Wizard
    ------------------------------
    The operation could not be completed.
    ------------------------------
    ADDITIONAL INFORMATION:

    ספק 'Microsoft.ACE.OLEDB.16.0' אינו רשום במחשב המקומי. (System.Data).

    ניסיתי לפתור את הבעיה לפי ההדרכה בקישור - https://social.msdn.microsoft.com/Forums/sqlserver/en-US/8526569d-c500-4c6d-9d9c-6c259fc6ce0e/microsoftaceoledb160?forum=sqlgetstarted

    את החלק האחרון לא הצלחתי

    SELECT * 
    INTO [Table_name]
    FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0',
    'Excel 12.0; Database=[xlsx_filename]; HDR=YES; IMEX=1',
    'SELECT * FROM [Sheet_name$]') 
    GO

    השגיאה שהתקבלה -

    Msg 7399, Level 16, State 1, Line 1
    The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" reported an error. The provider did not give any information about the error.
    Msg 7303, Level 16, State 1, Line 1
    Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)".
    

    אודה לעזרתם

    תודה ,

    Ariel Shukrun

    יום חמישי 09 מרץ 2017 10:15

תשובות

  • אהלן אריק

    ההודעה יכולה להיות תוצאה של קובץ פתוח. תוודא שאתהלא עובד עם הקובץ בזמן שאתה מנסה להתחבר אליו.

    בינתיים במקביל, בוא נתחיל לבדוק שנעשו ההגדרות הנכונות. אנא הרץ את השאילתות הבאות ותביא לנו את התוצאות

    Exec sp_configure 'Ad Hoc Distributed Queries'
    GO
    
    
    -- Executing the stored procedure sp_MSset_oledb_prop without parameters
    -- will return a table of the available providers and their options:
    EXEC sp_MSset_oledb_prop
    GO
    
    


    signature   Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]    [Linkedin]


    יום ראשון 12 מרץ 2017 19:07
    מנחה דיון