Can't create connection in SQL developer
hi,
i download sql developer from oracle website but when i want to start and start it with making new connection it always give me error saying
test faild IO error: the network adapter could not estabilished a connection
please help
i am using windows vista 32bit OS
Hi Saqid,
If you performed a default Oracle 10g Express Edition installation on your local machine, then you should find something like the following:
Services:
OracleXEService Started Automatic
OracleXETNSListener Started Automatic
TNSNAMES.ORA file entry:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
You should be able to do the following from a Windows command prompt and get similar results:
C:\>sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 25 14:53:17 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn system
Enter password:
Connected.
SQL>
SQL> quit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
C:\>
C:\>tnsping xe
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-JUL-2011 14:22:35
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 = localhost)
(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (50 msec)
When your installation works correctly for these commands, then the SQL Developer connection should work as well. If not, please provide specific installation and machine details. But first you need to verify using sqlplus and tnsping that the 10g installation is working correctly. If not, then please post to the appropriate forum for help in that area.
Regards,
Gary Graham
SQL Developer Team
Similar Messages
-
How to connect to sql developer
i have oracle 11g enterprise edition on my laptop i installed sql developer on my laptop how to connect sql developer to databace(oracle 11g enterprise edition) in my
laptopHi,
Just launch SQL Developer and read the Getting Started section of the SQL Developer Concepts and Usage in Help|Table of Contents.
Otherwise try searching this forum for earlier posts on the topic. For example, my entry in this thread:
can't create connection in SQL developer
Regards,
Gary Graham
SQL Developer Team -
Question about creating a cloud connection to SQL Developer
Hi all!
I want to create a cloud connection on SQL Developer to Oracle cloud, but keep getting the following error (NOTE: I have the trial version. Also, I have replace the identity domain name with asterisks for the post) :
Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
Additional Details:
oracle.dbtools.raptor.cloud.auth.AuthenticationFailedException: Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:228)
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.authenticate(BasicAuthenticationEngine.java:73)
at oracle.dbtools.raptor.cloud.connection.ConnectionCreator.createConnection(ConnectionCreator.java:24)
at oracle.dbtools.raptor.cloud.connection.CConnections$C.getConnection(CConnections.java:39)
at oracle.dbtools.raptor.cloud.connection.CConnections.getConnection(CConnections.java:176)
at oracle.dbtools.raptor.cloud.navigator.CloudConnection.openConnectionImpl(CloudConnection.java:127)
at oracle.dbtools.raptor.cloud.navigator.CloudConnection.getConnection(CloudConnection.java:89)
at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:74)
at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:38)
at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:554)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.http.conn.HttpHostConnectException: Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:941)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:910)
at oracle.dbtools.raptor.cloud.connection.DefaultClient.executeRequest(DefaultClient.java:90)
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:219)
... 16 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:375)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
... 26 more
I have followed the steps to the last letter using: Data Loading and the Oracle Database Cloud Service
What I have done on the dashboard and APEX:
I changed the password of the SFTP user.
I have created a new user on APEX that belongs to the SQL Developer Group and changed the 'Require change on Password on First Use' to NO before creating the user
SQL Developer:
I set the database username to the new user I created in APEX
I set the database URL to the URL I used to reach the APEX page...https://databasetrial1875-******.db.us1.oraclecloudapps.com/apex/
I set the SFTP username to the username listed next to 'Service SFTP User Name' on the dashboard
I set the SFTP hostname to: sftp.us1.cloud.oracle.com
I left the port set to 22
When I login on SQL Developer to database, I use the password for the user I created in APEX
Thanks in advance to all who help!Hi,
You have to use the admin account to add the admin role to the developer account. Can you please try this and let me know of your feedback.
The settings you added look good, and the you have the latest version of Sql DEVELOPER , ...so this should be an issue.
Maybe you have some firewall setting on your computer, that are blocking the connection?
If , after checking all of the above you still have an issue, please contact oracle support via the chat on the cloud.oracle.com and ask the engineer to open a Service Request under your name.
Thanks,
Flori -
Unable to create a connection in SQL developer
hii
I'm unable to create a connection in SQL developer..it says I/O Exception, Network Adapter could not establish a connection...i provided the username and password which i used for SQL*Plus, which is working fine. And i gave the host as localhost. I don't know how to fill the connection name field..can anyone help me in connecting to the database...By the way I'm using Oracle 11g. Thankssssssyou could try to change the connection type to TNS and pick the database name available to you in the Network Alias drop-down list.
Edited by: Alex Nuijten on Sep 5, 2008 10:13 AM -
Problems Creating Custom Connections In SQL Developer
I have the Auto-Generated Local Connections available in SQL Developer 3.2.20.09 Build MAIN-09.87, but cannot create my own connections. I've searched the forums, but haven't had an "AHA" moment.
I installed the 32-Bit Oracle 11gR2 and SQL Developer with JRE on my Windows x64 system because installing the x64 version of Oracle 11gR2 failed. This is for database classes I'm taking at the local community college.
Trying to create a connection with OS Authentication:
Connection Name: PaulK
Connection type: Basic
Role: default
Hostname: localhost
Port: 1521
SID: orcl
and clicking Test returns Status: Failure - Test failed: The Network Adapter could not establish the connection
When I run lsnrctl services, I get
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\PaulK>lsnrctl services
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 26-APR-2013 13:36:35
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
listener.ora contains
# listener.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\app\PaulK\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:E:\app\PaulK\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = E:\app\PaulK
tnsnames.ora contains
# tnsnames.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
I assume something is missing or incorrect, but I don't know what.
Thanks in advance for your help.I reinstalled Oracle 11gR2 x86 and ran lsnrctl:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\PaulK>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 02-MAY-2013 15:51:56
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
Start Date 02-MAY-2013 14:57:07
Uptime 0 days 0 hr. 54 min. 53 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File e:\app\paulk\diag\tnslsnr\PaulK-PC\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\Users\PaulK>lsnrctl services
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 02-MAY-2013 15:53:19
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:4 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: PAULK-PC, pid: 8880>
(ADDRESS=(PROTOCOL=tcp)(HOST=PaulK-PC)(PORT=51451))
The command completed successfully
As you can see, my Service "orcl" matches your example, but I am still unable to create a new connection in SQL Developer.
This is my tnsnames.ora file:
# tnsnames.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
and my listener.ora file:
# listener.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\app\PaulK\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:E:\app\PaulK\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = E:\app\PaulK
These files are just as the install process created them, but are there any sore thumbs sticking out?
Thanks. -
Connect from SQL Developer to several SQL Server instances
Our SQL Server has more than one instance, but I see only one instance of them trying to connect from SQL Developer 1.2 to SQL Server. How I should define the connection information? Usually we connect to SQL Server by <hostname>/<instancename> and then the database name as CatalogName (Initial Catalog). In the Oracle world you can give only the hostname, a port number and the database name. How I can convince the SQL Developer to choose one of our SQL Server instances?
Hi user627927,
Bug/Enhancement request already logged.
We have not got this configuration in house, two people have suggested workarounds but we are unable to test them for now. The last person was unable to get these workarounds working, and we have not confirmed them in house.
Can you get the instances connected through two different ports?
It would be great if you could confirm either workaround.
-Turloch
*1/Suggestion 1 change the URL through SQLDevelopers xml connection store.
*2/Overload the port field to have instance in the eventual url
*1/Suggestion 1 change the url through SQLDevelopers xml connection store.
[Note it is probably simpler to connect a dummy connection through the connection dialog as usual save it (you cannot connect) and then add the instance information rather than having to enter all the information in an unmanaged way.]
Hi Naveen,
I had same problem as you and user579801. I managed to resolve it by doing the following.
1. Locate the file called IDEConnections.xml in the folder where you have installed SQL Developer (eg. c:\sql developer\sqldeveloper\system\oracle.jdeveloper.db.connection.11.1.1.0.11.42.62).
2. Create the following entries under <connections> tag.
<connection>
<URL>jdbc:jtds:sqlserver://\\.\;namedPipe=true;instance=SQLDBNam;</URL>
<ConnectionName>SQLServer</ConnectionName>
<user>SQLUser</user>
<ConnectionType>JDBC</ConnectionType>
<DeployPassword>false</DeployPassword>
<JdbcDriver>net.sourceforge.jtds.jdbc.Driver</JdbcDriver>
<RaptorConnectionType>Microsoft SQL Server</RaptorConnectionType>
</connection>
3. Save the file; Close and re-open the SQL Developer and try connecting.
Hope this will solve your problem. Good luck.
Regards
Raja
*2/Overload the port field to have instance in the eventual url
This took some figuring out but I cracked it in the end....
SQLServer tab:
Hostname: <servername>
Port: <portnumber>/<databasename>;instance=<instancename>
so for me the Port field looks like this: 1433/Gaffa;instance=SQL01
That should now connect to a named instance SQL Server.
Paul Fairhurst -
No tables listed when using a proxy connection in SQL Developer
Hello, I'm trying to use a connection in SQL developer that uses the proxy connection to connect to another users tables. In the SQL worksheet area I can access the other users tables with no problems. And using SELECT COUNT(*) FROM USER_TABLES i get the count of the number to tables. But on the tables view on the left hand side of SQL developer no tables are listed. So the question is why do I not see any tables under the tables view? Is this a bug or is it working by design? Thanks
To access other user's objects, use the Other Users node...
K. -
Establish new connection in SQL developer
hi,
i am trying to establish new connection in sql developer, i m just new in orcale and installed 10g , from where i can get all the required information for new connection like HOSTNAME, port , sid etc
pls someone can help me on thisDepends. All this was presented to you when installing. If you didn't wrote anything down...
If you accepted all defaults, it still depends on your DB version (which?).
K. -
Able to connect from SQL-Assistant BUT unable to connect from Sql Developer
Hello,
I have been troubling with this issue for the last two weeks...tried so much, but could not able to resolve....
sqlplus username/password@IPAddress:port/ServiceName
I am able to connect to DATABASE from SQLAssistant only when I provide string like ABOVE........If I dont mention the SERVICE, m unable to connect to DB...
Now the biggest issue is with SQL Developer.....m not at all able to connect to DB using SQL Developer....I tried all options...but no use...
waiting for your reply......
Thanks Much in Advance.....What have you tried, and what error messages are you getting?
When you create a connection in SQL Developer, you should specify IPAddress,port,ServiceName as in your sqlplus connect string. -
Unable to connect using SQL Developer.
Hi,
I am having a hard time connecting to the database instance using "Cloud Connections," in SQL Developer.
I am using the information found in here: http://docs.oracle.com/cloud/CSDBU/develop.htm#BABDBHJA to connect to my cloud-service, but all I get is an error:
"Authentication Failed Invalid resource owner credentials."
I am positive that I am using the same username and password as when logging in to could.oracle.com.
Can anybody help me?Apologies for any difficulty you have been having.
I would start by reviewing the white paper on data movement. My guess is that you have not defined an APEX user with SQL Developer privileges (yes, I know the process could be more clear - it's getting there.)
You can find the white paper here - http://www.oracle.com/technetwork/database/database-cloud/public/data-movement-wp-1844121.pdf. Please make sure you follow all the steps properly, for both initialization and the actual connection.
Hope this helps.
- Rick Greenwald, Product Management, Database Cloud Service -
Hi folks, having this issue, with only one of my so many databases, what might be the reason and how to fix/correct this, please assist.
Able to connect using sql developer, but not sqlplus or toad too; sqlplus error: ORA-12154: TNS:could not resolve the connect identifier specified
thanks in advance.SQLDEVELOPER works since it use JDBC Thin & does not use tnsnames.ora
ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
ORA-12154 [B]NEVER[/B] involves the listener, the database itself or anything on the DB Server.
ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
The lookup operation fails because the name provided can [B]NOT[/B] be resolved to any remote DB.
The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/ -
Can I create connection pool by oracle oci driver?
Can I create connection pool by oracle oci driver?My weblogic's version is 6.1 sp2 and oracle is 9.0.1.2.
I have some trouble with connection pool created by weblogic jDriver.
I try to read Timestamp from table and I always get the exception.It told me that ORA-00932: inconsistent datatypes.
So I created another pool by oracle thin driver and everything was right.Then I created other pool by oracle oci driver,but something were wrong. 'Could not create pool connection. The DBMS driver exception was:java.sql.SQLException: ORA-06401: NETCMN:Invalid driver designator'
The oci pool's parameters are below lines.
url: jdbc:oracle:oci:@COCO
Driver Classname: oracle.jdbc.driver.OracleDriver
Properties: user=scott;password=tiger;protocol=oci
If I get connection directly,don't use connection pool,I can get right connection.But why didn't I create pool by oci driver?Maybe weblogic7 or weblogic8 will work good?Venkat Amirineni wrote:
Hi Joe,
I am also trying to create a connection pool using Oracle Oci XA. Weblogic
type 2 oci threads hanging on native calls and suggested to go for thin drivers.
But we want to try with Oracle Oci drivers.. Can you please tell us how to
create a conn pool using Oracle Oci.. Just the driverclass and url is enough
or need any classpath settings etc..
Thanks in advance for your quick reply.Hi. As far as driver properties, just use what Oracle says to. Any pool properties
that we recommend for XA would still apply. Note that Oracle themselves recommends
the thin driver over their OCI one:
http://download-west.oracle.com/docs/cd/B14117_01/java.101/b10979.pdf
Joe -
Pairing Garmin with BT: Can't create connection: Input/output error
I'm learning how to use BT in linux. I have a Garmin and a CE device that has bluetooth capability. Both are in discovery mode.
Running "hcitool cc [macaddr]" to pair the Garmin looks promising, the Garmin receives the, well, transaction (what's this called?), and says the passkey is 1234. However, I press OK on the Garmin, and it shows a second message that the connection failed. Looking at my PC, I see this in the terminal:
Can't create connection: Input/output error
What am I doing wrong?Check here. Also have you done a TimeMachine back up?
http://support.apple.com/kb/TS2570 -
Tip in create trigger thru SQL Developer 1.5
I try to create trigger in SQL Developer, which simply delete all the related rows in other tables, the trigger is as below:
create or replace trigger delregion
after delete on regions
for each row
begin
delete from countries where region_id=:old.region_id;
end delregion;
when I test it and it throws the following error:
delete from hr.regions where region_id = 4;
ORA-04098: trigger 'HR.DELREGION' is invalid and failed re-validation.......
However, I try exactly the same trigger in the SQLPLUS command console, it works just fine.
Finally, I found out I should click the "Run Script" button instead of the "Execute Statement" button..... :-)
Edited by: user7253132 on Oct 26, 2009 3:47 PM
Edited by: user7253132 on Oct 26, 2009 3:49 PMSo it's working now? Then mark the question as answered...
K. -
Can't save a connection on SQL Developer 1.5
I just installed SQL Dev 1.5. The first time I run it all was fine. The second time it was giving me severe errors.
The first one was 'failed to create naming Context for db connections at url: file:/C:/Documents and Settings/thatzi/Application Data/SQL Developer/system1.5.0.53.38/o.jdeveloper.db.connection.11.1.1.0.22.49.35/connections.xml'.
The second one was 'DatabaseConnections has no JNDI context so cannot list connections.'
After I deleted the 'C:/Documents and Settings/thatzi/Application Data/SQL Developer' directory I was able to run the app one more time, but had the same problem next time I run the app.
There must be a way to fix this. Can anybody help?I can save new connections to my existing connections.xml file, and I can save to a new connections file. I just can't save existing connections.
I looked at the xml for the old version, and compared to the new version, and they are quite different. I tried deleting the system1.5.1.54.40\o.jdeveloper.db.connection.11.1.1.0.22.49.35 directory, so it would ask me about migrating old settings again, and this time I selected the directory for the previous version, 1.5.0.53.38. The connections weren't migrated. Apparently I can't save the existing connections because the old connections.xml format is not valid. How can I migrate/convert my old connections file to work in the new version. For all I know, this could have been an existing problem from when I converted from 1.2. This is just the first time I've had an occasion to change connection info, so I might be using a connections.xml file from 1.2.
Here is one of my connection xml configs that I am unable to update:
<Reference className="oracle.jdeveloper.db.adapter.DatabaseProvider" name="DB1">
<Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/>
<RefAddresses>
<StringRefAddr addrType="subtype">
<Contents>oraJDBC</Contents>
</StringRefAddr>
<StringRefAddr addrType="user">
<Contents>myuser_id</Contents>
</StringRefAddr>
<StringRefAddr addrType="password">
<Contents>myPassword</Contents>
</StringRefAddr>
<StringRefAddr addrType="SavePassword">
<Contents>true</Contents>
</StringRefAddr>
<StringRefAddr addrType="DeployPassword">
<Contents>false</Contents>
</StringRefAddr>
<StringRefAddr addrType="driver">
<Contents>oracle.jdbc.OracleDriver</Contents>
</StringRefAddr>
<StringRefAddr addrType="customUrl">
<Contents>jdbc:oracle:thin:@ (DESCRIPTION= (ADDRESS_LIST= (ADDRESS= (PROTOCOL=TCP) (HOST=NNN.NNN.NNN.NNN) (PORT=NNNNN) ) ) (CONNECT_DATA= (SID=db1) ) )</Contents>
</StringRefAddr>
<StringRefAddr addrType="oraDriverType">
<Contents>thin</Contents>
</StringRefAddr>
</RefAddresses>
</Reference>
Maybe you are looking for
-
Any harm in having over 1000 midi tracks in the arrange window?
The way i like to work is... to load up like 20 instances of a software sampler, (16 channels on each) and then create tracks for every midi channel in the arrange window. That way, when i'm writing, i can simply switch tracks to play different midi
-
Error message when vendor select in Purchase Order
Dear Frnds, I uploaded Supplier master data in the sap b 1 system, when i select vendor from purchase order it sh owing error message "no maching record found (CRD1) (ODBC-2028) (message 131-138)" thanks srikanth
-
How to create 2/3 dropdown lists
How to create 2/3 dropdown lists that are linked. The first one answered drives the answer for the second or thrid dropdown box. Also can I wrap text in a dropdown list? Thanks in advance.
-
Can't swipe to next article on scrollable frame?
Hi, I'm not sure what's happening here. I've got a page with a scrolling frame which covers the whole page, frame is set to scrolling, scroll direction is vertical only. I've just updated some of the scrollabe content and now when I view on iPad I ca
-
Hi, I try to start my db with pfile , but i am getting error as LRM-00109:could not open parameter file 'parameter file path' ORA-01078:Failure in processing system parameters I check the path it is correct