10g connect to 9i db
I have installed 9.2 db and 10g Forms in my machine locally with different home. I cannot connect the db from forms. Any ideas why is that?
Thanks,
Hi,
did you configure the tnsnames.ora file in the <Oracle Developer Suite Home>\network\admin directory with the tnsnames alias for your database ?
Frank
Similar Messages
-
Oracle 10G connection problem
I launch my db with the following script:
su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
Here is the output:
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area 188743680 bytes
Fixed Size 778036 bytes
Variable Size 162537676 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
Database mounted.
Database opened.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Database "orcl" warm started.
LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.1.0.2.0 - Production
System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
xe)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
Start Date 27-FEB-2004 22:17:59
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
xe)(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
But when i try to connect with sqlplus:
oracle@xavan_fixe oracle $ sqlplus
SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter user-name: scott
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directoryWhen you go to get connection you have to set the ORACLE_SID enviroment variable or use the service name in the string to get connection.
Joel Pérez -
Oracle 10G connection problem
I launch my db with the following script:
su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
Here is the output:
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area 188743680 bytes
Fixed Size 778036 bytes
Variable Size 162537676 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
Database mounted.
Database opened.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Database "orcl" warm started.
LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.1.0.2.0 - Production
System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
xe)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
Start Date 27-FEB-2004 22:17:59
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
xe)(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
But when i try to connect with sqlplus:
oracle@xavan_fixe oracle $ sqlplus
SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter user-name: scott
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directoryBoth friends
You have to set the ORACLE_SID enviroment variable before getting connection to the database through SQL*Plus so:
export ORACLE_SID=<database_sid>
sqlplus /nolog
conn <user>/<password>
and that's it
Joel Pérez
http://otn.oracle.com/experts -
Deployment from 11g to 10g connection string cannot get provider error.
Hi, I'm doing a deployment from oracle client 11g to 10g. Is this possible? there are yes and no answer I have try out from the forum. All did not workout with any of the configuration setup.
For development I am using VS2012, MVC 4. EF 4. Oracle 11g
The server is currently running Oracle 10g with Oracle.Dataaccess.dll 10.2.0.100
This is my connection string setup at the server.
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</configSections>
<connectionStrings>
<add name="OraAspNetConnectionString" connectionString="Data Source=dtsr;User Id=ids;Password=pwd;" providerName="Oracle.DataAccess.Client"/>
<add name="OraAspNetConnectionString2" connectionString="Data Source=dtsr;User Id=ids;Password=pwd;" providerName="Oracle.DataAccess.Client.OracleConnection"/>
</connectionStrings>
<!--<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>-->
<appSettings>
<add key="webpages:Version" value="2.0.0.0"/>
<add key="webpages:Enabled" value="false"/>
<add key="PreserveLoginUrl" value="true"/>
<add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
</appSettings>
<system.data>
<DbProviderFactories>
<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory,Oracle.DataAccess,Version=4.112.3.0,Culture=neutral,PublicKeyToken=89b483f429c47342" />
</DbProviderFactories>
</system.data>
<system.web>
<compilation targetFramework="4.0">
<assemblies>
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
</compilation>
<httpRuntime/>
<authentication mode="Windows"/>
<identity impersonate="true"/>
<pages controlRenderingCompatibilityVersion="4.0">
<namespaces>
<add namespace="System.Web.Helpers"/>
<add namespace="System.Web.Mvc"/>
<add namespace="System.Web.Mvc.Ajax"/>
<add namespace="System.Web.Mvc.Html"/>
<add namespace="System.Web.Optimization"/>
<add namespace="System.Web.Routing"/>
<add namespace="System.Web.WebPages"/>
</namespaces>
</pages>
<sessionState mode="InProc" timeout="20" cookieless="false"/>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/>
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/>
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0"/>
<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0"/>
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
</handlers>
<security>
<authorization>
<add accessType="Allow" users="?"/>
</authorization>
</security>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0"/>
</dependentAssembly>
<!--<dependentAssembly>
<assemblyIdentity name="Oracle.DataAccess, Version=10.2.0.100, Culture=Neutral," publicKeyToken="89b483f429c47342" />
<bindingRedirect oldVersion="10.2.0.100" newVersion="4.112.3.0"/>
<publisherPolicy apply="no" />
</dependentAssembly>-->
</assemblyBinding>
</runtime>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
</entityFramework>
</configuration>
I get this error when page trying to connect to database.
[ProviderIncompatibleException: An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct.]
System.Data.Entity.ModelConfiguration.Utilities.DbProviderServicesExtensions.GetProviderManifestTokenChecked(DbProviderServices providerServices, DbConnection connection) +163
System.Data.Entity.ModelConfiguration.Utilities.DbConnectionExtensions.GetProviderInfo(DbConnection connection, DbProviderManifest& providerManifest) +39
System.Data.Entity.DbModelBuilder.Build(DbConnection providerConnection) +46
System.Data.Entity.Internal.LazyInternalContext.CreateModel(LazyInternalContext internalContext) +62
System.Data.Entity.Internal.RetryLazy`2.GetValue(TInput input) +117
System.Data.Entity.Internal.LazyInternalContext.InitializeContext() +453
System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) +18
System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() +56
System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext() +15
System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider() +37
I have check the
1. Enviroment Variables path is set to the 10.../client_1/
2. Tnsname.ora already configured.
3. machine.config did not define the connection string path, as it is define in the web.config
4. Oracle.Dataaccess.dll is in the bin of my application website (v4.112.3.0).
5. In my application web bin folder also include additional dlll.
mfc71.dll
msvcr71.dll
oci.dll
ociw32.dll
orannzsbb11.dll
oraocci11.dll
oraociicus11.dll
OraOps11w.dll
Anyone please help.. Thanks in advance..
Edited by: 976886 on Dec 13, 2012 7:46 PM976886 wrote:
I want to know, it is possible to migrate the application from oracle 11g to 10g? such that the component are supported across?
Because in the development, all goes well, no error on the oracle connection.
OR did I miss out anything that causes it not working on my server deployment?yes
yes
yes
how can we reproduce what you claim? -
Hi all,
<br><br>
<b>I am trying to connect Oracle 10g client (installed on WinXP) to Oracle 11g database (installed on WinXP). The connection failes with the error No Listener returned.</b>
<br><br>
Below are the details.
<br><br>
On the database side (ip: 217.164.80.21 hostname:winxp ):<br>
I removed the listener service, restarted the machine, and installed the LISTENER service again using Net Easy configuration.
C:\>lsnrctl
LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 08-FEB-2008 09:42
:17
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=winxp)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
ction
Start Date 08-FEB-2008 09:30:57
Uptime 0 days 0 hr. 11 min. 24 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\oradb11g\network\admin\listener.ora
Listener Log File c:\oracle\diag\tnslsnr\winxp\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=winxp)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "ora11g" has 1 instance(s).
Instance "ora11g", status READY, has 2 handler(s) for this service...
Service "ora11gXDB" has 1 instance(s).
Instance "ora11g", status READY, has 1 handler(s) for this service...
Service "ora11g_XPT" has 1 instance(s).
Instance "ora11g", status READY, has 2 handler(s) for this service...
The command completed successfully
LSNRCTL> exit
C:\>type c:\oracle\oradb11g\NETWORK\ADMIN\tnsnames.ora
# tnsnames.ora Network Configuration File: C:\oracle\oradb11g\network\admin\tnsn
ames.ora
# Generated by Oracle configuration tools.
ORA11G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = winxp)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ora11g)
C:\>sqlplus system/mypassword@ora11g
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Feb 8 09:44:33 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Pr
oduction
With the Partitioning, OLAP, Data Mining and Real Application Testing options<br>
On the client side, I got the following<br>
C:\oracle\OraClient10g\NETWORK\ADMIN>ping winxp
Pinging winxp [217.164.80.21] with 32 bytes of data:
Reply from 217.164.80.21: bytes=32 time=71ms TTL=63
Reply from 217.164.80.21: bytes=32 time=181ms TTL=63
Reply from 217.164.80.21: bytes=32 time=54ms TTL=63
Reply from 217.164.80.21: bytes=32 time=17ms TTL=63
Ping statistics for 217.164.80.21:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 17ms, Maximum = 181ms, Average = 80ms
C:\oracle\OraClient10g\NETWORK\ADMIN>type tnsnames.ora
# tnsnames.ora Network Configuration File: C:\oracle\OraClient10g\network\admin\
tnsnames.ora
# Generated by Oracle configuration tools.
ORA11G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = winxp)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ora11g)
C:\oracle\OraClient10g\NETWORK\ADMIN>tnsping ora11g
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 08-▌╚╤╟و
╤-2008 09:47:36
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oracle\OraClient10g\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = winxp)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ora11g)))
TNS-12541: TNS:no listener
C:\oracle\OraClient10g\NETWORK\ADMIN>sqlplus system/mypassword@ora11g
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 8 09:48:19 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12541: TNS:no listener<br>
The firewall is set to OFF in both the database and client hosts.
<br>
Thanks in advanced.Here is what I got "user601690"<br>
C:\oracle\OraClient10g\NETWORK\ADMIN>tnsping 217.164.80.21 1521
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 08-▌╚╤╟و
╤-2008 10:05:25
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oracle\OraClient10g\network\admin\sqlnet.ora
Used EZCONNECT adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=217.164.80.21))(A
DDRESS=(PROTOCOL=TCP)(HOST=217.164.80.21)(PORT=1521)))
TNS-12541: TNS:no listener
C:\oracle\OraClient10g\NETWORK\ADMIN>type tnsnames.ora
# tnsnames.ora Network Configuration File: C:\oracle\OraClient10g\network\admin\
tnsnames.ora
# Generated by Oracle configuration tools.
ORA11G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 217.164.80.21)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ora11g)
C:\oracle\OraClient10g\NETWORK\ADMIN>tnsping ora11g
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 08-▌╚╤╟و
╤-2008 10:05:56
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oracle\OraClient10g\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 217.164.80.21)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ora11g)))
TNS-12541: TNS:no listener -
Application server Oracle 10g connectivity by using real IP
I have configured the Oracle application server 10g on RHEL update 2 version. It is posible to connet from client pc by using LAN network. But it is not possible to connect from client pc by using real ip over internet.
This is a network related problem. Quite likely a firewall issue. Nothing to do with the Oracle RDBMS product itself.
The only Oracle related issue is the Oracle Listener. It listens for network connections to the IP addresses owned by that Oracle server platform. You can make it listen to only a single address (on a specific NIC). Or on a set or all IP addresses (all NICs) on that server.
It does not care where the originating connection request comes from. If it is to a port and IP address it is listening on, it will accept that connection.
Talk to your network admins. -
Query regarding oracle 10g connection in Visual Studio 2005
Hi ,
I am having visual studio 2005 installed in my system . when i am adding oracle database connection it is displaying that "use this connection for oracle 7 ,8, 9i versions ..i want to connect oracle 10g database in visual studio 2005. plz tell me how to do that?looks like u'r try connecting to oracle using server explorer, just hit OK an then fill in your server name, userid and password.
server name might be SID defined in your tnsnames.ora, or in the form of //<machine_name>/<service_name> -
Oracle forms 9i/10g connecting SQL Server 2000
Could anyone please guide me in detail to connect Oracle Forms 9i/10g with MS SQL Server database?
To connect with Oracle Database, we need to copy and paste the tnsnames.ora file from the Oracle Database folder to the Oracle Forms folder.
But how do i connect with other databases like SQL Server, MS Access, and so on?
Thanks in advance.Follwoing is the soluton which I got from orafaq forum:
<<<<<
I'd go for an ODBC on the database server, using HSODBC. It worked quite well on a data warehouse project using OWB. I fail to see why it wouldn't work for Forms.
MHE
>>>>>
Now I'm fully in a confused and frustrated state. Each person is saying different solutions for the problem. One person is saying to connect using ODBC driver while other is saying to connect JDBC driver. Actually which driver should I configure? Also no one is giving a clear picture for the problem.
How can I get a detailed solution for this problem (with screen shots) which include step by step procedure to configure a driver?
So, I would be pleased if you could please guide me with step by step procedure to get connected with Oracle Forms using SQL Server?
Or atleast some reference site where I can find the same.
Thanks. -
I got following problem, when i log into EM:
java.lang.Exception: IOException in sending Request :: Connection refused: connect
That will appear on every EM i am connecting to...
I tried allready some troubleshooters like agentTZ, define TimeZone at emd.properties, restarting server or console but nothing helped.
I also looked for ports which will be used from more than one service but i found nothing :(
My OS is WinXP with 6GB Ram. Current there run 6 DBs on the machine
I have no Firewall on my OS.
If you need more Information, please ask, i am glad about every help i can get...
I have been trying to solve that problem for 3 days.Hi,
See if these threads help you:
java.lang.Exception: IOException in sending Request :: Connection refused
Re: OEM 10g... with 10g Release 2
Cheers -
JDeveloper 10g - Connection problems
I have start testing with JDeveloper 10g and made a connection to Oracle Lite 9. The Navigator shows the tables but when clicking on a table it returns with an error [POL-5205] column not found. A test with Mysql behaved about the same, it showed the tables but then only loading...
These both connections works with JDeveloper 9.0.3.One step forward. When using the MySQL Connector/J driver com.mysql.jdbc.Driver instead of the older org.gjt.mm.mysql.Driver it now works with MySql.
-
Oracle 10g connect too sloooooowly in server.
I install Oracle 10g in a HP Server, have a question to ask:
I use SQLPlus to connect Oracle from server, it need about 30 seconds.
When I connect Oracle from client, it only need about 1 second.
Why???Hi,
if it is a SQL Plus problem, I would try this question on the database forum.
Frank -
JDBC 10g Connectivity Prob.
I am new to java and have spend just few hours on studying it yet (switching from vb6 to java). I have problem of JDBC connectivity with oracle 10g server. code is as follows:
import java.sql.*;
public class test
public static void main(String args [])
Connection conn;
Statement stmt;
ResultSet rset;
try
Class.forName("oracle.jdbc.driver.OracleDriver");
String url = "jdbc:oracle:thin:@10.0.110.47:1525:cmad";
String username = "qyaqub";
String password = "qyaqub_1234";
conn = DriverManager.getConnection(url, username, password);//exception in this line
System.out.println("Connection successful");
catch (Exception e)
e.printStackTrace();
and output of compile is :
init:
deps-jar:
Compiling 1 source file to D:\JWork\persondetails\build\classes
compile:
run:
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at project.Person.main(Person.java:108)
BUILD SUCCESSFUL (total time: 0 seconds)
anybody Help Please.....................JavaHBK wrote:
i downloaded jdbc driver from oracle site but when i try to extract the file i get following errror:you don't extract anything. all you do is put that JAR in your classpath. do you know how to do that? (hint: better learn how.)
put the ojdbc14.jar in the same directory where that .java file is. when you compile your .java source, you should see a .class file in the same directory where your .java and .jar files are. (i'm assuming that you don't have a package statement at the start of your Java class.) if that's all true, you run by navigating to that directory and typing into the command shell:
java -classpath .;ojdbc14.jar YourClassNameHere
Note the "dot" at the start of the classpath. It tells the class loader to look in the current directory.
% -
Problem related to Oracle D2k and Oracle 10g Connectivity
Hi ,
I want to connect (oracle form and report 6i to oracle 10g Express Edition) but i heard that the character set problem occured in this situation please solve my problem , presently i am using oracle 9i (9.2.0.1.0)but i want to use 10g version of oracle and form and report version same as 6i how i change the character set of Oracle10ExpressEdition to connect these one's.Hi ,
I want to connect (oracle form and report 6i to oracle 10g Express Edition) but i heard that the character set problem occured in this situation please solve my problem , presently i am using oracle 9i (9.2.0.1.0)but i want to use 10g version of oracle and form and report version same as 6i how i change the character set of Oracle10ExpressEdition to connect these one's.
I want to user Western-European character set -
Hi,
A LONG time ago I had an issue with using an SSH tunnel to connect to a remote 10g database (10g only, 11g works fine) that was on a Windows XP box. The solution turned out to be a setting that had something to do with how Oracle uses ports and can change them going outbound (it was Windows only, Linux did not have the issue), I had to edit a setting in the SPfile and that did it, but damned if I can find the answer now. Anybody have an idea of what it is?revo1059 wrote:
Hi,
A LONG time ago I had an issue with using an SSH tunnel to connect to a remote 10g database (10g only, 11g works fine) that was on a Windows XP box. The solution turned out to be a setting that had something to do with how Oracle uses ports and can change them going outbound (it was Windows only, Linux did not have the issue), I had to edit a setting in the SPfile and that did it, but damned if I can find the answer now. Anybody have an idea of what it is?as far as I know, there is no Oracle parameter that is OS specific; since Oracle is OS agnostic. -
Forms 6i or forms 10g connectivity with oracle 10g Lite
Hi,
We have install oracle 10g lite db on our PC (Windows XP professional), but we are unable to connect to forms 6i and report 6i.
Can you please tell us how can we connect oracle 10g lite db to forms & reports 6i?
Thanks
OmprakashWelcome to the OTN Forums. Before posting anything else, please read the following:
http://blogs.oracle.com/shay/2007/03/02/
Maybe you are looking for
-
Help to access a JTextArea created in another method ?
Hello, first I am a new to java although i am a very experienced PHP programmer ... i am having trouble figuring out why i cannot access the JTextArea created inside BuildContainer() in my program below from another method NewFile(). I am sure its ju
-
How to cut a movie in Logic 9?
Hi, I'm using Logic 9 to compose a score for a short film. I would like to cut the first few minutes of the movie, how do I do that? And secondly, I want to bounce the audio along with the video. I have read in other discussions that I should go to O
-
Web Dynpro ABAP, Interctive Form not opening
I have a simple Web Dynpro with a context node with two attributes (char10). There's a view with an Interactive Form UI element and an input field with the corresponding label. I've created a form through the Interactive Form UI element property temp
-
Hi all, since upgrading to Mountain Lion my iMac keeps freezing every now and then and seems to be getting worse. I upgraded to 10.9 Maverick a couple days ago but that didn't help either. Anyone have any ideas what could cause it if it's not the OS
-
No result in the FlightList table
Hi, All I try to use RFC function in web dynpro. The RFC function is ABAP function from other R/3 system. I did the FlightList example. Now I had already configureed the SLD and JCO, and the JCO was tested successful. When i run the webdynpro projec