How to connect SQL Server x64 to Progress, using OE10.2Bx86? - openedge

OS: Microsoft Windows Server 2008 R2 Enterprise - 64-bit - En.Us
DBMS: Microsoft SQL Server 2008 R2 Standard - Windows - 64-bit - En.Us
ODBC Driver: Progress OpenEdge 10.2B - Windows - 32-bit - En.Us
I don't have the related ODBC Driver in 64-bit version.
Do I have options to connect, to the Progress Database, using Query, or Linked Server? If I have, what are my options?
Thank you all!!!

The Progress ODBC drivers can be downloaded from the Progress site. Log in with your ID on http://www.progress.com/esd/
Contact support if you can't find them.
There's also a product called "Pro2" replication that can "almost live" replicate from Progress to for instance SQL server if you have that demand. It might only be offered from 11.X and forward, I'm unsure about that.
https://www.progress.com/openedge/features/openedge-pro2/

If you were to download one of the 11x 64bit Client Access bundles, these will quite happily connect to a 32bit 10.2b database.
http://knowledgebase.progress.com/articles/Article/P88405

You do have options. Fundamentally, you can use our Multi-Tier ODBC Drivers for Progress (versions 6.x to 10.x) to connect a 64-Bit ODBC Compliant application to a 32-Bit Progress RDBMS. This 64-Bit client to 32-Bit server bridging is achieved as a result of the RDBMS-independent communications layer used by these drivers.

Related

Migrate the database from the windows server to the Linux server from different versions 11g to 19c

We need to migrate the database from the windows server to the Linux server from different versions 11g to 19c.
Source:
Oracle Product Version:11.2.0.4
Operating System: Microsoft Windows x64 2012 R2
Database Size:1.5TB
Target:
Oracle Product Version:19.3.0.0
Operating System: Red Hat Enterprise Linux 8.4
Database Size:1.5TB
Can you suggest recommended approach (steps) to move the data?
Either by export/import or RMAN? If any other alternatives. Kindly suggest.
Can you please estimate the time duration of export and import?
Can you please estimate the time duration of RMAN?
In RMAN migration different OS Platform applicable?

Oracle 10G Installation on Windows

I have a database: Oracle SQL Developer 3.2.20.9
an asp.net web application running locally on a pc with Windows 7 enterprise 64 bit, and to developed it I used Visual Studio 2013.
Now I should connect the application with the db so I' m trying to install:
Oracle 10g ODAC and Oracle Developer Tools for Visual Studio .NET
I get this Error:
"Abnormal program termination. an internal error has occured. Please provide the following files to Oracle Support:
Unknown
Unknown
Unknown"
Could I connect the webapp in other ways?
When I go to Server Explorer in Visual Studio and I choose connect to database -> add connection -> Oracle database -> .NET framework Data Provider for Oracle
I get:
"This provider is deprecated and should not be used. Instead, download Oracle Developer Tools for visual Studio for comprehensive integration with Oracle databases."
Oracle supports connections back two versions. You should try installing the ODAC client for 11g as that will connect to a version 10 database and supports windows 7.
Seeing as SQL developer is free why not get the latest version 4.02 here
Be sure to get an ODAC version that matches the bitness of the database, 32 bit or 64 bit. You can check this by logging onto the machine with Run > cmd > sqlplus > connect as your user/your password. If the header that is returned does not say 64 bit then the database is a 32 bit install and you need ODAC to match that.
And seeing as connecting to Oracle is popular question a good troubleshooting routine is
connect from sqlplus on the database
connect with sql developer from your client pc
then try connecting through Visual Studio.

is there a 64-bit msdasql for windows 7?

I am using Windows 7 (x64bit) Ultimate.
I have both ODBC32 and ODBC64 Managers that I can access via Start.
The default appears to be the ODBC64.
However I do not see MSDASQL -Microsoft OLEDB for ODBC listed.
I wonder if it exists. I see some references to 64Bit MSDASQL for Windows Server 2003.
The IBM 64bit for ODBC seems to work (I heard) but not tried.
Now I would like to know if any one knows the link for 64-bit MSDASQL for Windows 7. Microsoft seems to have deprecated MSDASQL and I am not sure of the status of this story.
These issues came up while setting up a linked server in SQL Server 2012 for SQL (SAP) SqlAnywhere server.
I am not sure how I missed. This link allows you to download the Microsoft Access Database Engine 2010 Redistributable
http://www.microsoft.com/en-us/download/details.aspx?id=13255
The details of this indicates both ODBC and OLEDB as copied from the Microsoft Web Site:
"This download will install a set of components that facilitate the transfer of data between existing Microsoft Office files such as Microsoft Office Access 2010 (*.mdb and .accdb) files and Microsoft Office Excel 2010 (.xls, *.xlsx, and *.xlsb) files to other data sources such as Microsoft SQL Server. Connectivity to existing text files is also supported. ODBC and OLEDB drivers are installed for application developers to use in developing their applications with connectivity to Office file formats. "
There is no MSDASQL x64 bit for Windows 7. There is one for Windows Server 2003. I finally was able to create a linked server in SQL Server 2012 Express using the SAOLEDB.16 from Sybase/SAP.
Although I replied myself that there is no MSDASQL(x64)based on some 'deprecated items' information I am still looking at it.
Here is a link to the same question on MSDN:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/3c715023-4322-4bc6-a2c8-64a873f87e46/can-someone-confirm-the-architecture-of-this-file-preferably-microsoft-guys?forum=sqldatabaseengine#db5ed4e2-2391-4062-b34d-1f1b11431e1e

Unable to connect the Oracle server on 64 bit machine through ASP.NET on 64 bit machine

I am new to Oracle..and i am working on a ASP.NET Application whose backend is Oracle 11g.
I have 2 Machines for development. One is the Database Server(Windows Server 2008 R2) and second is the Application server(Windows 7).
I have installed a Oracle server 11g standard edition on Database server machine.
I have installed the Visual Studio 2010 and oracle 11g client on the Application server.
Now i am able to connect the oracle database server through the Application server using Toad.
But when i try to connect the database server through the ASP.NET 4.0 Application, then i am unable to connect the oracle and get the following error...
Attempt to load Oracle client libraries threw BadImageFormatException.
This problem will occur when running in 64 bit mode with the 32 bit
Oracle client components installed.
I have tried to set the Target Platform to x64 , but still it didnt work...
Any Help/Suggestions will be appreciated....
Thanks in Advance.....
The issue seems to be exactly what it says. Looks like the Oracle Client you have installed is a 32-bit Oracle client. Download and install the 64-bit version of Oracle client.

32-bit Text drivers (Microsoft Access , Microsoft Excel and Text files ) from a 64 bit application on windows 7

Hi i have an application developed on XP with Text ODBC drivers. But when i deployed on Win 7 with office 2007, i have connection issues.
<add key="SQLConnection.TextConnectionString" value="Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=c:\Data\;Extensions=asc,csv,tab,txt;Persist Security Info=False" />
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
i have googled every solutions like installing the following
http://blogs.msdn.com/b/sqlblog/archive/2009/12/29/how-to-connect-to-file-based-data-sources-microsoft-access-microsoft-excel-and-text-files-from-a-64-bit-application.aspx
Microsoft Access Database Engine 2010 Redistributable (32-bit)
2007 Office System Driver: Data Connectivity Components
after all of those, in my datasources(ODBC), it still only shows "SQL native client/SQL server/SQL server native client"
in the C:\Windows\SysWOW64\odbcad32.exe
i can see all the x32 drivers, but how can i modify my connection strings to access 32-bit Microsoft Text Drivers or are there any alternative solutions?
Thanks
I'm pretty sure it'll work automatically (even on a 64-bit machine) as long as the executing process is 32-bit.
Try recompiling to target x86 specifically.
You need the 64-bit Microsoft Access Database Engine 2010 Redistributable
http://www.microsoft.com/downloads/details.aspx?familyid=C06B8369-60DD-4B64-A44B-84B371EDE16D&displaylang=en
Then try
Microsoft Access Text Driver (*.txt, *.csv)
for the driver name.
AFAIK, all 64-bit ODBC drivers from the Microsoft Access Database Engine 2010 64-bit Redistributable have slightly changed their driver names, I guess to differentiate them from their 32-bit counterparts.
I had this exact problem and the recompiling to target x86 specifically worked! Note that in order to do this I had to specify the Target CPU in the advanced compiler setting dialog - Project Menu> Properties> Compile tab> Advanced Compile Options button.
Before finding this forum entry I did install the Microsoft Access Database Engine 2010 Redistributable (32-bit) but I don't know if that had any affect on this issue.
As mentioned above, when the executing process is 32-bit (in this case compiling against x86 makes the app 32-bit specific) the application will use the drivers from C:\Windows\SysWOW64\odbcad32.exe.
Thanks Cameron.
We were doing this from ASP.Net and got it working on Windows 2012 just by moving the one site into a separate app pool that had "32-bit Enabled" turned on in the advanced settings for the App Pool.
A lot of people seem desperate here, I want to offer a few solutions. But, first I want to highlight what a dated proprietary trash idea from the 90s this is.
Use Unix ODBC to host the text file from Linux which the docs (seem to) claim to support an implementation of the Microsoft text driver
A better option would be of course to import the CSV into PostgreSQL.
I would suggest just doing this with \COPY and dropping the notion of a CSV.
You can maintain the CSV with PostgreSQL acting as a server with the Foreign Data Wrapper (file_fdw).
If you don't want to run an RDBMS, the modern way would be to use SQLite. This is a great idea if you don't need the server/client model.
The ODBC->text interface is especially insane, because ODBC doesn't define configuration beyond connection (so I assume there are lots of assumptions there).

Resources