SQL Developer database copy corrupts wrapped PL/SQL
SQL Developer 3.0.04.34, database 11.2.0.2.2
Database copy brings over the wrapped pl/sql DDL, but somehow corrupts the code and will not compile.
It must be recreated from source plb file.
expdp / impdp does not have this problem.
This would appear to be a bug.
Wayne Linton
user4792902 wrote:
Also it looks like the SQL Developer loads all the Data from sources Schema for each table in memory and copies to destination Schema.Yes
Any idea how to over come that...Don't use it, use the database's IMPDP/EXPDP tools for copying large quantities of data or whole schemas or databases.
Also adding the Filter or selection like the Database Export functionality in Database Copy will really be helpful in this kind of situation. The Developer team has any plans?Probably not right now, but you can request this at the SQL Developer Exchange though, so other users can vote and add weight for possible future implementation.
Regards,
K.
Similar Messages
-
SQL Developer Database Copy truncates DATE columns
Hope someone can help me. I want to copy all object from one schema to another schema in my Database. I have used the "tools - Database Copy" utility and it copies all of the objects and data however when I query the DATE columns in the destination schema the time element has been truncated? Why has this happened?
tab_h contains a column h_date of type DATE
Query
SELECT TO_CHAR(H_DATE, 'MM-DD-YYYY HH24:MI:SS') from tab_h;
returns
02-07-2012 09:54:14
from the source table
yet returns
02-07-2012 00:00:00
from destination schema? This is the case for all DATE columns in the tables.
I noticed this was happening in 3.0.04.34 and I upgraded to 3.1.07.42 and it still happens.
Thank youMaybe there's a problem getting the OS settings right; try to add this to \sqldeveloper\bin\sqldeveloper.conf:
AddVMOption -Duser.region=USIf that works, you can try others closer to you.
Hope that helps,
K. -
SQL Developer - database connect problem
Hello
Just wanted to give SQL Developer a try, downloaded it, unzipped and pointed at Java SDK's java.exe.
It started, I created a TNS connection and successfully passed test. But when I try to connect to database - it errors with following
java.lang.ArithmeticException: / by zero
at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:1233)
at oracle.jdbc.driver.OracleCallableStatement.<init>(OracleCallableStatement.java:100)
at oracle.jdbc.driver.T4CCallableStatement.<init>(T4CCallableStatement.java:27)
at oracle.jdbc.driver.T4CDriverExtension.allocateCallableStatement(T4CDriverExtension.java:88)
at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3135)
at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3090)
at oracle.dbtools.db.DBUtil.executeReturnOneCol(DBUtil.java:275)
at oracle.dbtools.raptor.InitializeConnectionListener.initConnection(InitializeConnectionListener.java:137)
at oracle.dbtools.raptor.InitializeConnectionListener$1.run(InitializeConnectionListener.java:85)
I googled for this error and found nothing suitable
Other development tools including SQL Plus connect an run fine.
I have 10g client, and I connect to 9.2.0.6 database. My OS is Vista Business SP1, so I though it might be UAC issue and tried running as both standard user and administrator, also allowed java.exe and sqldeveloper.exe through firewall. Nothing helped :(
Any settings and ideas that might help will be appreciated.
Thanks for help
Edited by: user8082464 on Apr 27, 2009 12:25 AMDuplicate post in SQL Developer - database connect problem
-
SQL Developer - Adding a column comment via SQL
When I add a comment in SQL*Plus via SQL, such as COMMENT ON COLUMN "MY_OWNER"."MY_TABLE"."MY_COLUMN" IS 'column comment' it works fine. When I try the same thing in SQL Developer I receive a message "No SQL statement entered".
I realize this can be done in SQL Developer via action buttons in the user interface; but I need to be able to do it via SQL since my procedure generates this code for hundreds of columns at one time.
Is there a SQL way to do this in SQL Developer? Alternatively, can SQL Developer call SQL*Plus to run commands?This is a current bug when executing as statement (F9).
Good news is it does work when running as script (F5).
Have fun,
K. -
Sql developer query window corrupting on scroll
Hi there
I have a weird error - when I scroll in my SQL developer query window (tab) the text corrupts and only comes back if I click in the window somewhere or save. Has anyone else seen this? I'm on version 1.5.5 and don't really want to upgrade to the latest as I don't like the new layout (no dbmsoutput etc in the results window)
Cheers, Katesorted it by adding a line AddVMOption -Dsun.java2d.noddraw=true to the sqldeveloper.conf file, as per thread SQL Editor not refreshing after scroll on Windows Vista
-
SQL Developer Data Copy (version 1.5.5)
I was trying to copy the data values from one table to another.(Across two schemas. But the tables are the same). I exported the data values as csv and imported in on the other schema. is this the only way to do on SQL developer?. This method seems to be inconsistent. It works only for a few tables. Doesn't work for all the tables. Does anyone have an alternative solution for this?. Or can anyone give me the exact picture of what could possibly be wrong with my method?
Hi,
Data Modeler 4.1 needs Java 1.8 to run successfully.
If you try to run Data Modeler 4.1 with Java 1.7 it gets stuck in "Registering Extensions", and this error appears in the console log.
When you try to start it with Java 1.7 it normally gives an "Unsupported JDK version" warning, which identifies the file that needs to be updated to refer to a Java 1.8 jdk.
On Windows, this will normally be C:\Users\<your user>\AppData\Roaming\datamodeler\4.1.0.866\product.conf,
but if you start it from the console using the datamodeler64.exe it will probably use the file
C:\Users\<your user>\AppData\Roaming\datamodeler64\4.1.0.866\product.conf instead.
You can edit this file. Alternatively if you delete the file, it should display the dialog asking for the location of the JDK next time.
David -
SQL Developer - Database Export - Constraints not included in DDL
I have used the Database Export function available in the Tools menu but have been unsuccessful in getting the referential integrety and check contraints to export. These are the steps I take:
Environment: Windows XP Professional.
SQL Developer 1.5.1
Tools>Database Export
In Source/Destination I select the filename and the database source and check:
Show Schema
Terminator
Pretty Print
Add Force to Views
Include Grants
In Types to Export I check all except Data.
In Specify Objects I select the Schema I want to export.
None of the foreign_key or check constraints are shown but I select all of the objects.
Export Summary
File:C:\Documents and Settings\richardk.asbury\My Documents\EER\eer3.sql
Connection:ENVD
DDL Options
Show Schema
Terminator
Pretty Print
Add Force to Views
Necessary object dependencies will be included in export.
Tables
A_EMIS_TOXIC_DTL
A_EMIS_TOXIC_HDR
DSK_BLOB
PORTAL_AI_PROFILE
PORTAL_AI_XREF
PORTAL_USER
SUBJECT_ITEM_PARENT
SUBJ_ITEM_ATTRIBUTE
SUBJ_ITEM_COMMENTS
SUBJ_ITEM_QUANTITIES
SUBJ_ITEM_RELATED
Views
ACTIVITY_TASK_LIST_VW
AGENCY_INTEREST_ORG_XREF_VW
AGENCY_INTEREST_VW
A_EMIS_TOXIC_DTL_VW
A_EMIS_TOXIC_HDR_VW
DSK_CENTRAL_VW
MTB_ATTRIBUTE_DESC_VW
MTB_ATTRIB_ATTR_DESC_XREF_VW
MTB_MUNICIPALITY_VW
MTB_PARAMETER_VW
MTB_PERSON_TITLE_VW
MTB_PORTAL_SUBMITTAL_STATUS_VW
MTB_QUANTITY_TYPE_VW
MTB_QUANT_METHOD_VW
MTB_STATE_VW
MTB_SUBJECT_ITEM_ATTRIBUTE_VW
MTB_SUBJECT_ITEM_TYPE_VW
MTB_UNITS_VW
ORGANIZATION_VW
PERSON_VW
PORTAL_AI_PROFILE_VW
PORTAL_AI_XREF_VW
PORTAL_EMAIL_QUEUE_VW
PORTAL_USER_VW
SUBJECT_ITEM_VW
SUBJ_ITEM_COMMENTS_VW
SUBJ_ITEM_GENERAL_VW
SUBJ_ITEM_LOC_LAT_LONG_VW
Indexes
INDX_DSK_BLOB_BLOB_TITLE
PK_A_EMIS_TOXIC_DTL_ID
PK_A_EMIS_TOXIC_HDR_ID
PK_DSK_BLOB
PK_PORTAL_USER_ID
PK_SUBJECT_ITEM_PARENT
PK_SUBJECT_ITEM_RELATED
PK_SUBJ_ITEM_ATTRIB_ID
PK_SUBJ_ITEM_COMMENTS_ID
PK_SUBJ_ITEM_QUANT_ID
SYS_C0017821
Package Spec
MNG_DATA
MNG_USER
Package Body
MNG_DATA
MNG_USER
Procedures
All procedures will be exported.
Functions
All functions will be exported.
Triggers
A_EMIS_TOXIC_DTL_BEFINSUPD
A_EMIS_TOXIC_HDR_BEFINSUPD
PORTAL_AI_PROFILE_BEFINS
PORTAL_AI_XREF_BEFINS
PORTAL_USER_BEFINS
SUBJECT_ITEM_PARENT_BEFINSUPD
SUBJ_ITEM_ATTRIBUTE_BEFINSUPD
SUBJ_ITEM_COMMENTS_BEFINSUPD
SUBJ_ITEM_QUANTITIES_BEFINSUPD
SUBJ_ITEM_RELATED_BEFINSUPD
Types
All types will be exported.
Sequences
A_EMIS_TOXIC_DTL_SEQ
A_EMIS_TOXIC_HDR_SEQ
DSK_BLOB_SEQ
PORTAL_AI_PROFILE_SEQ
PORTAL_AI_XREF_SEQ
PORTAL_USER_SEQ
SUBJECT_ITEM_PARENT_SEQ
SUBJ_ITEM_ATTRIBUTE_SEQ
SUBJ_ITEM_COMMENTS_SEQ
SUBJ_ITEM_QUANTITIES_SEQ
SUBJ_ITEM_RELATED_SEQ
Materialized Views
All materialized views will be exported.
Materialized View Logs
All materialized view logs will be exported.
Synonymns
All synonyms will be exported.
Queues
All queues will be exported.
Queue Tables
All queue tables will be exported.
Database Links
All data base links will be exported.
There are numerous Check and Foreign_key constraints missing in created DDL.
Im I missing a step?
rasberryActually all tables were included and the Automatically Include Dependent Objects option was checked.
For an example, the first table exported A_EMIS_TOXIC_DTL had the following constraints:
FK_A_EMIS_TOXIC_DTL2HDR Foreign_Key
NN_A_EMIS_TOXIC_DTL_ID Check
PK_A_EMIS_TOXIC_DTL_ID Primary_Key
The primary key constraint was included in the DDL but none of the others. -
SQL Developer - Database connection problem
Hi all,
I had SQL Developer 1.5.4 with JDK, when connect to database with connection type TNS,
test connection successfully, but when I try to open tables; here the error that I got:
java.lang.NullPointerException
at oracle.javatools.db.ora.BaseOracleDatabase.getCurrentSchema(BaseOracleDatabase.java:163)
at oracle.javatools.db.ora.OracleDatabaseImpl.hasRole(OracleDatabaseImpl.java:247)
at oracle.javatools.db.ora.OracleDatabaseImpl.reconnected(OracleDatabaseImpl.java:119)
at oracle.javatools.db.ddl.DDLDatabase.<init>(DDLDatabase.java:53)
at oracle.javatools.db.dictionary.DictionaryDatabase.<init>(DictionaryDatabase.java:57)
at oracle.javatools.db.ora.BaseOracleDatabase.<init>(BaseOracleDatabase.java:130)
at oracle.javatools.db.ora.OracleDatabaseImpl.<init>(OracleDatabaseImpl.java:109)
at oracle.javatools.db.ora.Oracle8.<init>(Oracle8.java:17)
at oracle.javatools.db.ora.Oracle8i.<init>(Oracle8i.java:38)
at oracle.javatools.db.ora.Oracle9i.<init>(Oracle9i.java:181)
at oracle.javatools.db.ora.Oracle9iR2.<init>(Oracle9iR2.java:41)
at oracle.javatools.db.ora.Oracle10g.<init>(Oracle10g.java:26)
at oracle.javatools.db.ora.Oracle10gR2.<init>(Oracle10gR2.java:18)
at oracle.javatools.db.ora.OracleDatabaseFactory.createDatabaseImpl(OracleDatabaseFactory.java:112)
at oracle.javatools.db.DatabaseFactory.createDatabaseImpl(DatabaseFactory.java:147)
at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:130)
at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:637)
at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:564)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1119)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:631)
at java.lang.Thread.run(Thread.java:595)
Any help would be appreciated.
Thanks
MichaelIt has nothing to do with the user and privilige thing.
I think maybe it is a jdk problem.
Maybe you can check the jdk version you are using.
Goog luck. -
Developing database views between Oracle and SQL Server tables
I am on Oracle 10.2, my organization has many SQL Server databases as well and has now made
SQL server as company standard so many new databases will be developed in SQL Server. It is of course
not possible to convert all Oracle databases to SQL Server, so a mix environment will exist. Two questions:
1. Is it possible to develop database views in Oracle (10g in my case) which join Oracle tables with tables in SQL Server 2008? If yes, how. I have seen some heterogeneous connectivity setup to connect SQL Server to Oracle, but not sure whether it is possible to develop a database view across two databases.
2. I know it is not a SQL Server forum, but many DBA’s know both Oracle and SQL Server. Is it possible to develop views in SQL Server (SQL Server 2008 R2 in my case) which join Oracle 10g and SQL Server 2008 tables? I know in SQL Server, there is way to set up linked servers, but do not know whether it is possible to develop views.
Thanks a lot for your insight.You can create views that join local Oracle tables and remote SQL Server tables. I'm pretty sure you can do the reverse as well but I haven't personally done it.
However, I would be very concerned about the performance you'd get if you created that sort of view. You'd very frequently end up in a situation where Oracle has to pull all the data in the remote table across the database link in order to apply predicates and join the data locally. That could be disastrous from a performance standpoint.
Justin -
Sql developer database difference
I want to save the diff report that I have got comparing two schemas to an excel report.
Can anybody tell me how I can do this?
And also any body know how views and packages are compared between two schemas.
I see the database difference options generates an alter script for views ,functions,packages and procedures.
When I do a textual comparison I don't see any difference.
I am confused about on what parameters the comparison is done.
please help me.You cannot currently save the diff report, but I like the idea. I encourage you to add this to the Feature Requests at the SQL Developer Exchange. This not only makes sure we don't forget, but also gives other users a chance to add their vote for the feature and provides a forum for you (the user base) to brainstorm on how you prefer it to work.
Currently, Diff creates a hash based on selecting text from all_source. If the hash is different between the source and destination, they are considered different.
THE FOLLOWING IS INTENDED TO OUTLINE OUR GENERAL PRODUCT DIRECTION. IT IS INTENDED FOR INFORMATION PURPOSES ONLY, AND MAY NOT BE INCORPORATED INTO ANY CONTRACT. IT IS NOT A COMMITMENT TO DELIVER ANY MATERIAL, CODE, OR FUNCTIONALITY, AND SHOULD NOT BE RELIED UPON IN MAKING PURCHASING DECISION. THE DEVELOPMENT, RELEASE, AND TIMING OF ANY FEATURES OR FUNCTIONALITY DESCRIBED FOR ORACLE'S PRODUCTS REMAINS AT THE SOLE DISCRETION OF ORACLE.
We are planning enhancements to the diff tool, including the area of source comparison and generation. These enhancements will make comparisons more reliable and it will be easier to see the differences between source and destination objects.
Joyce Scapicchio
Development for SQLDeveloper
Edited by: Joyce Scapicchio on Jun 14, 2011 12:50 PM
Edited by: Joyce Scapicchio on Jun 14, 2011 12:51 PM -
30EA3 SQL Developer 3 error message while migrating SQL sever database
I was mirating a SQL sever 2005 database to Oracle 11g, and got the following error message during the process:
"Migration action have failed. Check the migration reports for Detail. :null".
After the error message, I could see the "Captured Database Objects" and "Converted Database objects" under the "Migration Projects". However, if I open the generated scripts, it only contains the fowlloing, nothing else:
"SET DEFINE OFF;
PROMPT Creating User Emulation ...
CREATE USER Emulation IDENTIFIED BY Emulation DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP;
GRANT CREATE SESSION, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW, CREATE SYNONYM,CREATE PUBLIC SYNONYM TO Emulation;"
What's the cause of this problem, please advice. Thanks.
BobHi Bob,
The next thing in the generation script should have been the definition of the sqlserver_utilities package.
This package emulates some of the system functions found in SQL Server.
It gets placed into your converted model as the very last step of the conversion.
Building the generation script (where your failure happened) is straight forward and I wouldn't expect an error here.
I would guess something went wrong during the capture or conversion and is only surfacing during the generation phase when it tried to write the sqlserver_utilities package to the generation file.
I could be wrong, but I would manually check that conversion completed successfully first.
1) Browse you converted model under
Migration Projects "Nav" : Projects > YourProjectName > YourModelName(default a date)> Converted Database Objects > Procedures > YourProcName
a) Are there any red crosses on any of these nodes in your navigator ?
b) If you right click on a converted database name is "reconvert" grayed out or available?
c) run the following in the SQL Worksheet against the same connection you used for the migration repository
select * from md_packages;
Is there one row there with the definition of sqlserver_utilities in its package_header and native_sql columns?
Also do you have anything in the capture issues, conversion status or conversion issues reports (double click you project and the migration reports should pop up on the right hand side, each report a separate tab) ?
Just trying to pinpoint what happened here.
Thanks for your feedback,
Dermot
SQL Developer Team.
Edited by: Dermot ONeill on Feb 16, 2011 2:48 PM -
Oracle-sql developer database connection problem
hi all,
i tried creating a new connection in SQL developer but unable to create.
i tried with all the combinations such as
connection name:hr_orcl
username:hr
password:hr
connection tyrpe:basic,Role:default
hostname:localhost/ip address of my system
port:1521
SID:xe/orcl
But still it is hsowing as " network adapter could not establish the connection".
So could anybody please help me in this regard as to how to resolve this issue as I have searched several sites but could not find a solution for this.Waiting for your reply at the earliest
Thanks,
Rajesh P.
9949254433Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\rajesh>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-DEC-2012 08:21
:08
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 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 28-DEC-2012 08:20:36
Uptime 0 days 0 hr. 0 min. 31 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rajesh-PC)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Users\rajesh> -
Error in SQL Developer: Database Connections has no JNDI context so cannot
Hello,
I have installed SQL Developer 3.1.07 version on Linux. Previously I was able to create a connection and browse the existing tables, add tables, etc.
Now when I launch SQL Developer, I see that no connections are displayed. Instead there are these three messages indicating an error. Can you please advice on how to resolve this?
Thanks,
Errors:
SEVERE 44 0 oracle.jdeveloper.db.DatabaseConnections DatabaseConnections has no JNDI context so cannot list connections.
SEVERE 43 36 oracle.jdevimpl.db.adapter.DefaultContextWrapper Failed to create naming Context for db connections at url: file:/home/user/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml
SEVERE 42 0 oracle.jdevimpl.db.adapter.DefaultContextWrapper Failed to create naming Context for db connections at url: file:/home/user/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xmlHi uparthas,
Here is a similar thread (Windows 7) marked as answered, and may be applicable to a Linux environment if you are using jdk1.7 rather than jdk1.6:
Lost my connections.
If that does not solve the issue, you might also wish to ...
1. Exit SQL Developer
2. Delete or rename the /home/user/.sqldeveloper/system3.1.07.42 directory
3. Launch SQL Developer, perhaps without choosing to migrate settings from a prior install.
Hope this helps,
Gary
SQL Developer Team -
SQL Developer dropping first column in a SQL SELECT
Am not too certain who to report this to... but I just noticed that SQL Developer will not return the first column in a SELECT statement when there is a comment just after the SELECT reserved word when running the query in the SQL Worksheet. For instance:
SELECT -- > HEADER INFORMATION STARTS HERE <--
w.stu_id HDR_STU_ID,
w.wiser_id HDR_WISER_ID,
iep.wiep_id HDR_WIEP_ID,
sis.wisis_id HDR_WISIS_ID,
FROM wiser_exit exit
INNER JOIN wiser w
ON exit.wiser_id = w.wiser_id
INNER JOIN wiser_iep iep
ON w.wiser_id = iep.wiser_id
INNER JOIN vw_wiser_iep_sis sis
ON iep.wiep_id = sis.wiep_id
will just return columns 2 - 4 (HDR_WISER_ID, HDR_WIEP_ID, and HDR_WISIS_ID), and NOT column HDR_STU_ID.
I verified this by running the same query in SQL Commands in the SQL Workshop of APEX, and the resultset returned all the columns including HDR_STU_ID.
Just ran another quick test in SQL Developer, and get the same results from a SELECT against a single table:
SELECT -- > HEADER INFORMATION STARTS HERE <--
county_cd,
odd_even_flg,
street_name
FROM dime
Did not return the county_cd column.
I know, it's just a minor quirk, but I thought I would mention it.John,
Thank you. I replaced the '--' comments with the '/*' '*/' style and it picked up the first column.
I guess I'll just have to break an old habit I've been doing for years for comments. Dang, I hope all that old code doesn't break...
Thomas
Spoke too soon. I followed up by checking what Oracle's 'Oracle Database 10g The Complete Reference' had to say about the issue of using '--' for comments and under '-- (Comment)' it says "-- tells oracle a comment has begun. Everything from that point to the end of the line is treated as a comment. These delimiters are used only within SQL itself or in PL/SQL ..."
So I guess I can continue using '--', but need to keep in mind that in certain circumstances it might not work as expected. YMMV
Edited by: Thomas 8246 on Feb 19, 2010 8:09 PM -
SQL Developer Seems to have messed up SQL Plus & Crystal Connectivity
Hi all,
previously I have been able to connect to a DB via SQL Plus. Also, I have been able to report on it with Crystal Reports XI.
I'm not certain, but I believe this has occurred since installing SQL Developer?!?!? Since once I installed, no need to use SQL Plus anymore and just haven't needed Crystal for a while.
My TNSNames.ora in C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN seems fine (it worked before)
SQLNet.ora has the following in it......
#SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= ( TNSNAMES, EZCONNECT )
A TNSPing returns.....
C:\>TNSPING PVNGDEV1
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-SEP-2
008 17:28:21
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
C:\>
When I try and create a connection via Crystal I get....
Crystal Reports
Failed to open the connection.
Details: ORA-12154: TNS:could not resolve the connect identifier specified
[Database Vendor Code: 12154 ]
This is sending me absolutely crazy and have already spent 1/2 day trying to fix it.
Please - any ideas?
Regards
DC
SQL Developer 1.5.1
Oracle Client 10.2
Crystal Developer XIPROBLEM SOLVED - WHAT A MYSTERY and a WASTE OF MY TIME.
APOLOGIES TO SQL Develoepr for being the prime suspect - I still love you!
TNSNAmes.ORA as follows works!!!!!!
pvngdev1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ********)(PORT = 1521))
(CONNECT_DATA =
(SID = pvngdev1)
However, the following does not
PVODB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PVODB)
PVOQA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SID = PVOQA)
# - Enterprise Reporting
ERSDEVDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SID = sasrpt)
(SERVER = DEDICATED)
# - PVNG
PVNGDEV1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PVNGDEV1)
PVNGQA1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PVNGQA1)
DESTDEV1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DESTDEV1)
Why is this.
I guess I 'll build up TNSNAmes connection by connectuion and test and see how I get on.
Regards all
DC
Maybe you are looking for
-
Hi I am having trouble merging word and poerpoint files into single PDF by acrobat X professional on a mac book pro. Error says its not supported format. Why is that? It works perfectly on windows. Is the feature of merging office files not enabled i
-
[SOLVED] XFCE Remove Thunar from desktop?
Hi. I've got a annoying problem that i can't seem to find a solution to on my own and furthermore it seems like nobody is discussing the "issue" I'm about to address. Since my new install of Arch Linux XFCE defaults to have Thunar on my desktop! Addi
-
How do I display the template chooser menu? It no longer appears under the File menu. I can see it only in the help mode.
-
I am still trying to update my Ipod touch 4 to the iOS 6 version. It is on the 4.3.5 (8L1) version. When I go to settings-General-it just says About and nothing about an update. I have no idea how to update it! Please help!
-
Does anyone know where I can buy the rf coaxial cable adapter connector needed to connect my built-in tv tuner to a coaxial cable so I can get a tv signal? HP has no info that I can find, nor any place to purchase one. Thanks.