Attaching DBF / ORA files to Oracle 10g express
Hi,
I have Oracle 10g Express and I want to attach/restore database. I`m begginer in oracle so I know little about process of restoring/attaching databases. I have only DBF/ORA files, is it possible to restore them and how?
Any help appreciated.
Thanks,
Ivan.
Message was edited by:
Vertygo
Probably not... Oracle does not generally allow you to take data files from one machine and mount them on another machine.
If you have a small dump file (generally .DMP) and a handful of data files, you might have some transportable tablespaces, but it doesn't sound like that is the case.
If you have control files, you might have a closed database backup. If that were the case, you could do a database restore, but you would only be able to use the express edition if that was the original database version you took the backup from. It doesn't sound like you have control files, though, so I don't expect that you could do a recovery.
If the original database is still around, the easiest option would probably be to do an export from that system and an import into your new database (using the exp/imp or expdp/impdp tools depending on the source Oracle version).
Justin
Similar Messages
-
I need OrderEntry schema SQL file for Oracle 10g Express
It seems Oracle 10g Express does not come with oe schema.
I do not want to download another Oracle.I think its doable:
1) http://www.oracle.com/technology/obe/obe1013jdev/common/OBEConnection.htm
Download the sample_schema_scripts9i10g.zip
Since you have Oracle Express you should unzip it to :
C:\oraclexe\app\oracle\product\10.2.0\demo
Thereafter copy
C:\oraclexe\app\oracle\product\10.2.0\demo\schema\order_entry
to
C:\oraclexe\app\oracle\product\10.2.0\server\demo\schema
then :
C:\oraclexe\app\oracle\product\10.2.0\demo\schema>path=c:\oraclexe\app\oracle\pr
oduct\10.2.0\server\BIN
C:\oraclexe\app\oracle\product\10.2.0\demo\schema>sqlplus system/manager
then
@mksample as described in http://www.oracle.com/technology/obe/obe1013jdev/common/OBEConnection.htm
I agree with you that this was not straight forward since these scripts are pretty complex, but I did this now and I have at least the customer - orders relation up and running so I hope it helps.
kind regards
Terje -
Init.ora file missing (Oracle 10g)
Hi guys,
My database is down and when I try to startup it's complaining about the init.ora file that is missing. Is there a way of recreating this file and how?
Thanx.Kamran Agayev A. wrote:
NPD wrote:
Hi guys,
My database is down and when I try to startup it's complaining about the init.ora file that is missing. Is there a way of recreating this file and how?
Thanx.Show the output and verify for any initialization paramtere file in $ORACLE_HOME/dbs directoryIf it really is missing (so far we only have your word, and I trust Oracle more ... show us the actual error message) and you have no backup, you can recreate it by referencing your alert log. At every startup, the alert log will record all non-default initialization parms. -
Oracle 10g express edition installation file corrupt?
Hi
I have now tried at least 5 times. I downloaded the beta Windows version of Oracle 10g express edition. The download is successful each time but every time I try to run the installer, it says "Error in installation file". Anybody else facing this problem?Hi,
Have you checked for any errors in log file....????
Can you connect via SQL*PLUS ... , for example...????
Regards,
Simon -
Oracle 10g Express edition,can't visit database homepage
I have installed Oracle 10g Express edition without error meggage, It seems goes well ,but when I want to visit my database_homepage on http://127.0.0.1:8080/apex, I see this:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
Please try the following:
Click the Refresh button, or try again later.
Open the Web site home page, and then look for links to the information you want.
If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the Web site home page.
10061 - Connection refused
Internet Security and Acceleration Server
Technical Information (for support personnel)
Background:
The server you are attempting to access has refused the connection with the gateway. This usually results from trying to connect to a service that is inactive on the server.
ISA Server: csscisaser
Via:
Oracle is installed on my own computer.I think ISA should do nothing with it.And I have removed proxy setting in Internet exploer,but the error still happed.
I used netstat-a,and can find this:
proto :tcp
local address: myxxxxxx:8080
foreign address myxxxxxx:0
state : listening
does it mean my oracle http listener is started?Open a command line and
- enter ping 127.0.0.1 ... should tell whether
connectivity is possible. If not, something is
blocking, and that something is usually a firewall.ping 127.0.0.1. I can connect to 127.0.0.1,very fast.but when I ping 127.0.0.1:8080 ,Can't get response.
enter ipconfig /all
enter and post output of lsnrctl status
There are so many output content.And you may see some #^$*#*&^$#@&* because I'm using Chinese version Oracle and OS.
IPconfig
Windows IP Configuration
Host Name . . . . . . . . . . . . : cjis-e89f34e63f
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : xxxx.wan
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . : xxxx.wan
Description . . . . . . . . . . . : Broadcom NetXtreme 57xx
roller
Physical Address. . . . . . . . . : xx-13-72-7D-67-8B
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 172.18.9.30
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 172.18.9.252
DHCP Server . . . . . . . . . . . : 172.18.18.9
DNS Servers . . . . . . . . . . . : 172.18.18.9
Primary WINS Server . . . . . . . : 172.18.18.9
Lease Obtained. . . . . . . . . . : 2007年7月16日 15:51:15
Lease Expires . . . . . . . . . . : 2007年7月24日 15:51:15
LSNRCTL status
正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
LISTENER 的 STATUS
别名 LISTENER
版本 TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
ction
启动日期 20-7月 -2007 11:19:13
正常运行时间 0 天 2 小时 17 分 10 秒
跟踪级别 off
安全性 ON: Local OS Authentication
SNMP OFF
默认服务 XE
监听程序参数文件 C:\oraclexe\app\oracle\product\10.2.0\server\network\
dmin\listener.ora
监听程序日志文件 C:\oraclexe\app\oracle\product\10.2.0\server\network\
og\listener.log
监听端点概要...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cjis-e89f34e63f)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
HTTP)(Session=RAW))
服务摘要..
服务 "CLRExtProc" 包含 1 个例程。
例程 "CLRExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
服务 "PLSExtProc" 包含 1 个例程。
例程 "PLSExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
服务 "XEXDB" 包含 1 个例程。
例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
服务 "XE_XPT" 包含 1 个例程。
例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
服务 "xe" 包含 1 个例程。
例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
['/pre']
Display contents of
C:\windows\system32\drivers\etc\hosts.['pre']
# Copyright (c) 1993-1999 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhostMessage was edited by:
sailfish83 -
Oracle 11g client / oracle 10g express edition in one computer
Hi All,
I already have Oracle 11g Client installed in my computer. I wanted to Install Oracle 10g Express Edition in the same computer. So that I shall work with that even when I am not in the network. My Question is : Will installing both of 11g Client and 10g XE will cause conflict in my computer or is it ok to install both. Any suggestion/information is appreciated.
Regards,
RRRHi,
i have installed oracle oraclient11g_home1, want to know the changes in tnsnames.ora.
below tnsnames.ora file got created after installation. I dont know
CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
<alias>= [ (DESCRIPTION_LIST = # Optional depending on whether u have
# one or more descriptions
# If there is just one description, unnecessary ]
(DESCRIPTION=
[ (SDU=2048) ] # Optional, defaults to 2048
# Can take values between 512 and 32K
[ (ADDRESS_LIST= # Optional depending on whether u have
# one or more addresses
# If there is just one address, unnecessary ]
(ADDRESS=
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=tcp)
(HOST=<hostname>)
(PORT=<portnumber (1521 is a standard port used)>)
[ (ADDRESS=
(PROTOCOL=ipc)
(KEY=<ipckey (PNPKEY is a standard key used)>)
[ (ADDRESS=
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=decnet)
(NODE=<nodename>)
(OBJECT=<objectname>)
... # More addresses
[ ) ] # Optional depending on whether ADDRESS_LIST is used or not
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
[ (SOURCE_ROUTE=yes) ]
(DESCRIPTION=
[ (SDU=2048) ] # Optional, defaults to 2048
# Can take values between 512 and 32K
[ (ADDRESS_LIST= ] # Optional depending on whether u have more
# than one address or not
# If there is just one address, unnecessary
(ADDRESS
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=tcp)
(HOST=<>)
(PORT=<1521>)
[ (ADDRESS=
(PROTOCOL=ipc)
(KEY=<ipckey (PNPKEY is a standard key used)>)
... # More addresses
[ ) ] # Optional depending on whether ADDRESS_LIST
# is being used
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
[ (SOURCE_ROUTE=yes) ]
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
... # More descriptions
[ ) ] # Optional depending on whether DESCRIPTION_LIST is used or not -
Installing Oracle 10G Express Edition on Linux after installing Libaio-0.3
I had got a error while installing 10G Express Edition on Redhat Fedora core 4 linux after installing libaio-0.3.104-2.i386.rpm
I had given the following command in Linux Command prompt to install the oracle database 10 G Express Edition (oracle-xe-10.2.0.1-1.0.i386.rpm)
# sudo rpm -ivh /tmp/oracle-xe-10.2.0.1-1.0.i386.rpm
The error I had got is as follows:
Preparing.....#####################[100%]
1:oracle-xe Warning:/etc/init.d/oracle-xe saved as /etc/init.d/oracle-xe.rpmorig
error:Unpacking of archive failed on file /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/ons;4698950F:cpio:MD5 Sum MismatchThe steps I am asking is for installing oracle 10G express edition on Redhat Fedora core 4 Linux version. Now, after downloading the fresh copy of Oracle 10G express edition from the Oracle site. I have successfully installed oracle now.
I was getting the following errors - I have pasted previous query for the problem which I had faced after installing Oracle 10 G Express Edition successfully on Redhat Fedora Core 4 Linux.
The Previous Query is as follows:
Thanks For Guiding Me All of you!
Finally, I have installed Oracle 10G Express Edition on Redhat Fedora core 4 Linux.
Now, I am having the following problems:
After making the changes as per my Reference mentioned in my different messages, I had done the troubleshooting steps going to Options and setting the same.
1.When I try to load the http://127.0.0.1:8080/apex page it gives an error popup:
" The connection was refused when attempting to contact 127.0.0.1:8080 "
2. After opening the Run the SQL Command Line by clicking on applications and When I say " Connect System and when prompted for password, I have entered the password and gives another error as follows:
ORA-01034 : Oracle not available
ORA-27101: Shared Memory realm does not exist
Linux Error:2:No such file or directory
3. When I try to manually start the Listener or Services, It gives one more error:
Root Not a Member of DBA Group
I need to What is happening or What is the Problem and How will I rectify them? -
Installing Oracle 10g Express Edition on x86_64
Hi,
I tried installing Oracle 10g express edition on Arch Linux X86_64 but could not get it running.
I followed guide here http://alodib.com/?q=node/32.
Installation went well. Then I configured it, apparently went well. But could not get it running.
I have following output
$>sudo /etc/rc.d/oracle-xe restart
:: Stopping Oracle Database [FAIL]
:: Starting Oracle Database [DONE]
$>sudo /etc/rc.d/oracle-xe restart
:: Stopping Oracle Database [FAIL]
:: Starting Oracle Database [DONE]
$>sudo /etc/rc.d/oracle-xe status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 26-DEC-2011 12:58:24
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 26-DEC-2011 12:17:16
Uptime 0 days 0 hr. 41 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
$> sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 26 13:17:43 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: system
Enter password:
oracleXE: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
ERROR:
ORA-12547: TNS:lost contact1) which Linux(freeware) flavor should I install ?Ordinarily, I'd recommend getting Oracle Linux (http://eDelivery.oracle.com/linux) because the default install includes all the prerequisite RPM packages you will need. And failing that, also offers another RPM package "oracle-validated" which will cause the installation of the necessary prerequisites.
But... you mentioned customer: if this is a revenue-producing situation and customer money is at stake, I strongly recommend they obtain commercial O/S support with either Oracle, Red Hat, or maybe SuSE/Novell. Compared to the cost of a downed business, an O/S support arrangement is cheap, cheap, cheap.
2) is there any virtual enviornment available for Linux Os on which I can install 10g Express Edition database ?Sure. You can run Oracle VirtualBox on most Linux, Windows, or Solaris boxes. http://VirtualBox.org for info.
3) If available, is there any difference in using the Linux Os in Virtual enviornment and actual installing Linux ? will there be any difference in installing database and configuration for both the cases?No real differences in either environment.
4) need download link for latest version of Red Hat Linux setupWhat, you didn't try http://eDelivery.oracle.com/linux yet? -
Oracle 10g Express Edition and Forms 6i
Hi,
Need to know if Oracle 10g express edition supports forms 6i or not?
Please advise.
Thanks you very much.Thanks for the answers.
Yes, XE universal does not work, but XE Western European does. I am having a hard time to configure Net8. The net configuration tools simply crash right away every time I try to run them. The sql*plus on form side crashes when I hit the connect button. The only thing that can run with no problem is form. I had to manually edit the tnsnames.ora file on form side, setting host=computer name and sid=XE. Tried many times until it worked. -
Java Connection Pooling issue with Oracle 10g Express Edition
Hello
I have a Java based web application that uses the Oracle 10g Express Edition database. I am using a connection pool to get connections to the database.
I use the NetBeans IDE and run my web application on the bundled Tomcat server(5.5.7) that comes with the IDE. Though when I initially run the application from the IDE, the connection pool is set up fine, when I recompile my java code and try to run the application again, I get the following error each time:
Listener refused the connection with the following error:
ORA-12516, TNS:listener could not find available handler with the
matching protocol stack.
The logs before the error shows up, indicate that the connection pool object is fine and gives me the number of available connections and the number of active connections and so on, which I have printed from the constructor of the Connection Pool class:
For e.g.:
Cache size = 17
Available Connections = 17
Cache Limit = 1000
Active size = 0
However, if I kill my Tomcat server process and run the application again, it works fine with no error.
I looked around for possible causes and solutions and all I could find
was increasing the processes parameter value in the init.ora file. I have increased the parameter value to from 100 to 20000 now, in increments of 500/1000 each time but it hasnt worked so far.
Someone else suggested that I increase the size of my connection pool; I initially had it set to a minimum limit of 5, an initial limit of 10 and a maximum limit of 1000. However if I set the Initial Limit to anything above 17 connections, I see the following log on the Bundled Tomcat log and my application doesn't run at all:
Log: Loading JDBC Driver : class=oracle.jdbc.driver.OracleDriver ...
Log: Loaded JDBC Driver
Log: Connection with URL=jdbc:oracle:thin:@localhost:1521:xe as username/password
Error code not handled : 0
Exception Message :java.sql.SQLException: Listener refused the connection with the following error:
ORA-12519, TNS: no appropriate service handler found
The Connection descriptor used by the client was:
localhost:1521:xe
// End of log
And the Bundled Tomcat server automatically shuts down.
Again the System.out statements from the Connection Pool class constructor show that the cache has been initialized and that currently there are free connections available in the pool.
E.g.
Cache size = 18
Available Connections = 18
Cache Limit = 1000
Active size = 0
Has anyone faced anything similar? Could someone please suggest what I'm doing wrong here and what I should do to set right this problem?
Swethahello, please pardon me, my english is basic. i do of my best. i had the same problem until reading the pdf documentation 2 days for java devvelloper.it is simple, follow this way.
try {OracleDataSource ds;
Connection conn;
ds = new OracleDataSource();
ds.setURL("jdbc:oracle:thin:@localhost");
conn = ds.getConnection("userid","password");
Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
don't forget to Dowload the user client of oracle Express Edition. do the rest of your program and it will work. take a look to the documentation pdf for java develloper. all it is explained. good look -
Connecting oracle 10g express edition to jdeveloper
I am having all kinds of problems connecting oracle 10g express edition with my jdeveloper 10.1.3.3. I can query the database from my command line so I know it is set up, but for whatever reason jdeveloper will not connect with it. When I try to connect with the database through jdeveloper here is the error I keep getting:
Listener refused the connection with the following error:
ORA-12518, TNS:listener could not hand off client connection
The Connection descriptor used by the client was:
localhost:1521:ORCL
I have been all through the google results looking for an answer and have come to the conclusion that it is something with either the listerner file or the tns file, but as of yet have been unable to locate them. here are both of those files too.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = ##########)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = #########)(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)
Please any help would be appreciated I have been at this for days, thanks.This has to be some kind of bug with 10g express because I see lots of people having similar problems. I'm in the process of uninstalling 10g, and I will re-install it see if that makes a difference. Again if anyone has any other ideas please keep them coming because this is utter BS it shouldn't be this hard.
-
Create tablespace in Oracle 10g Express
Hi,
I've been playing around over the last few days with Oracle 10g Express and I need to create my own tablespace and therefore create user associated with my custom table space.
I tried with the command create tablespace, but I am not successful with configuring the parameters such as the datafile location and such. I did go through the Oracle Concepts Guide which was very helpful, but I must be missing something.
Also assuming that my db scheme will be part of my application and therefore released to my client as script so they can re-create my database how would the table space integration work on their end.
I would I have to place my first line of the script to create the table space and ask them for database file location?
Any advice will be appreciated.
Thank you in advance.user12359577 wrote:
The reason why I think I should create my own tablespace is because I am creating a database scheme and thus I think it is appropriate to place my db scheme in its own tablespace instead of simply using the Users tablespace default.
This is my command:
create tablespace MYTBLSPACE;
Error:
Error starting at line 1 in command:
create tablespace MYTBLSPACE
Error at Command Line:1 Column:32
Error report:
SQL Error: ORA-02199: missing DATAFILE/TEMPFILE clause
02199. 00000 - "missing DATAFILE/TEMPFILE clause"
*Cause: A CREATE TABLESPACE statement has no DATAFILE/TEMPFILE clause.
*Action: Specify a DATAFILE/TEMPFILE clause.
I am also not sure how to specify the datafile.
Thank you.How about checking with the fine SQL Reference manual for the syntax of the CREATE TABLESPACE command?
Learning where to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
Go to tahiti.oracle.com. Drill down to your product and version.
Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
Spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
Do the same with the SQL Reference Manual.
Do the same with the Utilities manual.
You don't have to read the above in depth. They are reference manuals. Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
Then set yourself a plan to dig deeper.
- Read a chapter a day from the Concepts Manual.
- Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them in the Reference Manual.
- Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
- When you have finished reading the Concepts Manual, do it again.
Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
Edited by: EdStevens on Mar 3, 2010 10:13 AM
Edited by: EdStevens on Mar 3, 2010 10:15 AM -
How do I connect from Crystal Report version XI to Oracle 10G express?
I'm new to oracle 10G express and I'm developing an application that needs reports to preview some data from oracle tables.
The oracle database is installed on the server and I installed the client on my machine. I need to use the crystal report 11 to report the output. Thus, I designed a crystal report that should simply read a table on oracle and though I need to be able to connect to the oracle 10G Express Edition database. I tried to create a connection from the crystal report using the Database Expert >> Create New Connection >> Oracle Server and I include the following parameters.:
- Service: host:1521/XE
- Username: username
- Password: password
Then when I tried to connect the crystal report crashes always.
Is there any way to create a connection to the Oracle Database 10G express from Crystal Report 11?
Please advise...Thank you bala,
First, How I should start the Listener on the database server?
Listener.ora content:
SID_LIST_LISTENER =
+(SID_LIST =+
+(SID_DESC =+
+(SID_NAME = PLSExtProc)+
+(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
+(PROGRAM = extproc)+
+)+
+(SID_DESC =+
+(SID_NAME = CLRExtProc)+
+(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
+(PROGRAM = extproc)+
+)+
+)+
LISTENER =
+(DESCRIPTION_LIST =+
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
+(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
+)+
+)+
DEFAULT_SERVICE_LISTENER = (XE)
How to configure the tnsnames.ora on the client side?
tnsnames.ora content:
XE =
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(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)+
+)+
+)+
Now I`m trying to initialize this on one machine (database & client) and so the crystal report will be on the same machine where the database exist; Additionally, this machine has OS Windows 7 Ultimate 64bit and include the Oracle 10g Express Database & Oracle 10g Express Client software.
Please check the files content I included above and give me the way on how to establish a connection from the crystal report to the database where both are installed on the same machine.
Thanks in advance... -
Unable to connect Oracle 10g Express from Visual Studio Server Explorer
Hello,
Please help me out here. I am connecting from Visual Studio 2008 to Oracle 10g Express Edition and the I have installed the ODAC 11 and the ODP.NET as well for Visual Studio(Both include Oracle Developer tools). But whenever I tried to connect from my Visual Studio 2008 server explorer so that I can have the database and its object there, I do get this error : "ORA-12560 : TNS: protocol adapter error."
The following is what I specified in my connection box:
DataSource Name: (Local Database)
Username : HR
Password: the password for it.
My OS is : Windows Vista Ultimate.
Please anyone who has solved such error should just help out here.
Thanks allThank you for your reply. I will like to know if you can use Visual Studio. In visual studio there is what we called Server Explorer and from there you can create connection and access all the database server from there. I am able to connect to the Oracle XE through the browser and I was able to crete table and other stuffs like that but when I tried to connect from Visual Studio 2008, I get the 12560 Error. I checked my TNSNAMES and found this:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = OLAMMIE)(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)
Look at what I have in my Sqlnet.Ora file,
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
Please kindly help me out of this as it is very urgent. I can connect from browser using http://127.0.0.1:8080/apex but cannot connect from my C# code and Server Explorer. What is likely to cause this error.
Thank you for helping me in advance. -
Connect form builder to oracle 10g express ?
Hi ,
How can i connect form builder 10 to oracle 10g express ?error -> ORA -12154That normally means there is some problem with tnsnames.ora :
$ oerr ora 12154
12154, 00000, "TNS:could not resolve the connect identifier specified"
// *Cause: A connection to a database or other service was requested using
// a connect identifier, and the connect identifier specified could not
// be resolved into a connect descriptor using one of the naming methods
// configured. For example, if the type of connect identifier used was a
// net service name then the net service name could not be found in a
// naming method repository, or the repository could not be
// located or reached.
// *Action:
// - If you are using local naming (TNSNAMES.ORA file):
// - Make sure that "TNSNAMES" is listed as one of the values of the
// NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
// (SQLNET.ORA)
// - Verify that a TNSNAMES.ORA file exists and is in the proper
// directory and is accessible.
// - Check that the net service name used as the connect identifier
// exists in the TNSNAMES.ORA file.
// - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
// file. Look for unmatched parentheses or stray characters. Errors
// in a TNSNAMES.ORA file may make it unusable.
// - If you are using directory naming:
// - Verify that "LDAP" is listed as one of the values of the
// NAMES.DIRETORY_PATH parameter in the Oracle Net profile
// (SQLNET.ORA).
// - Verify that the LDAP directory server is up and that it is
// accessible.
// - Verify that the net service name or database name used as the
// connect identifier is configured in the directory.
// - Verify that the default context being used is correct by
// specifying a fully qualified net service name or a full LDAP DN
// as the connect identifier
// - If you are using easy connect naming:
// - Verify that "EZCONNECT" is listed as one of the values of the
// NAMES.DIRETORY_PATH parameter in the Oracle Net profile
// (SQLNET.ORA).
// - Make sure the host, port and service name specified
// are correct.
// - Try enclosing the connect identifier in quote marks.
// See the Oracle Net Services Administrators Guide or the Oracle
// operating system specific guide for more information on naming.
$Does
C:\>tnsping xework ?
You could also try using "<host name or IP address>/xe" as connection string (database).
Maybe you are looking for
-
Acrobat 9 Killed Acrobat 8 and cannot go back to 8 even if uninstalled is done
Acrobat 9 Killed Acrobat 8 and cannot go back to 8 even if uninstalled is done, Got 8 back on but the updates for Acrobat will not install. The other CS3 products work fine, they have applied their update but Acrobat keeps failing. The message in my
-
How to separate an object with a 3d effect
How to separate an object with a 3d effect Hi, I have outlined some text and applied a 3d effect but now I want to separate each letter so I can adjust the colour on the face of the letter with the colour on the extruded part. I am sure it is probabl
-
Script running as admin at logon
I've heard that logon scripts and batch files are ran as admin regardless of user's group they are. By trying to run a .bat file to change NTFS user's permissions to a folder at his logon, I realized that icacls doesn't work, showing that access is d
-
Hi... Generally what kind of issues we face in real time projects...if any one explain me with scenario that would be great venkat
-
I'm using the random access file method to read from a file, my question is if there is a way to jump from line to line through the file? Using the fin.read and fin.seek functions, is there I check to see if it has reached the end of the line? If it