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]
Similar Messages
-
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.
TedRegistry 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 -
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. -
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..... -
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 -
I am getting the following error when attempting to INSERT the results of an "EXEC(@MDXQuery) at SSAS LinkedServer":
The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.
Here is code that illustrates what I am doing:
DECLARE @MDX varchar(max);
SET @MDX='
SELECT
[Measures].[Extended Service Count]
} ON COLUMNS,
NON EMPTY [Organization].[By Manufacturer].[Manufacturer]
ON ROWS
FROM (
SELECT
{[Organization].[Org Tree].&[2025],[Organization].[Org Tree].&[2040]} ON 0
FROM [MyCube]
/* Test 1 */
EXECUTE(@MDX) at SSASLinkedServer;
/* Test 2 */
DECLARE @ResultsB TABLE (
Manufacturer varchar(255)
, ExtendedServiceCount float
INSERT INTO @ResultsB (Manufacturer, ExtendedServiceCount) EXECUTE(@MDX) at SSASLinkedServer;
Test 1 succeeds, returning expected results, and Test 2 fails returning the error mentioned above.
Other articles I've found so far don't seem to apply to my case. I am not creating any explicit transactions in my code. When I use OPENQUERY, I am able to do the insert just fine, but not when I use EXEC @MDX at LinkedServer.
Unfortunately in some variations of the query, I run into the 8800 character limit on OPENQUERY, so I need to use this other approach.
Any ideas?
-Tab AllemanHi Tab,
In this case, SQL Server Analysis Services doesn’t support Distributed Transactions by design. Here is a similar thread about this issue for your reference, please see:
http://social.technet.microsoft.com/Forums/en-US/8b07be45-01b6-49d4-b773-9f441c0e44c9/olaplinked-server-error-msolap-for-linked-server-olaplinked-server-does-not-support-the?forum=sqlanalysisservices
One workaround is that use SQLCMD to execute the EXEC AT command and saved the results to a file, then import using SSIS.
If you have any feedback on our support, please click
here.
Regards,
Elvis Long
TechNet Community Support -
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?
ThanksHi 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 -
I configured MySQL in TestStand and making a query in TestStand like this:
Command :=> "SELECT * FROM crc_table ; " or "SELECT CRC_Value FROM crc_table ; " returns the total number of records without any errors.
But when I add the "where" clause
"SELECT crc_table.CRC_Value FROM crc_table where crc_table.File_ID= Locals.File_ID and crc_table.Version_ID = Locals.Version_ID and crc_table.Link_ID = Locals.Link_ID; "
I get the error as:
Error, The following SQL command failed: 'SELECT crc_table.CRC_Value FROM crc_table where crc_table.File_ID= Locals.File_ID and crc_table.Version_ID = Locals.Version_ID and crc_table.Link_ID = Locals.Link_ID; ...' Native error code -2147217887 0x80040e21 Microsoft OLE DB Provider for ODBC Drivers: ODBC driver does not support the requested properties. [Error Code: -10, User-defined error code.]
I tried the same syntax in MySQL Query Browser and got the correct result:
SELECT crc_table.CRC_Value FROM crc_table where crc_table.File_ID= "FID1" and crc_table.Version_ID = "VID1" and crc_table.Link_ID = "L1";
I would appreciate your help.
Thank you,
VidulaVidula,
I am not completely sure if this is the cause of the error but it is something that will cause problems if it is not fixed. In your SQL statement you must properly concatenate your strings with your variables. In the statement you posted you were simply putting the variable names in the string, not actually pulling their values. To do so properly your query should look something like this:
"SELECT crc_table.CRC_Value FROM crc_table where crc_table.File_ID='"+Locals.File_ID+"' and crc_table.Version_ID = '"+ Locals.Version_ID+"' and crc_table.Link_ID = '"+Locals.Link_ID+"' ;"
This way we are using the values of the variables in conjunction with the text strings. In this case the usage of single quotes (') casts the variables as strings so you may need to change this character sequence, but from the second example you gave I think that your variables are of type string so this should work fine.
Message Edited by herosphro on 04-01-2008 03:52 PM
John B.
Applications Engineer
National Instruments -
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)". -
OLE DB provider "SQLNCLI10" for linked server "(null)
Hi guys,
I am keep getting this error message when I am trying to connect to one SQL 2008R2 Instance which is clustered from SSIS ( SQL Server Data tools)...
Exception from HRESULT: 0xC0202009
Error at Data Flow Task [OLE DB Source [548]]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14.
An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80040E14 Description: "Named Pipes Provider: Could not open a connection to SQL Server [2]. ".
An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80040E14 Description: "OLE DB provider "SQLNCLI10" for linked server "(null)" returned message "A network-related
or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server
Books Online.".".
An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80040E14 Description: "OLE DB provider "SQLNCLI10" for linked server "(null)" returned message "Login timeout
expired".".
Any workaround for this error message if anyone has encountered before?
Thank you
Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.ShahHi Logicinisde,
In addition to Olaf's answer, if package configurations are enabled, the issue may occur because the package configurations are not applied correctly. Please give that a check.
Regards,
Mike Yin
TechNet Community Support -
hi
i'd like to ask question about linked server.
my linked server used to work but now when i try to select from linked server i was told "The OLE DB provider for linked server reported an error. The provider reported an unexpected catastrophic failure Cannot fetch a row from OLE DB provider
for linked server"
but in fact for test connection i was told "the test connection to the linked server succeeded".
could anyone help me? thank u very much
best regards
martinHi,
In addition to Tracy's post we have to know those answers as well:
* what provider are you using for the connection
* what do you connect to
for example, if someone try to connect to oracle using sql server provider then several simple queries are going to work probably OK, but once you are trying to use T-SQL or any complex SQL query then the errors are starting.
please post the connection string (without the password!) + the query that you are trying to use.
[Personal Site] [Blog] [Facebook] -
Apple TV 3 does not support the Microsoft Wedge Mobile Bluetooth Keyboard
Apple TV (3. Generation) still (17.02.2013) does not support the Microsoft Wedge Mobiloe Keyboard. I bought it especially for use with Apple TV but it doesn't work. Apple TV finds the keyboard with the exact name but can not connect. No 4 digit code appears that you can type in to your keyboard to compelete the connecting process and after a few seconds "connections fails" appears.
Now i dont't know if i should send it back to amazon to get back my money or keep it and wait until it maybe will work some day... I red from articles from beginning of january 2013 that a new Version of Apple TV is in the Pipeline (3.2) and that it has an other bluetooth chip. The same as in the iphone 5 that works with the MS wedge keyboard. So i really don't know if i should wait for the next few updates of my Apple TV or wait for a new Apple TV hardware- Update... Telephone calls with apple and microsoft doesn't brought useful results. Restore function of Apple TV doesn't work.
I hate that Apple always brew their own soup... Bluetooth is know for an easy connection to ALL devices but Apple TV supports only a hand full of keyboards. **** S**t!!!!!!!!!!!! -.-Hi
This is the solution from Microsoft website. Work fine (don´t forget press and hold Fn key!!):
Connecting the Wedge Mobile Keyboard to a tablet PC
By default, the Bluetooth Wedge Mobile Keyboard pairs with most tablet PCs through secure simple pairing (SSP) with a passkey. Some tablets, however, may not support SSP well with a passkey.
In order to successfully pair your Wedge Mobile Keyboard to such a tablet, use the following alternative pairing mode.
Pair your keyboard through SSP without a passkey
Press and hold the Fn key at the same time as you press and hold the Connect button located under the keyboard. After 3 to 5 seconds, a small light on the top of the keyboard will blink green and red alternately. This means that your keyboard is discoverable to your tablet within 6 minutes.
On your tablet PC, from the Start menu, select Control Panel, and in Category view, locate Hardware and Sound.
Select Add a device.
When the keyboard is listed, select it, and follow the instructions to successfully pair your Wedge Keyboard with your tablet.
Note
If you want to pair your keyboard with a tablet or other computer that supports SSP with a passkey, press and hold the Connect button only. -
I'm still using 'good ole' Appleworks 6 on Snow Leopard. I'v heard that Maverick does NOT support Appleworks 6. Is this true?? Are my 20 years of Appleworks files now useless?
Boomba29 wrote:
I'm still using 'good ole' Appleworks 6 on Snow Leopard. I'v heard that Maverick does NOT support Appleworks 6. Is this true?? Are my 20 years of Appleworks files now useless?
Word Processing documents can be opened directly in Pages 4 (AppleWorks 6 only) but this is no longer available from Apple - the new Pages 5 (Mavericks required) does not open AppleWorks documents. (The older version is contained in the iWork '09 box set which may still be available from Amazon and other independent retailers.) Panergy Software's docXConverter v3.2 ($19.95) can convert Appleworks 5 and 6 Word Processing documents to RTF (though it has been reported that it can only handle documents which contain only text, not those which include images or frames). The latest version of the free LibreOffice has announced that it can open AppleWorks 6 Word Processing documents and an ability to open ClarisWorks documents has been reported: it does appear to be able to handle at least some embedded images.
Draw Documents can be opened directly only in EazyDraw (the more expensive version from their website, not the cheaper one from the Mac App Store, and you will need v4.0 'Retro' not the most recent version) or Intaglio (though this appears not to be able to handle very complex drawings). LibreOffice will open simple Draw documents but I found it very unreliable with complex ones.
Spreadsheets can be opened directly only in the older versions of Numbers - the new version for Mavericks will not do this. The old version is no longer available from Apple. (Again, the older version is contained in the iWork '09 box set which may still be available from Amazon and other independent retailers.)
Presentations can be opened directly only in the older versions Keynote; again, the new version for Mavericks will not do this. The old version is no longer available from Apple. (The older version is contained in the iWork '09 box set which may still be available from Amazon and other independent retailers.)
Nothing will open Database documents. You would need to export the data as ASCII and import it into another database program; you will lose your formatting and calculations will come over as the result, not the calculation.
This article examines 'abandoning Appleworks' in detail:
http://wilmut.uk/aw -
Hi All,
This is my first post to ms exchange forum am getting Log onto incoming mail server (POP3): Your server does not support the connection encryption type you have specified. Try changing the encryption method. Contact your mail server administrator
or Internet service provider (ISP) for additional assistance. in my outlook clients, till last Sunday (12.04.15) my exchange was well & good, Monday morning suddenly the problem started like none of our outlook pop3 clients are able to communicate
with exchange (rest IMAP, SMTP & Exchange accounts are working fine). i have tried with all port no but no luck. please help me to get raid of this one.
Exchange 2013 CU6 with server 2012 Std 64Bit
Thanks,
MuraliDear All,
I have found the solution for above problem, the problem has occur due to PopProxy inactivity
please find relevant exchange management shell commends below.
1. Get-ServerComponentstate -Identity <yourmailserver.com>
Server Component State
yourmailserver.com ServerWideOffline Active
yourmailserver.com HubTransport Active
yourmailserver.com FrontendTransport Active
yourmailserver.com Monitoring Active
yourmailserver.com RecoveryActionsEnabled Active
yourmailserver.com AutoDiscoverProxy Active
yourmailserver.com ActiveSyncProxy Active
yourmailserver.com EcpProxy Active
yourmailserver.com EwsProxy Active
yourmailserver.com ImapProxy Active
yourmailserver.com OabProxy Active
yourmailserver.com OwaProxy Active
yourmailserver.com PopProxy Inactive
yourmailserver.com PushNotificationsProxy Active
yourmailserver.com RpsProxy Active
yourmailserver.com RwsProxy Active
yourmailserver.com RpcProxy Active
yourmailserver.com UMCallRouter Active
yourmailserver.com XropProxy Active
yourmailserver.com HttpProxyAvailabilityGroup Active
yourmailserver.com ForwardSyncDaemon Active
yourmailserver.com ProvisioningRps Active
yourmailserver.com MapiProxy Active
yourmailserver.com EdgeTransport Active
yourmailserver.com HighAvailability Active
yourmailserver.com SharedCache Active
2. Set-ServerComponentState -Identity <yourmailserver.com> -Component PopProxy -Requester HealthAPI
-State Active
3. Get-ServerComponentstate -Identity <yourmailserver.com>
Server Component State
yourmailserver.com ServerWideOffline Active
yourmailserver.com HubTransport Active
yourmailserver.com FrontendTransport Active
yourmailserver.com Monitoring Active
yourmailserver.com RecoveryActionsEnabled Active
yourmailserver.com AutoDiscoverProxy Active
yourmailserver.com ActiveSyncProxy Active
yourmailserver.com EcpProxy Active
yourmailserver.com EwsProxy Active
yourmailserver.com ImapProxy Active
yourmailserver.com OabProxy Active
yourmailserver.com OwaProxy Active
yourmailserver.com PopProxy Active
yourmailserver.com PushNotificationsProxy Active
yourmailserver.com RpsProxy Active
yourmailserver.com RwsProxy Active
yourmailserver.com RpcProxy Active
yourmailserver.com UMCallRouter Active
yourmailserver.com XropProxy Active
yourmailserver.com HttpProxyAvailabilityGroup Active
yourmailserver.com ForwardSyncDaemon Active
yourmailserver.com ProvisioningRps Active
yourmailserver.com MapiProxy Active
yourmailserver.com EdgeTransport Active
yourmailserver.com HighAvailability Active
yourmailserver.com SharedCache Activ
Replace yourmailserver.com with your server host name.
Thanks
Maybe you are looking for
-
Using WebLogic Integrate to Pull data from a remote location
How do we use components of weblogic integrate for the following 1. Extract data from applications located in remote place. The applications were developed using sql server, foxpro, access and excel. 2.Use the extracted data for business process mana
-
Hi all, this may be a stupid question but does Aperture save as you go as iMovie does? There is no save button and I don't want to lose where I'm up to in designing my book... thanks Rob
-
ATSServer fatal exception- runaway syslogd process & massive asl.log file
Hi All, (in lieu of a bug report) My MacBook has recently started to go unresponsive (beachball of death), with only cursor movement and the clock indicating it wasn't frozen (Cmd-Opt-Esc didn't work either), forcing me to hard restart. When this hap
-
How to mark email as "read" on two computers when one computer opens the email?
Trying to figure out how to set up so when one computer opens an email both computer show it as read.
-
Startup Repair Offline: Unable to fix problem and beep codes
Hi, I have an issue with my PC startup and boot, My PC Model: Lenovo H330, Windows 7, i5 Intel processor. Basically on the first attempt at booting, my pc plays a beep code which sounds like = 'beep-beep' + 'beep-beep-beep' followed by a blank screen