Linked servers:Using 64 and 32 bit ODBC providers concurrently

I have a very odd problem that I hope someone can help me with.  I have a 64 bit odbc MySQL driver.  Unfortunately, although I can connect to the data source from the control panel, the linked server cannot connect to the MYSQL data source.  The
funny thing is that other linked servers (using the same odbc driver) have no problem connecting to their respective hosts.  The problem seems seems to be between the 64 bit linked server and the host (a shoretel IP phone database that runs on top of
windows).  I know that the 32 bit driver used to work, but when I rebuilt the server to 64 rather than 32 bit the linked server failed.  What I am trying to do is to use both 64 bit driver and 32 bit driver concurrently (I have installed the 32 bit
version using the WOW 32 bit odbc tool, but because the SSMS provider dialog only allows me to use the 64 bit system dsn.  I am wondering if I can get the 32 bit version to work as well using a user rather than system dsn.  Is this possible?  I
can send screenshots of the problem if needed.  Thanks in advance for any advice you can offer.

What I am trying to do is to use both 64 bit driver and 32 bit driver concurrently
You can not. You can only use provider of the same 32/64 bit architecture as the SQL Server have.
Olaf Helper
[ Blog] [ Xing] [ MVP]

Similar Messages

  • UK service provider can no longer unlock my iPhone for US use, and US service providers and Apple store say that only my UK service provider can unlock this phone. Help!

    I bought this iPhone while backpacking through Europe 2 years ago. It was the first thing i did after i got off the airplane to help me navigate, book hostels, trains, flights, and talk with family back home. it cost me around 700-800 US dollars, full price since they do pricing/contracts different over in the UK.
    It's been a couple years, and I'm ready to ditch my 6 year old Samsung and move on to this iPhone. The problem is, since i wasn't using the UK service for a while, they dropped my number/user account completely and they can no longer unlock my iPhone. I talked to AT&T and the Apple store, and they said that the only way I can unlock my iPhone is by contacting the service company that i originally purchased this from--whom can't help since i no longer have an account with them.
    How do i LEGALLY unlock this iPhone for use in the US?

    Only the wireless provider to which an iPhone is locked can unlock it.
    You may have to get a PayAsYouGo sim from that provider to activate
    your account with them so you can get the iPhone unlocked.
    There is not other legal way to unlock the iPhone for use with other than
    the wireless carrier to which it is locked. Contact them to see what options
    they offer for re-activating the iPhone on their network.

  • Accessing 64-bit Oracle from 32-bit ODBC

    Hi
    I am installing a software using 32-bit ODBC for connection to Oracle.
    The server has been installed by our client and has the following specs:
    - AMD Opteron Processor 280
    - Windows server 2003 R2 Standard x64 Edition SP2
    - Oracle 10g Release 10.2.0.3.0 - 64bit
    - Both a 32-bit and a 64-bit client has been installed
    Using the 32-bit ODBC administrator I can add the "Oracle in OraClient10g_home1" driver, but I can't find the right database, only lots of other databases our client has on other servers.
    If I go to the 64-bit ODBC administrator I can find the right database and noting else, using the driver "Oracle in OraClient_home".
    How can I get the 32-bit ODBC client to connect to the 64-bit database?
    Regards
    Leidulf

    Hi
    I did that, I entered the following into the tnsnames.ora, as this was how it was entered in the 64-bit client:
    DKMVKK =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = krhsrvora02)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DKMVKK)
    Now I find this in the 32-bit ODBC administrator and the "Test Connection" is successful. And fails if I enter the wrong password, so I know it is correct.
    But still I can't connect using the software that worked well on the previous server (32-bit), and using the same credentials and database name. I also have installed an independent SQL viewer that connects via ODBC, this does not work either, getting the ORA-12154.
    I have also tried to change the HOST to the IP address with no luck.
    The database and the client runs on the same machine.
    What can be the problem?
    Regards
    Lediulf

  • 32 bit versus 64 bit (ODBC Performance)

    Please tell the difference between 32 bit ODBC driver and 64 bit ODBC drive performance. Or Benefit of using 64 bit ODBC driver over 32 bit ODBC driver.

    Hi Vijay,
    Please go through the following links
    http://boards.openlinksw.com/support/viewtopic.php?f=4&t=233
    http://www.datadirect.com/products/odbc64/index.ssp
    Hope this helps you.
    Regards,
    Abhijeet T.

  • 32 bit / 64 bit ODBC dilemma

    I have been trying to figure out why my JAVA application works fine on some machines but not on others when the program tries to connect to an ACCESS database. I have read up on the different drivers that appear if you bring up the 32 bit list using c:\Windows\SysWOW64\odbcad32.exe versus the 64 bit list from the control panel.
    On a machine that has the problem, I get this error message when trying to connect:
    Data source name not found and no default driver specified
    The code is using this connection string: jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\DataBases\ Traing3.mdb;
    If I go to the 32 bit drivers and create a DSN and then use this connection string: jdbc:odbc:MyDSNdb, I get the following error:
         The specified DSN contains an architecture mismatch between the Driver and the Application
    What I have found is the machines that do not work have a 64 bit JRE installed and the ones that work have a 32 bit JRE. I have taken an non-working machine, uninstalled the 64 bit JRE and replaced it with the 32 bit JRE and the program runs fine using both connection strings listed above.
    My questions is: What do I need to do in order to make the application run which has a 64 bit JRE? I would also like to add, that these machines typically are running 32 bit MS Office bundles.

    A 64-bit JRE cannot use 32-bit ODBC drivers, as a 32-bit JRE cannot use 64-bit ODBC drivers.
    64-bit Windows includes only a 32-bit MS Access ODBC driver. If you start ODBC Administrator from the Control Panel, you will open the 64-bit ODBC Administrator. If you go to the section "Drivers", you will see that there is no MS Access driver. If you start the ODBC Administrator from %systemdrive%\Windows\SysWoW64\Odbccad32.exe, you will open the 32-bit ODBC Administrator and if you go to its "Drivers" section, you will see an MS Access driver (which is a 32-bit one).
    Have a look at this article, it is very informative (though it is very old), and put attention on the last paragraph in the "Symptom 2" section:
    http://support.microsoft.com/kb/942976
    If you want to use a 64-bit JRE and an ODBC driver, you must install a 64-bit MS Access ODBC driver. However, many sources claim that there is no such driver, but only a 32-bit driver exists.
    Why do not you use a pure JDBC driver instead of a JDBC-ODBC bridge?
    Dimitar

  • OraOledb for 64-bit, Linked Servers and SQL Server 2005 issues

    Our environment is : SQL Server 2005, Windows Server 2003, 64-bit and 32-bit operating systems.
    Problem on 64-bit operating system box: (32-bit works fine).
    I am trying to access Oracle 10g database using linked server from our SQL Server 2005. In case of number fileds i got the following error:
    Invalid data for type "numeric".
    After going through one of the posting in this forumn i was able to resolve the problem by converting those column values to char while querying and then converting them back to numeric type on SQL server side.
    But today i ran into another problem. There is a VARCHAR2 column. I was able to retrieve the data yesterday for that column but today i am getting a blank recordset. If i exclude the colum from the query then i am getting all the rows.
    I am querying against a view and it has got a number of columns whose data type is VARCHAR2.
    Again the problem is on 64-bit operating system only. We have a 32-bit operating system on which i am able to retrieve the data including this column. I looked at the data and everything looks OK. No funny characters etc.
    I tried workarounds like using cast, to_char, checking for nulls etc., Nothing works.
    Any help is greately appreciated. Thanks.

    Did you find a resolution for this? We have similar problem. Set up a linked server in SQL 2006 to Oracle (running on Windows 64-bit) Linked server works and views I had set up were working but they added some new data in the Oracle test database I am using and now I get errors on one of the views.
    Error I am getting on the view is "Cannot initialize the data source object of OLE DB Provider "OraOLDEDB.ORacle" for the linked server"
    If I fine tune my queries to find the specific table or view that is at issue, then I get the error "inconsistent metadata for a column"

  • OraOledb, Linked Servers and SQL Server 2005 issues

    Some issues I've come across when using SQL Server 2005 (and SQL Server Express 2005), the OraOLEDB provider (10.2.0.1) and a linked Oracle database (8.1.7.4.0 64-bit)
    1) You must set the OraOledb.Oracle\AllowInProcess value to 1 to allow the OraOledb provider to run in SQL Server's process. Without doing this I receive an 'unspecified error' from the OLE DB provider when attempting to run a query
    2) When running a ' select * ' query across a linked server using the provider, I receive the following error: Msg 9803, Level 16, State 1, Line 1
    Invalid data for type "numeric". I can, however, select all of the columns by name and the query completes (no error). Sometimes the 'select *' query returns a few rows before the error, sometimes it doesn't. The Microsoft Provider for Oracle does not have this problem

    Okay... I've got a Win2K3 Std Ed server (x64) running 64-bit SQL Server 2005 Enterprise Edition. I've installed the Oracle 10g 10.2.1 full client and admin tools, added two named services via the NetConfig assistant, and successfully set up (and tested) a connection via the ODBC Administrator to an Oracle database.
    Now... when I try to create a new connection manager in SQL Server 2005 Integration Services, the OLEDB provider for Oracle can't be found, and when I try to manually add an underlying OLEDB connection to the database, SQL Server reports:
    Test connection failed because of an error in initializing provider. The 'OraOLEDB.Oracle.1' provider is not registered on the local machine.
    Does anyone know what I need to do to see my ODBC Server data connections in SQL Server 2005 (64 bit)? I don't have this issue on my 32-bit SQL Server 2005 servers.

  • Trying to use Linked Servers in SQL 2005 to connect to RDB 7

    I'm looking for detailed info on how to set up a linked server in SQL 2005 to connect to my Oracle RDB 7 database (running on VMS). I'm able to connect via odbc using VS.Net and Sql Server 2005 Reporting Services. I'm not sure if I need to use the ODP.NET or not. I have created a generic linked server, but it requires me to use the OpenQuery function to access the data, which is not giving me the functionality I'm looking for.

    Hi doanpq,
    Please download and install OLE DB Provider for Visual FoxPro 9.0, which exposes OLE DB interfaces that you can use to access Visual FoxPro databases and tables from other programming languages and applications. Please see:
    http://www.microsoft.com/en-us/download/details.aspx?id=14839
    Then, please follow up the following article to create a linked server:
    Creating Linked Servers:
    http://technet.microsoft.com/en-us/library/ff772782(v=sql.105).aspx
    For more information, you can also take a look at the following article, especially Dave K's comment:
    http://blog.dbase.integralwebsolutions.co.za/2008/10/accessing-your-dbf-tables-via-linked.html
    Elvis Long
    TechNet Community Support

  • Powershell to create link between Access database and an ODBC Pervasive database

    So, I have the following script (thanks to JRV!):
    function Link-ExternalODBCTable{
          Param(
             $accessFile,
             $tableName,
             $tableName2
         if(-not $tableName2){$tableName2=$tableName1}
         $access.DoCmd.TransferDatabase(
                 [microsoft.office.interop.access.AcDataTransferType]::acLink,
                'ODBC Database',
                $accessFile,
                [microsoft.office.interop.access.AcObjectType]::acTable,
                 $tableName,
                 $tableName2
    $testODBC='ODBC;DSN=A1013v2012'
     Add-Type -Assembly Microsoft.Office.Interop.Access
     $access = New-Object -ComObject Access.Application
     $Access.OpenCurrentDataBase("E:\MyDir\TagLink.mdb")
     Link-ExternalODBCTable $testODBC all_per
     $access.CloseCurrentDataBase()
    What I get is:
    Exception calling "TransferDatabase" with "6" argument(s): "ODBC--connection to 'A1013v2012' failed."
    When I try from the ODBC Administrator, it tests fine (Connection Successful!). This is a 32-bit ODBC connection, using the Pervasive ODBC Engine Interface. Same as we use for other ODBC connections to this database. It is a System DSN, as opposed to User
    or File.
    I tried to skinny this down to:
    Add-Type -Assembly Microsoft.Office.Interop.Access
     $Access = New-Object -ComObject Access.Application
     $Connected = $Access.OpenCurrentDataBase("E:\MyDir\TagLink.mdb")
     $access.DoCmd.TransferDatabase(
                 [microsoft.office.interop.access.AcDataTransferType]::acLink,
                'ODBC Database',
                'ODBC;DSN=A1013v2012',
                [microsoft.office.interop.access.AcObjectType]::acTable,
                 'all_per',
                 'all_per'
     $Disconnected = $Access.CloseCurrentDataBase()
    ...which yields the same error.
    Where am I going wrong here?
    mpleaf

    If I try that, I get a new message:
    Exception calling "TransferDatabase" with "6" argument(s): "Could not find installable ISAM."
    The article you reference, I believe, is for SQL connection, not Pervasive SQL. I know the DSN works fine. We use it for other things a LOT.
    I'm at a loss...and I can't seem to find the right combination...
    mpleaf
    The point is that newer Access does not appear to support DSNs on ODBC without an full ODBC driver.  If you go DSN-less you will include the provider.
    Pervasive has always been a pain.  They break all rules and always have.  If this is Intuit Pervasive then it is even worse.
    ¯\_(ツ)_/¯

  • DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file

    Hi
    DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file
    Two main
    sections:
    1)     
    Perform
    write and read operations to and fro different spread sheet files, such that
    each file have a single row of 32bits different binary data (analogous to 1D
    array) where the left most bit is the MSB. I don’t want to manually enter the
    32 bits binary data, I want the data written or read just by opening a file
    name saves with the intended data.
          2)     
    And
    by using test patterns implemented using the digital pattern generator or  build digital data functions or otherwise, I need to
    ensure that the     
                binary data written to a spreadsheet file or any supported file type
    then through the NI-USB 6509 is same as the data read.
    I’m aware I can’t use the simulated
    device to read data written to any port but if the write part of the vi works I
    ‘m sure the read part will work on the physical device which I’ll buy later.
    My Plan
    of action
    I’ve
    created a basic write/read file task and a write/read DAQ task for NI USB 6509
    and both combine in a while loop to form a progress VI which I’m confuse of how
    to proceed with the implementation.
    My
    greatest problem is to link both together with the correct functions or operators
    such that there are no syntax/execution errors and thus achieve my intended
    result.
    This
    project is one of my many assignments for my master thesis, so please i’ll
    appreciate every help as I’m not really efficient with LabVIEW programming but
    I prefer it because is fun and interesting if I get to know it.
    Currently I’m
    practicing with LabVIEW 8.6/NI DAQmx 8.8 Demo versions and NI USB 6509
    simulated device.
    Please see
    the attached file for my novice progress, thanks in
    advance for the support
    Rgds
    Paul
    Attachments:
    DIO_write_read DAQ from file.vi ‏17 KB

    What does your file look like?  The DAQmx write is expecting a single U32 value, not an array of I64. 
    Message Edited by vt92 on 09-16-2009 02:42 PM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • Compare two tables on different server without using Linked Servers

    I have an SSIS package that needs to compare a table to another table on another server.  Then only delete data from the first table if it exists in the second table.  
    I know this is possible with Linked Servers but we are doing away with them in my company.  Is there a way inside of SSIS to do this?
    Oh and I can't use a Data Flow since I don't know the table names or columns at run time (the whole package is dynamic) so I can't map the columns ahead of time.  
    So no MERGE JOIN unless it can be used outside of a Data Flow.  

    You 'll have to use the Data Flow Transformation, thing is, given the constraints, your only option seems to be in generating the package programmatically (using code).
    The type of a program would be a Windows Console. The program would expect a few parameters as the source and target tables along with any necessary connection parameters.
    Then use the merge join (being the easiest to code in) in an Execute SQL Task component.
    Examples of coding packages:
    Samples for creating SSIS packages programmatically
    PS: I can tell you, given your circumstances, at the very minimum the impact on the bottom line of your company is brittle apps accompanied with expensive maintenance which translates into reduced ROI from your tooling.
    Arthur My Blog
    The package is table driven and is a dynamic archival process.  The end user just fills in the framework table and the package archives data from within a certain time range.  The table can exist on any server, any database.  
    That part is done.  The part that still needs to be accomplished is to delete data out of the base table since it is archived.  I need a safe way of doing this and so thought to compare the archive table against the base table.  Because they
    can exist anywhere and can have any name I am not sure how to do this without Linked Servers.  That being said we will not have Linked Servers for this.  
    Is there another safe way to delete data out of the base table?

  • Windows 7 Enterprise with Visual Studio 2008 and 32 bit ODBC access

    I have a 32 bit ODBC used to access Progress databases. We have to use the 32 bit driver.   My development had been run on XP in the past with no issues.  I have moved to a Windows 7 Enterprise workstation currently and cannot access
    through my app. The ODBC was installed as 32 bit through the SysWow64\odbcca32.exe with no issues.  I have tried to run my app with the x86 option but it still does not see the ODBC.  I went in and created a fake ODBC in the 64 bit interface
    and the app did see that ODBC so the app is running in 64 bit mode.  How can I force this app to run as 32 bit on my machine?  Thanks in advance. 

    Hi,
    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    For your issue how to force the app to run as 32bit, if you are working with Windows Forms app. please consult on Windows Forms Forum:http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    If you are working with WPF app, please consult on WPF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
    If you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    If the app is a C++ win32 app, please consult on Visual C++ forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Distributed Transactions and Linked Servers

    I'm somewhat of a novice with SQL Server but I'm learning rapidly from an application I'm developing that uses SQL Server very heavily. In conjunction with the development of this application, I have 3-4 systems set up running SQL Server and I am using those
    systems to develop the database that will ultimately support the application. I decided to try to use linked servers because I am moving data back-and-forth among the different servers frequently and I ran into some consequences that I wasn't expecting.
    I was doing a simple delete query on one of the servers (Delete from TableName Where ...) and I was expecting, of course, that it would only impact the server I was running it on; however, when the query finished after running for a long time, it was apparent
    that SQL Server had automatically escalated that simple delete query into a distributed transaction and applied it to all four of the linked servers I had defined.  I was totally surprised by that and it took some time to recover the data that was inadvertently
    lost on the other servers.
    I want to ensure that this doesn't happen again without me expecting it - I think the right way to prevent this from happening is to run the following stored procedure:
    EXEC sp_serveroption 'servername', 'remote proc transaction promotion', 'false';
    Can someone please verify that this assumption is correct and will prevent SQL Server from automatically creating distributed transactions impacting multiple servers?
    Thanks,
    Chuck

    Hello,
    Based on your description, it seems that when you connect to a SQL Server database and execute a DELETE statement to delete a recode on a table, and then the same recode were delete in the linked server which has the same table.
    As pre my understand, the statement executed on one server will not  apply to the linked servers unless you specify the logic yourself in the application. For example, you use dynamic query and exec the query synchronously on  linked servers.
    What's more, did you specify replication between this linked server?
    If I have any misunderstanding, please let me know.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • Executed as user: ADMIN\abc-SQLServer. Linked servers cannot be used under impersonation without a mapping for the impersonated login. [SQLSTATE 42000] (Error 7437). The step failed.

    Hi All, 
    We have verified permissions on both sides,current server and linked server, the user has sysadmin.
    Another key piece of information is that this is happening when executing a SQL Job.
    Thanks.

    Related:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/328616e9-42cb-40d7-a4b1-671d6a492d8f/linked-servers-cannot-be-used-under-impersonation-without-a-mapping-for-the-impersonated-login?forum=sqldatabaseengine
    https://support.microsoft.com/kb/2492477?wa=wsignin1.0
    http://sshakespeareblog.co.uk/2013/07/31/sql-linked-server-and-sql-server-agent/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • BO4 - Which servers use/need 32-bit drivers

    Hi,
    Looking at admin manual mentions some serves use 32 bit rather than 64-bit servers.
    Can't find mention of exact ones e.g if only Crytsal ones then is it worh installing the 32-bit middleware e.g oracle client.?
    Using BO4 SP5 on Winodws 2008 R2 servers (primarily WEBI, some dahsboards - no Crytsal currently used)
    Anyone know eaxctly which services use 32-bit as oppose to 64-bit drivers.
    If so assume fine just to isnatll under same user account on windows server as the account used to install the 64-bit cleint.
    Thanks

    Philip,
        The only server modules that working in 32bit is Connection 32bit to support the install of 32bit client drivers, otherwise all server modules are running 64bit.  You have TWO connection server, ONE for 32bit and another for 64bit support.
    Some database that 32bit can support connection from 64bit clients, like Oracle or MS SQL.
    Other databases running 64bit you may want to use 32bit clients, such as IBM Db2 because of stability.
    Regards,
    Ajay

Maybe you are looking for