Native error code -214721788​7 0x80040e21 Microsoft OLE DB Provider for ODBC Drivers: ODBC driver does not support the requested properties​.

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,
Vidula

Vidula,
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

Similar Messages

  • The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.

    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 Alleman

    Hi 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

  • SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server 2012 Analysis Services." Hresult: 0x80004005 Description: "Internal error: An une

    SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft OLE DB Provider for SQL Server 2012 Analysis Services."  Hresult: 0x80004005
     Description: "Internal error: An unexpected error occurred (file 'pcxmlacommon.cpp', line 43, function 'PCFault::RaiseError').
    I'm getting above error in the pre- execute phase of a DFT when I'm trying to fetch data from a SSAS cube using mdx query.
    I'm using OLE DB provider for connecting to cube.
    I got one resolution for Error Code 0X8004005, which asked me to add 'Format= Tabular' in cube's connection string. It does not seem to work either. Can any one help me out on this???

    You are probably missing an update.
    I saw a MS Connect post https://connect.microsoft.com/SQLServer/feedback/details/250920/error-using-oledb-or-datareader-to-get-analysis-services-data where that suggestion was proposed as a fix, but is for an older SQL Server version.
    So do there is a question if you pull data from SQL Server 2012 SSAS using SSIS 2012 (so no other build is involved).
    Arthur My Blog

  • Microsoft OLE DB Provider for SQL Server 2012 Analysis Services Error Code = 0x80040E05

    I've been running a package for 6 months without any issues that pulls data from a cube via MDX and moves it to a database.
    We've recently moved to a new server x64 and the connections all succeed but at runtime (in 64 = T&F) I get the following error:
    [SRC AdExchange [87]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E05.
    An OLE DB record is available.  Source: "Microsoft OLE DB Provider for SQL Server 2012 Analysis Services."  Hresult: 0x00000001  Description: "Error Code = 0x80040E05, External Code = 0x00000000:.".
    [SSIS.Pipeline] Error: SRC AdExchange failed the pre-execute phase and returned error code 0xC0202009.
    I've installed SQL_AS_OLEDB, SQL_AS_ADOMD from Microsoft® SQL Server® 2012 SP1 Feature Pack
    Why is my connection failing?

    The server has a 10Gbps network connection.
    I've installed CU6 for SQL Server 2012 SP1
    http://support.microsoft.com/kb/2874879/en-us#hfi
    I'm still getting the same error at runtime in BIDS:
    [SRC AdExchange [87]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E05.
    An OLE DB record is available.  Source: "Microsoft OLE DB Provider for SQL Server 2012 Analysis Services."  Hresult: 0x00000001  Description: "Error Code = 0x80040E05, External Code = 0x00000000:.".
    [SSIS.Pipeline] Error: SRC AdExchange failed the pre-execute phase and returned error code 0xC0202009.
    Looking at the errorlog, everything looks normal until:
    Launched startup procedure 'sp_ssis_startup'.
    Attempting to load library 'xpsqlbot.dll' into memory. This is an informational message only. No user action is required.
    Using 'xpsqlbot.dll' version '2011.110.2100' to execute extended stored procedure 'xp_qv'. This is an informational message only; no user action is required.
    Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.
    Using 'xpstar.dll' version '2011.110.3000' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
    Attempting to load library 'xplog70.dll' into memory. This is an informational message only. No user action is required.
    Using 'xplog70.dll' version '2011.110.2100' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required.
    AppDomain 2 (SSISDB.dbo[runtime].1) created.
    Unsafe assembly 'microsoft.sqlserver.integrationservices.server, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil' loaded into appdomain 2 (SSISDB.dbo[runtime].1).
    Unsafe assembly 'microsoft.sqlserver.integrationservices.server, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil' loaded into appdomain 2 (SSISDB.dbo[runtime].1).
    AppDomain 3 (master.sys[runtime].2) created.
    Software Usage Metrics is enabled.
    SQL Server is terminating because of a system shutdown. This is an informational message only. No user action is required.
    Service Broker manager has shut down.
    Error: 17054, Severity: 16, State: 1.
    The current event was not reported to the Windows Events log. Operating system error = (null). You may need to clear the Windows Events log if it is full.
    .NET Framework runtime has been stopped.
    SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
    The SQL Server Network Interface library could not deregister the Service Principal Name (SPN) [ MSSQLSvc/XXXXXXXXXX.com ] for the SQL Server service. Error: 0xffffffff, state: 63. Administrator should deregister this SPN manually to avoid client authentication
    errors.
    The SQL Server Network Interface library could not deregister the Service Principal Name (SPN) [ MSSQLSvc/XXXXXXXXXX.com:1433 ] for the SQL Server service. Error: 0xffffffff, state: 63. Administrator should deregister this SPN manually to avoid client authentication
    errors.
    Wondering about the unsafe assembly in SSIS and deregistering the SPN..
    Anyone have any ideas on how to resolve this?
    Thanks!

  • Microsoft OLE DB Provider for ODBC Drivers error '80040e10'

    Getting the following error:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
    [Microsoft][ODBC driver for Oracle]Wrong number of parameters
    I have a Stored Procedure within a package that has no input parameter and 2 output parameters..
    oConnEngineer.CursorLocation = 3
         oConnEngineer.Open sConnectionString
         oCmdEngineer.ActiveConnection = oConnEngineer
         oCmdEngineer.CommandText = "{Call ENG_TAILORMADE.USER_PKG.GET_ENGINEER_LIST(?,{resultset 100, out_ENGINEER_ID, out_ENGINEER_NAME})}"
         oCmdEngineer.CommandType = 1
         Set rsEngineers = oCmdEngineer.Execute()
    Any suggestions?

    Getting the following error:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
    [Microsoft][ODBC driver for Oracle]Wrong number of parameters
    I have a Stored Procedure within a package that has no input parameter and 2 output parameters..
    oConnEngineer.CursorLocation = 3
         oConnEngineer.Open sConnectionString
         oCmdEngineer.ActiveConnection = oConnEngineer
         oCmdEngineer.CommandText = "{Call ENG_TAILORMADE.USER_PKG.GET_ENGINEER_LIST(?,{resultset 100, out_ENGINEER_ID, out_ENGINEER_NAME})}"
         oCmdEngineer.CommandType = 1
         Set rsEngineers = oCmdEngineer.Execute()
    Any suggestions?

  • Microsoft OLE DB Provider for Oracle: Data type is not supported.

    I got the error:
    Microsoft OLE DB Provider for Oracle: Data type is not supported.
    Shortly after upgrading from Oracle 8 to Oracle 9. I was advised to download more up to date oracle drivers, but I was wondering if there was a way to tell what version of the 'OLE DB Provider for Oracle' is already at. Is there a command I can use via SQL Plus or something?

    I have found Microsoft ODBC for Oracle to be more stable than the Microsoft OLEDB for Oracle driver. I have also found both Microsoft ODBC and OLEDB drivers to be more stable than the drivers from Oracle.
    You could always get the latest MDAC (Microsoft Data Access Components) from Microsoft's MSDN Download site and then get the ODAC (Oracle Data Access Components) from Oracle's OTN Download site. ODAC requires MDAC. And ODAC has the latest drivers.
    I suppose it would help to have the latest patches for your Oracle client software too. Maybe Oracle MetaLink would have these?
    It may even help to have the latest service pack for Visual Studio 6 (Visual C++ 6 and Visual Basic 6) too.

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

  • Need OLAP Server Type 'Microsoft OLE DB Provider for Analysis Services 9.0'

    We have two Crystal Developer machines (CR2008 - SP1 installed on both).  We need to connect to an OLAP datasource
    One machine has these three Server Types available to select from:
       Hyperion Essbase (7.0,7.1)/IBM DB2 OLAP(8.2) Enhanced
       Microsoft OLE DB Provider for Analysis Services 9.0
       Microsoft OLE DB Provider for OLAP Services 8.0
    The other machine has the following as the only available Server Type:
       Hyperion Essbase (7.0,7.1)/IBM DB2 OLAP(8.2) Enhanced
    We need access to the Microsoft Server Types for this machine as well.
    The Data Access components installed (from CR2008 - SP1) on both
    machines appear to be the same.
    How do we get these installed so we can access them from Crystal? 
    Thank you

    Do I need the SQL Client tools on my machine? I though I had read this on a website somewhere, but now am unable to locate it.  Can someone please confirm if this is the issue why I am not seeing this server type?  Thank you.

  • Error Code: -17601 "Attempted to load a module for a step whose module has not yet been specified"

    I am trying to run my first Test Stand sequence, and am getting the following Error: "Error Code: -17601, Attempted to load a module for a step whose module has not yet been specified".
    I have specified the correct module under the Test Stand "Action" properties, and am pointing to the right vi. I am not sure why it is giving me this error.

    Hi Shoab,
    So when you right click on your step and select Specify Module.... The Edit LabVIEW VI dialog will appear, in the VI Pathname control is your VI and under that control appear the full path to your VI, if it contains "(No File Specified)" then thats your problem. You will need to use the file browse control to find your VI.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • 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 keep getting this error message "Your operating system does not support the 64-bit version of Silverlight" even though I have a 64 bit system?

    Netflix requires Microsoft Silverlight plug in to view their videos. Every time I try to load it I get the following error message...Your operating system does not support the 64-bit version of Silverlight. I have a 64bit system with Windows Vista Home Premium. Firefox 33.0 is installed.
    Any suggestions?

    Your User Agent: Mozilla/5.0 (Windows NT 6.0; '''WOW64'''; rv:33.0) Gecko/20100101 Firefox/33.0
    As said Firefox for Windows from mozilla.org is a 32-bit application. The WOW64 in UA means it is a 32-bit application on 64-bit Windows.
    Before you ask if there will be a Win64 version of Firefox. If all goes well the first phase of having Win64 for Release may be as early as Firefox 37.0
    https://wiki.mozilla.org/Firefox/win64

  • Win2012R2 error 364 Content file download failed.Reason: The server does not support the necessary HTTP protocol.

    Im running WSUS on Windows 2012 R2. Installed over "Add Roles and Features". Configured, synchronisation works, but can not download any updates.
    System
    Provider
    Name]
    Windows Server Update
    Services
    EventID
    364
    Qualifiers]
    0
    Level
    2
    Task
    2
    Keywords
    0x80000000000000
    TimeCreated
    SystemTime]
    2014-08-27T06:43:36.000000000Z
    EventRecordID
    390
    Channel
    Application
    Computer
    wsus-server.murrcz.local
    Security
    EventData
    Content file download
    failed. Reason: The server does not support the necessary HTTP protocol.
    Background Intelligent Transfer Service (BITS) requires that the server support
    the Range protocol header. Source File:
    /msdownload/update/software/crup/2011/03/windows6.1-kb2506014-x64_8c22199a738b51dbfe78262ca21ba98cf8bdeca2.cab
    Destination File:
    C:\WSUS-updates\WsusContent\A2\8C22199A738B51DBFE78262CA21BA98CF8BDECA2.cab
    The online help not works:
    Content download has failed. BITS service is not starting or is  stopping during downloads.
    Open a command window.
    Type sc config bits start= auto
    Type net stop bits && net start bits
    Type net stop wsusservice && net start wsusservice
    Start WSUS 3.0: Click Start, click Administrative Tools, then click
    Microsoft Windows Server Update Services v3.0.
    Click Synchronization Results.
    In the Action pane, click Synchronize Now.
    Verify
    Look for the corresponding error event.
    Open a command window.
    Type cd <WSUSInstallDir>\Tools
    Type wsusutil checkhealth
    Type eventvwr
    Review the Application log for the most recent events from source Windows Server Update Services and event id 10030.
    The KB922330 not aplicable, ExecuteSQL.exe not present.
    Please help.
    Thanks

    .\SQLCMD.EXE -S \\.\pipe\MICROSOFT##WID\tsql\query -d "SUSDB" -Q "update tbConfigurationC set BitDownloadPriorityForegroud=1"
    This should be considered a temporary fix. It will saturate your Internet connection during periods of WSUS downloads in this configuration.
    The correct and permanent fix should be to resolve the failure of your perimeter device to properly support the HTTP v1.1 protocol specification (which is now some 14 years old).
    Either your device is misconfigured, or it needs a firmware update to support the full specification.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • HT3275 Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  Could not complete backup to media share.  The network backup disk does not support the required AFP feat

    Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  "Could not complete backup to media share.  The network backup disk does not support the required AFP features."  What are AFP features and how do I get Time Machine to backup to my current external backup?

    This means that your NAS does not support the required encryption. Update your NAS to the latest firmware or ditch it and buy a Time Capsule (they are the most reliable when using TM).

  • Using time warner road runner. when I try to open up safari to home page I get error message that this version does not support the "community toolbar" can't proceed until closing the error message. sick of seeing it

    using time warner road runner. when I try to open up safari to home page I get error message that this version does not support the "community toolbar" can't proceed until closing the error message. sick of seeing it

    That toolbar/ct plugin seems to cause problems for all who install it!
    Close Safari, then locate and delete the following files and it should be gone:
    /Library/Application Support/Conduit
    /Library/InputManagers/CTLoader
    /Library/Receipts/ctloader.pkg
    /Library/Receipts/<Toolbar name>.pkg
    /Library/Application Support/SIMBL/Plugins/CT2285220.bundle
    /Users/<User name>/Library/Application Support/Conduit
    where / is the root library on your Hard Disk.
    If you are running Snow Leopard you should also look here:
    Library/launchAgents/com.conduit.loader.agent.plist
    Library/Application support/conduit plugins
    Also, as mentioned by Gilli2000:
    Library/Receipts - If you read it, it has information in it at the bottom referring extensively to "CT" and "community toolbar".
    Maybe it is harmless, but trash those items anyway!
    Note: Safari does not support any third-party toolbars except those supplied as an extension to Safari via the Extension Gallery.

  • While trying to setup a time capsule backup to my MyBookLive external drive, I got the following error message: The network backup disk does not support the required AFP features. What's up with this?

    While trying to setup a time capsule backup to my MyBookLive external drive, I got the following error message: The network backup disk does not support the required AFP features. What's up with this?

    This means that your NAS does not support the required encryption. Update your NAS to the latest firmware or ditch it and buy a Time Capsule (they are the most reliable when using TM).

Maybe you are looking for