ODAC with Oracle 10g and Visual Studio 2008
Hello-
Is the an ODAC version supporting Oracle 10g with tools for Visual Studio 2008? I've installed the ODAC 11.2 version for VS 2008, however the Oracle data source connection does not display for the Data Entity Model, only the usual SQL Server connections.
Thank you in advance!
Hello again-
First off, thank you for prompt reply. After poring over some of the postings, I'm gaining an understanding of when ODAC and the Entity Designer marriage came together and your answer solidified it.
My situation is I've developed an ODATA service with VS2010, Oracle 11g and ODTwithODAC112030 and everything works fine. I then deploy the service to the company's Windows 2003 server using Oracle 10g. I've also went ahead an installed the ODTwithODAC112030 on the server and copied the tnsnames.ora file into the oracle client's directory associated with the ODAC installation. When I query the Oracle database's metadata in IE, e.g. http://localhost:8050/DataMgmt/$metadata, a listing is displayed as expected; however, when I query a particlar database table listed in the metadata, an error is returned that the request could not be processed. Any ideas?
Thank you.
Similar Messages
-
Oracle 10g XE & Visual Studio 2008
I can use OleDb connector in VS2008 because a message said "client not installed".
I used ODPNET with InstantClient 11 but can't use ETL software (I use MSSQL 2008 and export data to 10g XE)
Can you help me?Hi, you need to configure the file in the directory where you installed ODPNET.
the content tnsname file is:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = host_name)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
Roberto. -
Slow first connection using Oracle 10g xe and Visual Studio 2008
{noformat}
Good day,
I'm slightly unaccustomed to using forums, so bear with me.
My initial connection to the Oracle database takes approximately 30 seconds. It seems to be waiting for a connection before timing out and trying another connection which works, as all subsequent connections work immediately. I'm unsure how other people's responses in forums can help me due to the plethora of configurations, so here's mine. My comprehension of the oracle world is still growing, you'll have to explain the terms you're using for me, Hoping you can help.
I'm using Visual Studio 2008, set to use 32 bit debug mode, on a Windows 7 Pro platform. Also using Oracle 10g Xe, and have installed the 32 bit version of ODAC 11.2 (11.2.0.1) to aid making a connection from Visual Studio to Oracle.
I have a database set up and a user with system admin rights. This is all local for a programming project and will never see the light of day outside of my personal machine.
I am using code to connect, not the GUI. I wish to code this project completely without the aid of the GUI. so my connection string within Visual Studio C# is (pw/id hidden)...
string xe = "Data Source=xe;User Id=xxxxx;Password=xxxxx;";
OracleConnection conn = new OracleConnection(xe);
My c:\devsuitehome\network\admin\sqlnet.ora file is this:
# sqlnet.ora Network Configuration File: C:\DevSuiteHome\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
And my c:\devsuitehome\network\admin\TNSNames.ora file is this:
tnsnames.ora Network Configuration File: C:\DevSuiteHome\network\admin\tnsnames.ora
Generated by Oracle configuration tools.
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = xe)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = <machine name)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
Just for good measure, my tnsping xe shows:
"Used paramter files:<br/>
c:\devsuitehome\network\admin\sqlnet.ora<br/><br/>
Used TNSNAMES adapter to resolve the alias<br/>
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = xe)))
OK (0 msec)"
So, how can I make that initial connection faster so I don't spend 15 years testing my application due to slow start-ups? :)
Thank you.
Kevin.
{noformat}
Edited by: 832285 on Jan 29, 2011 10:08 AM
Edited by: 832285 on Jan 29, 2011 10:10 AMI have formatted my hard drive since my first post. I was running window 64 bit with a higher version of the ODAC and that proved to crash my machine with faulty error messages about memory. I have reverted to a previous version of the ODAC tools and everything works very smooth now. Still the connection time is consistently 20 seconds or longer on the first attempt.
Just a little more information.. I am currently taking a college course with 15 other students, as you can tell by the impersonal machine name, where programming using visual studio 2008, and Oracle 10g xe is expected. All of us are using a 64 bit environment and we all have difficulties cutting down the load time of making the first connection to Oracle. Some people are longer making the connection, but none are shorter.
One other note. After the first connection is made, taking 20 or more seconds, and is closed, all subsequent openings of the connection are instantaneous, for all of us.
If there is ANYTHING more I can get for you, please let me know. With my environment stable as it is, I will not need to format or change any information for the foreseeable future.
Here is the information you requested
1 The connection method I am using, I have chosen the manual connection for you, however the delay exists if the connection is made through the GUI as well.
Historically, I am getting slow connection speeds through adding the connection through the GUI or by a manual connection. Here is how I am doing it manually. I have the connection being created in 20 seconds, which is the best I can get.
Imports Oracle.DataAccess.Client
Also included project reference: oracle.dataaccess / version 2.111.6.20
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim connString As String = "Data Source=XE;User Id=abc;Password=abc;"
Dim con As OracleConnection = New OracleConnection()
con.ConnectionString = connString
Try
con.Open()
MessageBox.Show("Connected!")
con.Close()
con.Dispose()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End SubMy current TNS Ping results
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-FEB-2011 01:02:36
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (0 msec)2 Connection to SQL plus is instantaneous.
I fought for weeks about the ODAC version 11.2.0.1 that you see in the previous post, and that would be a whole new thread. Suffice it to say I have a reliable environment to program in with this 10.2.0.1.0 version that I am running now, and the connection time has not changed, it is still minimum 20 seconds load time, sometimes up to 25.
3 Ram usage in my typical environment
I am running this laptop with 4 gigs of ram. This is a typical environment I would be running my application in.
Physical memory
total 4090
cached 1753
available 2345
free 656
system
handles 27141
threads 911
processes 70
commit megs 2860/8179
kernel memory megs
paged 201
nonpaged 52
4 I formatted my machine and reinstalled the Windows 7 professional operating system as of a few nights ago. The Oracle software on my machine is
Oracle Database 10g express edition
ODAC 11.1.0
I amm not sure what filename you would need in addition to the product names that I have installed.
5 The information from the SET command is
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\stepheke\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=STEKEV0908
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\stepheke
LOCALAPPDATA=C:\Users\stepheke\AppData\Local
LOGONSERVER=\\STEKEV0908
NUMBER_OF_PROCESSORS=2
oracle_sid=xe
OS=Windows_NT
Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Oracleapp\stepheke\product\11.1.0\client_1;C:\Oracleapp\stepheke\product\11.1.0\client_1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Windows Live\Shared
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=170a
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\stepheke\AppData\Local\Temp
TMP=C:\Users\stepheke\AppData\Local\Temp
USERDOMAIN=stekev0908
USERNAME=stepheke
USERPROFILE=C:\Users\stepheke
VS90COMNTOOLS=c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
windir=C:\Windows -
Crystal Reports 10 and Visual Studio 2008
Hi All
I've got an application that I recieved from my cleint. This is running Visual Studio 2008 and Crystal Reports 10 backend being Oracle 10.2
However, when I try to run the applincation and open any report it pops up an error "crdb_oracle.dll" not found.
I have searched this on the internet and found that there were many suggestions there. I've tried all the suggestions like reinstalling the Oracle client, Re Installing Crystal etc.,
But the error remained as is.
When i try to do a regsvr32 on this dll it fails. Am really not sure why this is happening
Any help from any one out there is highly appreciated.
Pavan
UPDATE:
I've verified the versions though. They are workign fine at the customer place.
Here is what they have done.They have got Oracle, VS 2008 and Crystal Reports 10. They got the reports embedded into .NET environment and are able to view the reports.
But when we try to execute the same code, it pops up the error, "Crdb_oracle.dll" could not be loaded.
Wanted some support on this.
Additionally, could you suggest on what needs to be done? Do we need to upgrade crystsal to crystal 2008? Will this work without any errors on the execution side (I'm sure that the customer of mine will not be happy or willing to upgrade but atleast if I get a confiramtion from you I can atleast quote this to the customer) and without any extra redesiging of the reports or any other work on the reports
Pavan Kumar
Edited by: pavan kumar on Jul 30, 2008 4:01 PMHi, Pavan;
Likely the problem is that the report was created with a different version of Crystal Reports than the one that ships with VS.NET 2008 (Which is Crystal Reports Basic for VS.NET 2008 - version 10.5). If the report was created with a full version of Crystal Reports, then it would have access to our native Oracle driver, the dll that is giving you the issue.
The full version of Crystal Reports would install that dll, but the .NET version would not. In order to distribute that DLL, yes, the client would need to develop with the full version of Crystal Reports, in this case Crystal Reports 2008.
Regards,
Jonathan -
How to install BIDS for SQL Server 2008 R2 and Visual Studio 2008(SSRS,SSIS)
Hi,
I want to install SQL Server 2008 R2 and Visual Studio to use SSRS tool, where to download these application. And my System Configuration is Window 8.1,64 Bit.
Please share step by step information to download and installation. Kindly Reply soon.
Thank you
Pravesh KumarHi Pravesh Kumar,
As Visakh16 suggestted that you can download sql 2008 r2 standard and developer editon.
If you have a subscription associated with your Microsoft account, you can download sql 2008 r2 standard and developer editon from below link, but these two editions are not for free:
https://msdn.microsoft.com/subscriptions/securedownloads/
Microsoft also provide the evaluation edition for free use of 180 days. This software is for evaluation and testing purposes. The evaluation is available in ISO format. Web, Standard, Enterprise and Datacenter editions are available via the same download:
http://www.microsoft.com/en-us/download/details.aspx?id=11093
More details information about the feature supported by different editions in the article below:
Features Supported by the Editions of SQL Server 2008 R2
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
XI, Service Packs and Visual Studio 2008
Hi
Sorry if these questions have already been answered but I have tried to search and get the answers myself with lots of link following and frustration.
We are developing a Windows forms application using Visual Studio 2008.
We need a good solid report tool for both designing and viewing reports based on SQL data.
Due to past exposure to Crystal, we have decided to use a Developer Edition of Crystal Reports XI we have had for a long time (think it was a promotional offering when XI was first released).
The Help-About version is 11.0.0.1282
I have a couple of questions:
1. What service packs can I apply to this build ? Looking on the download section of this web site, there are no updates available for XI (there are plenty for XI R1 and XI R2). Can I apply the R1/R2 updates to this build, if not can I upgrade to any of these builds ?
2. I have noticed that even when installed after VS2008, the Crystal Version of the Viewer is still 10.5.0.0
I can created reports in XI and use them with this viewer but can I get a XI build of the viewer and other .NET objects. If not what are the options (apart from upgrading to 2008, this is price restrictive).
If there are already answers or knowledge-base articles containing the answers to these questions please just post the links, if not then some help would be appreciated as this whole thing is really confusing and I really don't want to go back to trying to use the Microsoft Reports package shipping with VS2008.
Many thanks
Mark Harby
Nottingham. UKHI,
First of all:
If you are planning to use VS2008 then you need to use CR 2008 SP0 or above to make it compatible.
1. What service packs can I apply to this build ? Looking on the download section of this web site, there are no updates available for XI (there are plenty for XI R1 and XI R2). Can I apply the R1/R2 updates to this build, if not can I upgrade to any of these builds ?
Officially CRXI has reached the end of life cycle.
Upgrade from CRXI R1 to R2 is free. You need to download the CRXIR2 sp2 setup and install the complete product alogn with SP2 using the CRXIR1 keycode.
2. I have noticed that even when installed after VS2008, the Crystal Version of the Viewer is still 10.5.0.0
I can created reports in XI and use them with this viewer but can I get a XI build of the viewer and other .NET objects. If not what are the options (apart from upgrading to 2008, this is price restrictive).
As stated you need to either use CR that comes with VS2008 or use CR2008 with SP0 or above. That is why you are unable to see the upgraded viewer. The other options would be to use VS2003 with CRXI and above or use VS2005 and CRXIR2 sp2 and above.
Some links:
[Compatibility chart.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313335333833323336%7D.do]
[Platform guide for all products.|Articles]
Hope I have covered them all!
Regards,
AG. -
Oracle 11g compatibility with oracle 10g and 9i?
Hi All
I have some queries on 11g compatibility.
Is oracle 11g client compatible with oracle 10g client which is already installed on desktop?
If yes any changes to be done and where?
Is oracle 11g compatible with oracle 10g/9i on the same server where 10g/9i are installed?
RegardsThanks Justin Thats right ...
Problem elaboration is as follows
We currently have an application which requires oracle 10g(10.2.0.3) client to connect to database from user desktops. As
part of new application development the oracle 11g clients need to be installed on all the user deskotps.
The complete application software along with oracle client 11g has to be roled out on these desktop as part of
implementaion of new application besides the existing application(The application software is packaged along with oracle
10g client).
We would like to understand if there is any software provided by oracle using which we can switch between different oracle
versions while accessing the respective applications simultaneously. Also are there any known bugs/issues in running
oracle 10g client and oracle 11g client together on the same user desktops with different oracle homes? -
Oracle 11g for Visual Studio 2008 errors
I installed llg four(4) times and get the same result: I can't get a Data Connection!!! There is no other Oracle version on this computer and I've cleaned up the registry on all four installs. In order to run SQLNET you must first have a Data Connection! Can someone that has experience with Visual Studio and Oracle 11g installation please tell me what I'm doing wrong? HELP! PLEASE, email me directly at: [email protected] Thanks. Any documentation would be helpful.
Edited by: lam5158 on Sep 23, 2009 3:38 PMSorry, you are right and it's my fault. Thanks for the tip. I saw the versions listed when I did the install, but I didn't realize I needed to select any because I thought it would install automatically for whichever VS versions you had installed.
Thanks again! :) -
Oracle 11g for Visual Studio 2008
I installed llg four(4) times and get the same result: I can't get a Data Connection!!! There is no other Oracle version on this computer and I've cleaned up the registry on all four installs. In order to run SQL*NET you must first have a Data Connection! Can someone that has experience with Visual Studio and Oracle 11g installation please tell me what I'm doing wrong? HELP! PLEASE, email me directly at: [email protected] Thanks. Any documentation would be helpful.
Excellent test case, may by you should raise an SR and hope it ends up as a bug.
What happens if you "ping box01.data.local" what IP Address do you get back? You should be looking to get back the loopback address.
What happens if you do a nslookup 192.168.30.64 and 192.168.1.100?
Have you tred setting ORACLE_HOSTNAME? Not sure if this is just for the installer or not. -
ORA-28545 Between ORACLE 10G and SQL SERVER 2008
Hi All,
i'am doing heterogeneous connectivity as oracle 10G (Unbreakable linux4) to sql server (SQL SERVER 2008)
The DSN and the connections works ok (FreeTDS and UniXODBC).
I create the dblink
create database link inforpyme connect to "sa" identified by " " using 'INFORPYME';
and when I do select * from "sysobjects"@inforpyme I get the next error:
ORA-28545: error diagnosticado por Net8 al conectar a un agente
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: 2 lines precediendo a INFORPYME
This is my listener:
IBK =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY=PNPKEY))
SID_LIST_IBK =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ibk)
(ORACLE_HOME = /App/oracle/ora10g2)
(SID_NAME = ibk)
(SID_DESC=
(SID_NAME=inforpyme)
(ORACLE_HOME=/App/oracle/ora10g2)
(PROGRAM=hsodbc)
My tnsnames:
INFORPYME =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME=inforpyme))(HS=OK)
The TNSping gets
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME=inforpyme))(HS=OK))
OK (0 msec)
and the initINFORPYME.ora:
HS_FDS_CONNECT_INFO = inforpyme
HS_FDS_TRACE_LEVEL = debug
HS_FDS_TRACE_FILE_NAME = /tmp/freetds.trc
HS_FDS_SHAREABLE_NAME = /usr/local/lib/libtdsodbc.so
# ODBC specific environment variables
set ODBCINI=/usr/local/etc/odbc.ini
Anybody may help me? ThanksSorry i think has been a misunderstanding
this is my /App/oracle/ora10g2/network/admin/listener.ora
IBK =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY=PNPKEY))
SID_LIST_IBK =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ibk)
(ORACLE_HOME = /App/oracle/ora10g2)
(SID_NAME = ibk)
(SID_DESC=
(SID_NAME=inforpyme)
(ORACLE_HOME=/App/oracle/ora10g2)
(PROGRAM=hsodbc)
I stop a start and this is the status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-SEP-2012 13:18:30
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 25-SEP-2012 13:16:40
Uptime 0 days 0 hr. 1 min. 49 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /App/oracle/ora10g2/network/admin/listener.ora
Listener Log File /App/oracle/ora10g2/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ovm1ora.drvsa.com)(PORT=1521)))
Services Summary...
Service "ibk" has 1 instance(s).
Instance "ibk", status READY, has 1 handler(s) for this service...
Service "ibkXDB" has 1 instance(s).
Instance "ibk", status READY, has 1 handler(s) for this service...
Service "ibk_XPT" has 1 instance(s).
Instance "ibk", status READY, has 1 handler(s) for this service...
The command completed successfully
i don'nt know why doesn't appears the service inforpyme, this it normal? -
HSODBC connectivity between ORACLE 10g and SQL Server 2008 R2
Hi,
I'm getting below error when using the DB link between Oracle (10.2.0.2 which is on Sun Sparc) and MS Sql server 2008 R2.
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source
name not found and no default driver specified (SQL State: IM002; SQL Code: 0)
ORA-02063: preceding 2 lines from SCOPEX.WORLD
My Config files:
On Sun Sparc 5.9 where Oracle server is running.
TelemetryDB1 =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
(CONNECT_DATA=(SID=TelemetryDB1))
(HS=OK)
Listener.ora file on Windows machine:
TelemetryDB1 =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
SID_LIST_TelemetryDB1 =
(SID_LIST=
(SID_DESC=
(SID_NAME=TelemetryDB1)
(ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
(PROGRAM=hsodbc)
Tnsnames.ora file:
TelemetryDB1 =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
(CONNECT_DATA=(SID=TelemetryDB1))
(HS=OK)
initTelemetryDB1.ora file under ORACLE_HOME\hs\admin\
HS_FDS_CONNECT_INFO = TelemetryDB1
HS_FDS_TRACE_LEVEL = OFF
We have created DNS with TelemetryDB1.
I'm getting the above error for DB links between Oracle 10.2 and SQL Server 2008 R2. But the same, when configured for MS SQL server 2000 works fine without any issues.
Please advise me to rectify the error. We've been working for the last couple of weeks.
Regards,
SunilSunil,
You don't need an Oracle ODBC driver.
The way it works is that in the gateway init<sid>.ora file, in your case initTelemetryDB1.ora, the parameter HS_FDS_CONNECT_INFO points to a system DSN. This DSN should then be configured to use an ODBC driver to connect to the non-Oracle database. So, in your setup when you want to access the SQL*Server 2008 database then the DSN should use an ODBC driver that can connect to a SQL*Server 2008 database. If you still use the initTelemetryDB1.ora file for the connection then the TelemetryDB1 DSN should be configured to access the SQL*Server 2008 database.
However, there are a couple of problems with your actual setup -
- the configuration you have - 10.2 RDBMS on a Sun machine and HSODBC on Windows - is not supported. HSODBC should only be used from a RDBMS that is in the same ORACLE_HOME as HSODBC.
- 10.2 HSODBC is now desupported and has been replaced by the 11g Database Gateway for ODBC (DG4ODBC) and the configuration you want is supported. That is because unlike HSODBC the DG4ODBC gateway can be installed standalone with a RDBMS being installed.
I recommend that you download and install 11.20.2 DG4ODBC on your Windows machine in a new Oracle_home and access that from the 10.2 RDBMS on Sun - which is a supported configuration. But to do this, you will need to apply either the 10.2.0.4 or 10.2.0.5 patchset to your RDBMS.
There is more information in the following note available on My Oracle Support (MOS) -
Note.1083703.1 Master Note for Oracle Gateway Products
The 11.2.0.2 DG4ODBC can be downloaded from MOS as patch and for the gateways on Windows 32-bit you just need to download -
p10098816_112020_platform_4of6.zip
However, to check the HSODBC ou need to confirm that the DSN used by HSODBC points to a System DSN configured to access SQL*Server 2008.
Have a look at -
Note 109730.1 How to setup generic connectivity (HSODBC) for Windows NT
But remember this is not a supported version or configuration and you should be using Dg4ODBC.
Regards,
Mike -
Needed help on connecting weblogic 8.1 SP5 with oracle 10g and mysql 5.0
Hi !!
Hope you are doing well...
Can anyone tell me how to connect weblogic 8.1 SP5 with an oracle 10g DB on windows..
also, how to connect weblogic 8.1 SP5 with mysql 5.0 on windows..
Please step by step... very urgent..
Thanks!! JhonsonShouldn't this be posted in BEA forums?
Try getting help there and if you encounter any Oracle related exception, you can post here. -
Oracle 11g ODAC with Oracle 10g Database
Hi,
I am trying to work with SDO_GEOMETRY from .Net.
When selecting * to a DataSet exception is thrown - Unknown column type.
So, i saw that Oracle Data Provider for .NET 2.0 11.1.0.6.20 supports User Defined Types. My question is this:
If i will install only ODP 11.1.0.6.20, will my system still work with everything else from 10g version?
(It's very hard to convince bosses to transfer all DB to 11g just because of UDT, so it's not an option).
Thanks in advance,
MaxI also just discovered this thread:
Which version of ODT should I use?
That does it for me. -
Crystal reports integration with sql server and visual studio 2010
when I am trying to open a crystal report through code ( visual basic 2010 ) I get the error
the report has no tables
I am using SQL SERVER 2008 R2
HERE IS THE CODE I WROTE
Imports System.Data
Imports System.Data.OleDb
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Windows.Forms
Imports CrystalDecisions.Shared
Public Class frmRep
Dim objConnection As New OleDbConnection("Provider=SQLOLEDB;Data Source=ASHRAF-PC\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=TEST")
Dim objDataAdapter As New OleDbDataAdapter()
Dim objDataSet As New DataSet()
Private Sub CrystalReportViewer1_Load(sender As System.Object, e As System.EventArgs) Handles CrystalReportViewer1.Load
End Sub
Private Sub frmRep_Load(sender As Object, e As System.EventArgs) Handles Me.Load
Dim cr As New ReportDocument
objDataAdapter.SelectCommand = New OleDbCommand()
objDataAdapter.SelectCommand.Connection = objConnection
objDataAdapter.SelectCommand.CommandType = CommandType.Text
objDataAdapter.SelectCommand.CommandText = "select * from bands"
objConnection.Open()
objDataAdapter.Fill(objDataSet, "bands")
objConnection.Close()
cr.Load("D:\MY VB 2010 PROJECTS\test2\test2\CrystalReport1.rpt")
cr.SetDataSource(objDataSet.Tables("bands"))
CrystalReportViewer1.ReportSource = cr
CrystalReportViewer1.Refresh()
End Sub
End ClassI suggest you post that question in a Crystal Reports forum.
Markus -
Problem with Beta 2 and Visual Studio 2013
Hello , i created an app a few months ago which was almost finished and contained 50-60 images i think. I used NEW images this time and re-created the app from the complete beginning.
Since the Beta 2/VS 2013 my app doesn't display some images. Everytime the same type of images and at the same places ( i mean , not background for example.)
And very important : In the Siena app everything is OK but when i try to preview my app in VS 2013 the problem occurs.
Please help me because i tried many things without success.
Thank you !
Let me show you an example ( With image Siena app , without VS2013 )>Do I need to install any additional runtime on the machine I am running the application ? Any help is appreciated.
You do need the runtime DLLs installing if you're not statically
linking it to your application.
http://www.microsoft.com/en-gb/download/details.aspx?id=40784
Dave
Maybe you are looking for
-
Data loads from 2 dsos to 1 infocube
Hi all, I am trying to update data from DSO1 (Source1: transaction data) to Infocube(TARGET) In the transformations Start routine, I have to read DSO2(Source2: Master data) for some fields. DSO1 has CUSTOMER as part of key DSO2 has CUSTOMER (key) and
-
Slow Performance in Pages 4.0.3
Using Pages 4.0.3, I'm working on a rather lengthy document well over 50,000 words, 115 pages, plus graphics and counting. When using pages, performance becomes so poor that keystrokes, spell-check options, scrolling etc. and other functions have a n
-
Which FM to use to change the PO number in an Invoice Document with status = 3
Hi Experts, My requirement is to change the PO number in an Invoice Document. The Document Status (RBSTAT ) is 3. I tried with 'BAPI_INCOMINGINVOICE_CHANGE' but its not working instead showing a message 'Further processing of document not possible
-
Problem of start up J2EE server
Recently, I installed the J2SE1.5.0. Unfortunately, I cannot start my J2EE server, and get an error message as following: Starting Domain domain1, please wait. Log redirected to C:\Sun\AppServer\domains\domain1\logs\server.log. Provider org.apache.cr
-
How to enable wifi in G50-70 on Ubuntu 14.04
Hi, I dont see any key to enable wifi in my laptop. Please help me to enable it. I am using Ubuntu 14.04.2 LTS - 64 bit. # lspci -vvnn | grep -A 9 Network 02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Netw