Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "Excel_Test"

Here,
I have created a Linked Server Called Excel_Test And its working fine ( For Retrieving data from excel to Sql Server Database Table ) ...
I have written a Stored Procedure for inserting data , When i Execute that stored procedure it is inserting data to Table Which i have
given.
And the data which is in table should be shown in the application,
But, Am getting the following error.
Cannot
initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "Excel_Test".
 Please help me on this.
 Thanks in Advance....

Even am able to retrieve the data from Sql Server management studio.
The same retrieved data should be shown in the application (Dashbord).
Query : Select * from OpenQuery(Excel_Test,'Select * from [Sheet1$]')
Am getting the output excatly the data in the excel sheet.
But when am opening that application where the above data should be shown am getting the below error.
Cannot
initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "Excel_Test".
 Is this error is because of problem in Dot Net Coding or in the linked server.
Thanks in Advance.....

Similar Messages

  • Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "database name".

    I have an application which has linked servers to mdb databases on Sql Server. Development machines which have access to full version of Office can intialise the data source as expected, however, machines using the Office 2010 runtime throw the above exception.
    Have checked the HKEY_CLASSES_ROOT\Microsoft.ACE.OleDb.12.0\CLSID which has value {3BE7860-0366-4F5C-9434-25CF162E475E} as expected, however that CLSID cannot be found in HKEY_CLASSES_ROOT\CLSID on the machines using the runtime.
    How can I ensure PCs using the 2010 runtime can access the linked server(s).

    To add a login, execute this procedure:
    sp_addlinkedsrvlogin
    See some examples here:
    http://msdn.microsoft.com/en-us/library/ms189811.aspx

  • Microsoft Access Text Driver missing! and ...Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".

    In order to use OpenRowSet, I installded Microsoft Access Database Engine 2010. However, I could not find Microsoft Access Text Driver in Drivers of ODBC Data Source Administrator.  Could I get some help with that?
    Thank you very much!

    I am local admin and try to run the following script, but I got an error. Could anyone help me look at it?
    EXEC sp_configure 'show advanced options', 1
    go
    RECONFIGURE
    GO
    EXEC sp_configure 'ad hoc distributed queries', 1
    go
    RECONFIGURE
    GO
    SELECT * FROM OPENROWSET('MSDASQL',
    'Driver={Microsoft Access Text Driver (*.txt, *.csv)};
    DefaultDir=D:\;','SELECT * FROM Test.csv')
    Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.
    Configuration option 'Ad Hoc Distributed Queries' changed from 1 to 1. Run the RECONFIGURE statement to install.
    OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".
    Msg 7303, Level 16, State 1, Line 1
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".

  • Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracl

    I have created a linked server in a SQL Server 2005 connecting to either an Oracle Database and a SQL Server 6.5 database and getting the following error for both links when trying to query using provider OraOLEDB.Oracle, please help.
    OLE DB provider "OraOLEDB.Oracle" for linked server "finprod3" returned message "ORA-12154: TNS:could not resolve the connect identifier specified".
    Msg 7303, Level 16, State 1, Line 1
    Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "finprod3".

    What version of Oracle client software are you using? 32 bit or 64 bit? Is the OS 32 bit or 64 bit?
    12154 generally means the client can't figure out what TNSNames.ora entry you're referring to, which is the part you passed as "data source" in the oledb connection. Did you configure the client? Does SQLPlus connect without issue?
    There's also a known issue where running 32 bit client software on a 64 bit OS can result in that error in some versions, due to parenthesis in the path of the executable - 32 bit apps go in Program Files (x86) on a 64 bit OS. Applying the latest patch level to the client software will resolve that issue.
    Greg

  • OLE DB provider "Microsoft.ACE.OLEDB.15.0" for linked server "(null)" does not support the required transaction interface

    Hi All,
    I am trying to execute a stored procedure and store its result in an excel.
    My query to execute stored proc and store sresults in excel
    INSERT INTO
    openrowset('Microsoft.ACE.OLEDB.15.0',
    'Excel 8.0;Database=C:\TC\DataAnalysisFiles\DataAnalysisResult.xls;OLE DB Services=-4','select * from [Sheet1$]')
    EXEC UspUnitTest_Test_CheckDuplicateModelNumberSerialNumber
    I am getting error
    The requested operation could not be performed because OLE DB provider "Microsoft.ACE.OLEDB.15.0" for linked server "(null)" does not support the required transaction interface.
    I have enabled below things by running scripts
    sp_configure 'show advanced options', 1;
    GO
    RECONFIGURE;
    GO
    sp_configure 'Ad Hoc Distributed Queries', 1;
    GO
    RECONFIGURE;
    GO
    EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.15.0', N'AllowInProcess', 1
     GO
     EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.15.0', N'DynamicParameters', 1
     GO
    Please help and let me know if this can be resolved
    Supriya Thigale

    because OLE DB provider "Microsoft.ACE.OLEDB.15.0" for linked server "(null)" does not support the
    required transaction interface.
    Hello,
    When you insert data from SQL Server into a linked server, then a distributed transaction should be started and here it seems this fails.
    See
    Distributed Transactions (Database Engine) for more Details +
    Distributed Queries
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Cannot create an instance of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)"

    Windows Server 2008
    SQL Express 2012
    Tried opening a .csv and a .xls file, without success. File is located on the local server and not somewhere else.
    I know, I know, the forums are full of this error message. But sometimes when you follow all of the rules, stuff still happens, or in this case Doesn't happen.
    I installed the proper ACE drivers (64 bit) and reconfigured SQL Server to allow Ad Hoc Queries. Hell I even rebooted the server after the install.
    I have successfully installed these drivers on several machines (work stations and servers), and all have worked just fine. So, I am at a loss as to why it won't work on this system. I might have forgotten some obscure setting, but I don't think so.
    Ted

    Registry fix was also tried?
    EXEC sp_MSSet_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'AllowInProcess', 1
    GO
    EXEC sp_MSSet_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'DynamicParameters', 1
    GO

  • OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" returned message "Unspecified error".

    I am trying to execute this Select against my excel file
    SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0; HDR=NO; IMEX=1; Database=C:\Temp\test.xlsx', 'SELECT * FROM [Sheet1$]')
    I have followed every single step according to this article here
    http://visakhm.blogspot.ca/2013/12/how-to-solve-microsoftaceoledb120-error.html
    but still getting the same error as metioned in the title. Can anyone suggest what else could be wrong?
    The environment is SQL 2005 64 bit with Office 64 Bit drivers (Access 64 bit engine installed)

    I am trying to execute this Select against my excel file
    SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0; HDR=NO; IMEX=1; Database=C:\Temp\test.xlsx', 'SELECT * FROM [Sheet1$]')
    I have followed every single step according to this article here
    http://visakhm.blogspot.ca/2013/12/how-to-solve-microsoftaceoledb120-error.html
    but still getting the same error as metioned in the title. Can anyone suggest what else could be wrong?
    The environment is SQL 2005 64 bit with Office 64 Bit drivers (Access 64 bit engine installed)
    Hi ,
    I think this help u little to run excel file in ssis.In instal  Access bit not work well on ssis any version.you need to change debugging 1 option from  true to false.
    This is the step for change it:
    1. Right click on your project then go to properties.
    2.then go to debugging.
    3.Then there is a option debug.go there and change "Run64bitRuntime"  true to false.
    I think your problem solve.
    Told me if u not understand anything my English so bad
    Thanks
    Muzahid.

  • The OLE DB provider "Microsoft.ACE.OLEDB.15.0" has not been registered.

    Similar to another post, I was trying to run this query in SQL Server Management Studio 2008 R2 (64 Bit) running on Surface Pro3 Windows 8.1
    SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.15.0','Excel 15.0;Database=C:\Users\File.xlsx', 'SELECT * FROM [Sheet1$]');
    I got this Error:
    Msg 7403, Level 16, State 1, Line 2
    The OLE DB provider "Microsoft.ACE.OLEDB.15.0" has not been registered.
    I realised I had 32 bit version of MS office 365 2013 installed, so un installed and re installed 64 bit and I get the same error.
    How can I resolve this error or what should I check next? Thank you.

    Hi Dixone,
    In addtion to Olaf's, the below links can help to shoot the troubles when loading excel using T-SQL.
    SQL Server – Import Data from Excel using T-SQL
    Questions About Using TSQL to Import Excel Data
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered

    Hi guys, I got a problem with SQL job and a package. The package is in a folder in the same server of my SQL instance. If I run the package everything is ok ( I am moving one file excel). If I run the package from SQL agent it returns "The
    requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered". I looked into the previous post and they talk about 32 and 64 bit and that's ok, I fixed the package in 32 bit but what I am wondering is: why if I run the package manually it goes
    and instead if I try to run with SQL agent it returns me that error?
    Thanks 

    Hi Vaibah, I already checked the "Use 32 bit" ( in SQL AGent). Is there something more to do in BIDS?
    Q: Is there something more to do in BIDS?
    --> We only have Project/Properties - Run64bitrunTime setting inside BIDS. No extra settings for 32/64 bits in BIDS
    Q: why if I run the package manually it goes and instead if I try to run with SQL agent it returns me that error?
    --> When you run from SQL Agent, it runs on 64 bit and so it fails.
    You must read this:
    http://toddmcdermid.blogspot.in/2009/10/quick-reference-ssis-in-32-and-64-bits.html
    -Vaibhav Chaudhari

  • BusinessObjects Explorer The creation of the data source object tree failed

    Hi,
    I'm trying to create a new information space in BusinessObjects Explorer 4.0.  When I select the Universe I want to use and click "New" Information Space I get the following error.
    Failed to retrieve the data source details.
    The creation of the data source object tree failed.
    I'm just using a local installation, BI Platform 4.0, Client Tools, and Explorer are all installed on my Windows 7 machine.  It's intended to be a demo environment.
    Any guidance would be appreciated!
    Jeff

    Hi Jeff,
    first of all BI4 Enterprise is not supported on Windows 7 and it may not work properly for various reasons.
    But you can give this a try:
    Update the command line parametres of each of the Explorer Services to use a different value for the connection server libraries
    The changes are made to the command line of each of the Explorer services
    - Master
    - Exploration
    - Indexing
    - Search
    Remove the following from the command line parameters of the existing Explorer services
    -connectivity_dir "C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0//dataAccess/connectionServer"
    Example of the original Explorer Master server command line parameters:
    -Djava.awt.headless=true -Dosgi.configuration.area=configuration.BI40.ExplorerMasterServer1 -server -XX:MaxPermSize=256m -Dosgi.clean=true -Xmx1g -jar plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -loggingPath "C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0/logging/" -connectivity_dir "C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0//dataAccess/connectionServer" -serverkind explorerMaster
    And update the server command line parameters with the following:
    "-Dbusinessobjects.connectivity.directory=C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0//dataAccess/connectionServer"
    Example of an updated Explorer Master server command line parameters:
    -Djava.awt.headless=true -Dosgi.configuration.area=configuration.BI40.ExplorerMasterServer -server -XX:MaxPermSize=256m -Dosgi.clean=true -Xmx1g -jar plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -loggingPath "C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0/logging/" -Dbusinessobjects.connectivity.directory="C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0//dataAccess/connectionServer" -serverkind explorerMaster

  • Installation error: cannot find the data source checking utility (dbcheck)

    BO XI 3.0:
    During the process of installing "Dashboard and Analytics Servers", we've got this error.
    Installation error: cannot find the data source checking utility (dbcheck)
    Have anyone encountered this issue? We can't move on after this error.
    Thanks,

    I've fixed the problem.
    Lianjun.
    Lianjun (guest) wrote:
    : I've tried to run the latest beta version of OMWB to migrate
    from
    : MS SQLSERVER7.0 to Oracle8i. At step 4:Source Database Details,
    : every time I put in the data source name (which is in the
    control
    : panel-ODBC data source Administrator), it gave an error message
    : that Data source name not found and no default driver
    : specified).Anybody has any ideas?
    : Thanks for the help!
    : Lianjun.
    null

  • Tabular: Import from text file error : The provider 'Microsoft.ACE.OLEDB.12.0' is not registered.

    I'm trying to import a text file into a tabular model in SSDT
    windows7 64 bit
    I have office 2013 32bit installed. Will not uninstall this as I need it.
    How do I import a csv file into the tabular model?
    i've downloaded both 32 and 64 bit access redistributables from here: http://www.microsoft.com/en-au/download/details.aspx?id=39358
    64 bit refuses to install (already have 32bit office tools installed)
    32 doesn't stop the error - i'd assume i'd already have the correct 32 bit drivers installed since i have the full office 2013 suite installed.
    I've looked at some of the other topics around and they are either unanswered or the poster didn't have office installed so could install 64bit redist
    Thanks
    Jakub @ Adelaide, Australia Blog

    see if this helps
    http://visakhm.blogspot.in/2011/11/excel-2010-export-import-issue-in-64.html
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Failed to retrieve the data source in Business Objects Explorer

    I have built a universe with Designer suits and separate measurements of paramentros and bound by, ran on Web Intelligence, but when I try to use the Business Objects Explorer is reported the following message:
    Failed to retrieve the data source details.
    The creation of the data source object tree failed
    What should I do?

    There are two OSS notes about this error ;
    1411433
    1363777
    Also you can take a look at this service pack
    http://ftp1.businessobjects.com/outgoing/CMS/crXIwin_en_sp3.pdf
    cheers
    Tansu
    Edited by: tansu aksu on Jan 25, 2011 5:03 PM

  • Crystal report for visual studio 2010 data source object is not valid error

    Hello,
    I receive an "data source object is not valid" error when I want to print one CR document after setting an ADODB.Recordset on SetDataSource method of my report.
    On my developer station, this operation works without problem but on client station, I get this error.
    The redistributable package for client is installed on client side (CRRuntime_32bit_13_0_1.msi).
    Can someone help me?
    Thank you.

    Thank's for your answers
    Dim rsPkLst As ADODB.Recordset = Nothing
    Dim report As New crPickingList
    ' Fill ADODB.Recordset with SQL Statment
    If rsPkLst.RecordCount > 0 Then
          report.SetDataSource(rsPkLst) ' Error : The data source object is invalid
    EndIf
    This error appears during  "report.SetDataSource(rsPkLst)" instruction.
    ADODB drivers are already installed and my ADODB.Recordset is filled with good records.
    This project is an updated project from Visual Studio 2003 to Visual studio 2010 and the old version was running fine.
    Developer and client station runs under Windows XP SP3.
    On developer side I install CRforVS_13_0_1 (BuildVersion=13.0.1.220.Cortez_CR4VS).
    On client side I install CRRuntime_32bit_13_0_1.msi.
    Both stations use Microsoft .Net Framework 4.
    Move to ADO.NET is a solution but, for the moment, I do not have the time to change all applications from my company.
    (I get this error from all application updated from VS 2003 to VS 2010 developed since 2005)
    David.

  • The data source "....." referenced in the form template is not valid or cannot be found

    Greetings,
    I have an InfoPath 2013 form that uses an external data connection.  The data connection became corrupt (somehow, no one knows who changed what).  A user went in to InfoPath designer and created a new data connection and changed all references
    to use that new data connection.  Now the form cannot be published at all with the error
    "The data source "GetUserProfileByName" referenced in the form template is not valid or cannot be found"
    The new data source they created is GetUserProfileByName2 and changed all references.
    Of course, since it is broke, they asked me to see if I can find the issue.  I went through the form looking to see if they missed any references to the old data connection and can't find anything.
    Where is InfoPath storing the old data connection information and where can I remote it?  I looked in the manifest and don't see it there either.
    Any thoughts?
    Thank you!

    Hi Bob,
    There are many XML schema files for the data connection, I recommend to check if the references to the XML files have been changed to the new schema files in the manifest file.
    For example, if we create a data connection called GetUserProfileByName, then there will be one XML file and three XML schema files for the data connection.
    Please make sure that all the references are updated in the manifest file.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • How do I keep my media on an external hard drive but still access it in iTunes?

    I just recently purchased a new Macbook Air and I had my itunes media library on an external hard drive. How do I access my itunes media on the macbook air from the external hard drive without transferring all the media onto my macbook air? I also wa

  • SAP note 709354 - DB Clustering

    An extract from the sap note: --->>> With SAP Enterprise Portal 6.0 on Web AS 6.40, DB Clustering will not be officially supported. This applies to Microsoft SQL, as well as to Oracle Database cluster implementations. The technical feasability of act

  • Sound Lags

    Hello, For some reason, I'm finding that system sounds in Snow Leopard (such as moving a file or especially sounds in iChat) are laggy. For example, I if put a folder in another folder, there would be a pause, and then the sound would play. Before, t

  • If I forget the password to my iPod 5, how can I be able to unlock it?

    I don't know how to unlock my iPod because I forgot the password to it...

  • Completely stuck

    Hey everyone, so I can't find any help elsewhere on the internet so I am coming here. I bought lbp 1, 2, and racing and absolutely loved them all. So lbp 3 came and and it was a no brainer, right?  I bought this game, played it for 30 minutes or so a