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)".

Similar Messages

  • 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.....

  • 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

  • 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

  • Custom File Extension for Microsoft Access Text Driver (*.txt, *.csv)

    I'm trying to use a custom file extension for the Microsoft Access Text Driver (*.txt, *.csv) driver.
    I have updated the FileExtns registry to have my new extension.
    When I issue the following it does not work.
    select [NoName] 
    from openrowset('MSDASQL'
               ,'Driver={Microsoft Access Text Driver (*.txt, *.csv)};
                    DefaultDir=c:\filedir'
               ,'select * from "file.lst"')
    If I make the file a .csv it works fine.  However, if it has an extension of not CSV or TXT (in this case .lst, which is in the registry setting) extension it throws the following error and cannot seem to find a solution to it. 
    OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Text Driver] Cannot update. Database or object is read-only.". Msg 7350, Level 16, State 2, Line 1 Cannot get the column information from
    OLE DB provider "MSDASQL" for linked server "(null)".
    In addition, (although I can probably find this elsewhere), I need to have the first line 'BLANK' so that it does not miss data (there is no header row).  Is there  a way to use OPENROWSET without BULK to basically include all rows as data?
    Any help is appreciated.

    Hi,
    According to your description, I did a test with your script, and got the same message as your post. Usually, by default, the Microsoft Access Text Driver (*.txt, *.csv) supports the four extensions file, such as *.asc, *.csv, *.tab, *.txt. To solve this issue,
    I recommend you try to save the LST file in the above format, then use OPENROESET to get data from the supported extensions file in SQL Server.
    In addition, the
    OPENROWSET function is mainly used to retrieve remote data from an OLEDB data source, when you use OPENROWSET without BULK, provider_name is a necessary parameter in the script. However, the OPENROWSET (BULK...) is mainly called from a SELECT…FROM clause
    within an INSERT statement, when importing bulk data from a data file into SQL Server table. Thus if you need to import bulk data, you should use the basic  syntax: INSERT ... SELECT * FROM OPENROWSET(BULK...), also there are some alternatives, such as
    BULK INSERT
    and
    BCP .
    Thanks
    Lydia Zhang

  • 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

  • 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]

  • Programatically change username and password if the data source

    Hi all,
    I searched but could not find the answer for how to programamtically change the username /password of the datasource created by the Servers tab under JSC2.
    My database is Oracle and I use the logins to specify the security policy. So I would like to be able to use the username/password when the user logs in and use these info to make the connection to the database server instead of the ones I provide when creating the data source.
    Thanks for your advice,
    DT

    The username/password can be set for the datasource via the CachedRowSet created for the datasource.
    For example if you drop the sample Travel->person table on the visual designer a "personDataProvider" is created. Here's the code to set the username/password.
    personDataProvider.getCachedRowset().setUsername("me");
    personDataProvider.getCachedRowset().setPassword("mypassword");-David

  • Access ODBC Driver not appearing in Create New Data Source List

    When I run C:\Windows\SysWOW64\odbcad32.exe  the Access driver is not showing up as an option. I'm running Windows 7 professional and Access 2013.  I'm guessing the driver is on my machine and is either not registered or the registry
    has the wrong location. I have looked under HKEY_LOCAL_MACHINE>ODBC>ODBCINST.INI and see no references to an Access driver in any subfolders.
    I think I need the name of the driver .dll and where it needs to be registered to fix the problem.
    Any ideas?
    Thanks,
    Joe

    Hi Joe,
    According to your description, after you run C:\Windows\SysWOW64\odbcad32.exe, Access driver is not displayed when you expand HKEY_LOCAL_MACHINE>ODBC>ODBCINST.INI node.
    The issue is caused by wrong path of odbccad32, please make sure that you are using Administrator account or you have administrative privileges, then refer to the following steps:
    Go to Control Panel.
    Click Administrative Tools.
    Right-click Data Sources(ODBC) to open Properties dialog box.
    In Target text box, type  %windir%\syswow64\odbcad32.exe             
    In Start in text box, type %windir%\syswow64, then click OK to  save the settings.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • 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

  • Replication and logshipping on same data source object

    TWO QUESTIONS:
    Question1:
    I have a database "dbABC" on SERVER1 that is log shipped to REPORTSERVER and is recovered Standby, Read Only.
    I also need to replicate a subset of same data "dbABC" to a different SERVER2.
    When I add the publication to SERVER1, is appears on REPORTSERVER and flags the logshipped "dbABC" (readonly) as a published database and displays articles and subscriptions on REPORTSERVER. 
    Is there a way NOT to push the replication to the Report Server, since it is read only?
    Question2:
    Also, when changing ownership of "dbABC", will the ownership also log ship to the Read Only copy on REPORTSERVER and syncronize ownership between SERVER1 and REPORTSERVER?
    Janine

    It is meta data which travels with the backup and log shipped tlogs.
    Unless you do your final restore with the keep_replication switch this metadata will disappear when you do your final restore and run the recovery on your database.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
    This!
    John Sansom | SQL Server MCM
    SQL Server DBA Blog |
    Twitter: @SqlBrit |
    LinkedIn

  • 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.

  • Mapping between the info cube fields and fields in the data source in sap r

    In Bi7.0 in which database did the mapping between the Infocube objects and the datasource object will be store Here i have used the r3 system

    Hi,
    Chk table RSOSFIELDMAP.
    Regards,
    Gunjan.

  • I had my hard drive cleaned and cannot install cs6 master collection from disk.  I am getting error message failed to initialize.  please download adobe advisor support.  I have a pc and am using windows 8

    I had my hard drive cleaned and cannot install cs6 master collection from disk.  I am getting error message failed to initialize.  please download adobe advisor support.  I am using a pc and have windows 8.  Please help.

    start at the top and work your way down applying applicable fixes until your problem is resolved.
    if cc (win):  https://helpx.adobe.com/creative-cloud/kb/creative-cloud-desktop-application-failed.html
    if, your error is:
    "Installer failed to initialize. File not found." or "Installer failed to initialize. This could be due to missing files."
    first, rename OOBE Folder to OOBE.old.
    to find OOBE:
    64 bit win OS: Program Files x86\Common Files\Adobe\OOBE
    32 bit win OS: Program Files \Common Files\Adobe\OOBE
    mac os: HD>library>application support>adobe>caps
    mac os: USER>library>application support>adobe>OOB
    if that fails or isn't the exact error you see, uninstall, clean (http://www.adobe.com/support/contact/cscleanertool.html) and reinstall.
    if you're using a dvd to install:
    copy the disc contents to a desktop directory and install from that directory.
    if you're using a mac:
    1. Try to Create a new user account in Mac with Administrator Priviledges.
    2. Login to the New user, Navigate to Mac HD> Application> Utilities> Adobe Installer folder, Locate products like Adobe Reader, Adobe Flash, Adobe Air and un-install them
    3. Navigate to User Library> Application Support> Adobe and move Adobe to Trash.
    4. Navigate to Mac HD> Library> Application Support> Adobe and move Adobe to Trash.
    5. Start the installation again.
    if everything applicable above fails, check your installation logs:
    http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-install-using-logs-elements.html

  • I upgraded MacBook Pro (13-inch, Early 2011) to yosemite. I have no more access to Finder, App Store and some apps. Since I have no access to App Store I cannot download the missing  parts. How can I get access to App Store?

    I upgraded MacBook Pro (13-inch, Early 2011) to yosemite. I have no more access to Finder, App Store and some apps. Since I have no access to App Store I cannot download the missing  parts. How can I get access to App Store?

    Welcome to Apple Support Communities
    What do you mean by having no access to those apps? Can you start up your Mac and work with it, and only some OS X apps do not work?
    Anyway, what you can try is to reinstall OS X. To do this, hold Command and R keys while your Mac is starting up and reinstall OS X. You will not lose any file.

Maybe you are looking for

  • How can I go back and forth between Word and FrameMaker

    I have a client who has all their documentation in FrameMaker, but needs to export to MS Word to distribute files for editing by various parties. Once edited, my client needs to bring the updated text back into Frame, ideally without having to re-for

  • The following remoteapp program is not in the list of authorized programs.

    Hi, Iam in a pickle at the moment. My RDS 2012 R2 environment was working successfully previously, arrived from holiday and it is not longer working. My setup: **RDS01 ( Session Host and Connection Broker Roles ) **RDS02 ( Web Access, Gateway and Lic

  • Creation of session bean

    Hi all, I am trying to create a DC webservice, while creating the stateless session bean in package, I am getting the error "Not able to create session bean". How can I solve this issue? Basically the problem is with the ejb-jar.xml. Thanks Vivek

  • Country-Specific PO SmartForms

    We have a standard PO SmartFrom for US, MX and CAN. Due to legalities in CAN, they want their "Terms and Conditions" as part of the PO print-out (SmartForm). If we create a CAN specific Form, how does the system know to use this for for PO's with CAN

  • Error using sqlplus when not oracle

    I've been able to duplicate this same problem on two machines running RedHat 6.0. Everything works great when I call the Oracle binaries as oracle. Any other user priduces the following errors. [jkinney@hal jkinney]$ echo $ORACLE_HOME /opt/oracle [jk