Getting error ORA-12154 after installing ODP.net how to solve? - asp.net

Am getting below error after installing ODP.net.
ORA-12154: TNS:could not resolve the connect identifier specified
Before installing ODP.net i was able to connect with database using plsql developer.But ODP.net is required to run .net application so i installed ODP.net.But after installing ODP.net am unable to connect with database using plsql develper and .net code. Error am getting is "
ORA-12154: TNS:could not resolve the connect identifier specified "
Let me know if anyone knows the solution for this.

When you installed the latest ODP.net the Oracle Installer may have created a new Oracle_Home. You need to find the sqlnet.ora and tnsnames.ora files from your original home and copy them to the new Oracle Home.
For example. If your first ODP.net installation was to:
C:\app\oracle\product\12.1.0\client_1
and if your second ODP.net installation was to
C:\app\oracle\product\12.1.0\client_2
then you need to copy the files from
C:\app\oracle\product\12.1.0\client_1\Network\Admin
to
C:\app\oracle\product\12.1.0\client_2\Network\Admin

Related

cannot create luminus project with sqlite and clojurescript support

I am trying to create a luminus project with sqlite and cljs support with this command:
lein new dbscript +sqlite +cljs
but I keep getting this error message all the time:
Failed to resolve version for dbscript:lein-template:jar:RELEASE: Could not find metadata dbscript:lein-template/maven-metadata.xml in local (/home/jonas/.m2/repository)
Failed to read artifact descriptor for dbscript:lein-template:jar:RELEASE
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
Could not find template dbscript on the classpath.
and I cannot find any solution to this. Any suggestions?

IBM Websphere Application Server installer error "Adding zip com.ibm.websphere.IHS.ihsonly_z_dist.all_x_y to repository failed"

While trying to install IBM Websphere Application Server developer edition though IBM Installation Manager, getting following issue:
The following errors were generated while installing.
Adding zip com.ibm.websphere.IHS.ihsonly_z_dist.all_x_y to repository
C:\opt\jas\iap\IMshared failed.
Resumable download failed for:
C:\tmp1\was\IBM\WAS\8.5\repository\native\com.ibm.websphere.IHS.ihsonly_z_dist.all_x_y.zip.
'zip com.ibm.websphere.IHS.ihsonly_z_dist.all_x y' does not exist
I don't find com.ibm.websphere.IHS.ihsonly_z_dist.all_x_y.zip in the installable bundles
Am I missing anything?

JDBC driver not load when launch Alfresco

I try to launch alfresco in my local post, but i still getting this error:
Cannot load JDBC driver class 'org.h2.jdbcx.JdbcDataSource'
So i tried to add h2database dependency to my pom.xml; but i still getting the same error.
Is there anyone who got this error.
any idea to how resolve this problem.

how to connect to an MsAccess (accdb) in icCube?

In icCube 6.1 I want to connect to a MsAccess file stored locally on the icCube server. When I try to connect I get the error message:
Failed to establish the connection due to the error: JDBC driver class
'sun.jdbc.odbc.JdbcOdbcDriver' not found in the classpath
This is what I provide in the connection:
Name : Clients
Visibility :
Driver Type : Access (JDK JDBC/ODBC Bridge)
Server Name : localhost
Port Number :
DB Name : C:\data\Clients.accdb
User :
Password :
When I Google on this error I get the message (dated from 2015) that:
in JDK 8, jdbc odbc bridge is no longer used and thus removed from the
JDK.
Help.
As you mentioned you cannot use anymore the JDBC ODBC bridge from JRE 8.
As an alternative you can use a MS Access JDBC driver. For example: UCanAccess. To install this driver in icCube unzip the file and copy the following files into the /lib directory of the icCube install directory:
ucanaccess-4.0.2.jar
jackcess-2.1.6.jar
hsqldb.jar
Then in the builder data source, select a generic JDBC driver and configure the Server Name and DB Name as following:
> Server Name : net.ucanaccess.jdbc.UcanaccessDriver
> DB Name : jdbc:ucanaccess://c:/your-file.accdb
Hope that helps.
[edit] Depending on how icCube is started you might need to update the CLASSPATH with the three new JARs. To avoid CLASSPATH edition, you can use the following in the icCube.sh for example to start icCube using all the JARs in the /lib directory:
> $JAVA $JAVA_OPTS -cp "$ICCUBE/lib/*" crazydev.iccube.server.IcCubeServer

Error while installing informatica 8.6 with oracle 11g in window 10

I am getting below error while installing informatica 8.6:
****use the error below and catalina.out and node.log in the server/tomcat/logs directory on the current machine to get more information. Select Retry to continue the installation.
STDOUT: Installing the service '"Informatica Services 8.6.0"' on node 'node01_geettika4912'...
Using CURRENT_DIR: C:\Informatica\PowerCenter8.6.0\server\tomcat\bin
Using INFA_HOME: C:\Informatica\PowerCenter8.6.0
The service '"Informatica Services 8.6.0"' has been installed.
STDERR: The filename, directory name, or volume label syntax is incorrect.
The service name is invalid.
More help is available by typing NET HELPMSG 2185.**
EXITCODE: 2**
I am getting this error after the successful creation of domain.
Please help me in resolving this error.
Thanks!
Run services.msc to get a list of all the services.
Click properties on the service you want, there you can see the "service name" and the "display name".
The service name is what you need to use with the net command. Check if Informatica Services 8.6.0 is in the list.

Resources