I can`t connect to Oracle 11g64bits on a WindowsServer2008R264bits from ASP
Hi,
I am trying to connect to Oracle 11g 64 bits on a Windows Server 2008 R2 64 bits from ASP.
But I can´t no matter what kind of provider or connect string I use.
Please see this little video to better understanding. https://www.dropbox.com/s/cq7lx08nfad24yy/Oracle%20Connection%20Error.wmv
I will apreciatte any help I have not ideia what is happening...
This is my ASP code:
Imports System.Data.OleDb
Imports System.Data.OracleClient
Public Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim cnn As OleDbConnection = New OleDbConnection()
'SqlServer connection
'cnn.ConnectionString = "Provider=sqloledb;Data Source=localhost;Persist Security Info=False;User ID=sa;Password=creative;Initial Catalog=DW_Decision;"
'Oracle Connection
'cnn.ConnectionString = "Provider=OraOLEDB.Oracle.1;Data Source=orcl64;Persist Security Info=False;User ID=scott;Password=creative;"
'cnn.ConnectionString = "Provider=msdaora;Data Source=orcl64;User ID=scott;Password=creative;"
'cnn.Open()
'Label1.Text = "OK conexion"
'cnn.Close()
Dim cnn2 As OracleConnection = New OracleConnection()
'Oracle Connection
'cnn2.ConnectionString = "Data Source=orcl64;Integrated Security=yes;"
cnn2.ConnectionString = "Data Source=orcl64;User Id=scott;Password=creative;Integrated Security=no;"
cnn2.Open()
Label1.Text = "OK conexion"
cnn2.Close()
End Sub
End Class
Edited by: 880676 on Feb 7, 2013 10:12 AM
Ok, I already installed the Oracle Client 32 in another folder.
What reference must I include in the page?
Currently I am using: Imports System.Data.OracleClient
And what connect string should I use?, please see all options I tried...
Thanks in advance,
Imports System.Data.OleDb
Imports System.Data.OracleClient
Public Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim cnn As OleDbConnection = New OleDbConnection()
'SqlServer connection
'cnn.ConnectionString = "Provider=sqloledb;Data Source=localhost;Persist Security Info=False;User ID=sa;Password=creative;Initial Catalog=DW_Decision;"
'Oracle Connection
'cnn.ConnectionString = "Provider=OraOLEDB.Oracle.1;Data Source=orcl64;Persist Security Info=False;User ID=scott;Password=creative;"
'cnn.ConnectionString = "Provider=msdaora;Data Source=orcl64;User ID=scott;Password=creative;"
'cnn.Open()
'Label1.Text = "OK conexion"
'cnn.Close()
Dim cnn2 As OracleConnection = New OracleConnection()
'Oracle Connection
'cnn2.ConnectionString = "Data Source=orcl64;Integrated Security=yes;"
cnn2.ConnectionString = "Data Source=orcl64;User Id=scott;Password=creative;Integrated Security=no;"
cnn2.Open()
Label1.Text = "OK conexion"
cnn2.Close()
End Sub
End Class
Similar Messages
-
Can we connect to oracle 9i using vb6.0 in 64 bit machine.
Can we connect to oracle 9i using vb6.0 in 64 bit machine.
Code i have written is
dim conn as new ADODB.Connection
conn.open("Provider=MSDAORA.1;password=pw;user id=usname;data source=dbname;Persist Security info=false")
but it is throwing an error saying
"Connection not open"
But the same code is working in vb.net.
Do we need to install any providers for 64 bit machine?I have had no luck doing this in the 64-bit ODAC or otherwise. If anybody succeeds I would love to hear about it. My experience follows for those interested:
I am trying to migrate some working VB6 code from Windows 2000 Server to 64-bit Windows Server 2003 but can't get the OLEDB connection to Oracle to work.
In the working code (x86 environment), I am using ADO 2.8 and Microsoft OLEDB Provider for Oracle (MSDAORA). Since the Microsoft OLEDB provider for Oracle is no longer supported or available on Windows Server 2003 x64, I tried to use the 32-bit Oracle OLEDB provider in ODAC 10.2 but may have run into the parsing bug posted on MSDN (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=159581). Next, I successfully installed the beta 64-bit version of ODAC 10.2, but when I try to open the connection I receive "Error 3706 Provider cannot be found. It may not be properly installed." However, I can successfully TNSPing the data source.
Windows Server 2003 x64 (not Itanium)
Oracle Enterprise 9.2
Microsoft Visual Basic 6
Microsoft ADO 2.8 (Objects & Recordset references)
Oracle OLEDB Provider (ODAC 10.2, 64-bit)
Code Snippet:
Set m_dbConn = New ADODB.Connection
With m_dbConn
.ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=oplprod; User ID=myid; Password=mypwd;"
.ConnectionTimeout = 10
.CursorLocation = adUseClient
.Open
End With -
Can FDMEE connect to oracle table as source system?
Can FDMEE connect to oracle table as source system?
Hi Experts ,
I am new to FDMEE .
I am loading data from Oracle RDBMS to Essbase/Planning using Open Interface Adapter , as per the steps mentioned in the Erpi_admin guide , i have populated the AIF_OPEN_INTERFACE table with data and configured FDM stuffs ( Mappings , Import Format , Location , Data Rule etc ) . During IMPORT getting the error "
2014-01-28 17:45:24,018 FATAL [AIF]: Error in CommData.insertImportProcessDetails
Traceback (most recent call last): File "<string>", line 2304, in insertImportProcessDetailsRuntimeError: No periods were identified for loading data into table 'TDATASEG'."
Just to confirm that i have done the Period Mapping as well .
Please guide me to load the data using Open interface adapter .
Thanks,
Amit -
Oracle 6i Forms can't connect to Oracle XE Database(Linux)
What is the problem, I can't connect my Oracle 6i Forms to Oracle XE Database that installed on Linux(Fedora Core 4/Ubuntu 6.06), but no problem when I try to connect to Oracle XE Database that installed on Windows.
Thanks,See this thread, seem me interesting
Re: Trouble to start Oracle XE listener
on forms 10g it's work:
using Database XE and Forms 10g
and see too:
http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html
http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm
http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html
Regards -
How can I connect personal hotspot to use the internet from my phone on my laptop?
I do not have internet at home and want to be able to connect using the personal hotspot on my phone. How do i do this??
How much would be a month?
From: Verizon Wireless Customer Support <[email protected]>
To: kelly johnson <[email protected]>
Sent: Wednesday, October 8, 2014 12:02 PM
Subject: - How can I connect personal hotspot to use the internet from my phone on my laptop?
#yiv3595356488 img
|
|
|
A message from the Verizon Wireless Community
|
| |
How can I connect personal hotspot to use the internet from my phone on my laptop?
created by Verizon Wireless Customer Support in iPhone 4S - View the full discussion Hello kmj65
Thanks for replying. The plan you have it would be an additional charge to add the hotspot feature. It's not free with the Nationwide plan. You would need to add the feature online at www.verizonwireless.com/myverizon
JoeL_VZW
Follow us on Twitter @VZWSupport Reply to this message by replying to this email -or- go to the message on Verizon Wireless Community Start a new discussion in iPhone 4S by email or at Verizon Wireless Community
|
|
© 2014 Verizon Wireless
Verizon Wireless
One Verizon Way
Mail Code: 180WVB
Basking Ridge, NJ 07920
Not interested in these emails anymore, or want to change how often they come? Update your email preferences by visiting https://community.verizonwireless.com/user-preferences!input.jspa.
|
We respect your privacy. Please review our privacy policy for more information
about click activity with Verizon Wireless and links included in this email.
|
|
| -
I have CS 6 installed on a Win 7 OS machine. I can not connect to the internet to get updates from within the program. How do I fix this?
IP routing doesn't work the way many folks might initially think it does; functional IP routing requires manual configuration and the establishment of static routes and default routes specific to the local network configurations, and it's very easy to get it wrong, or to get the default route swapped. Multiple NIC boxes don't magically work, either. (Been there, done that, wondered what happened to my network when the paths got reordered or my route settings were messed up, etc.)
Routing configuration errors can be quite subtle, too. (Again, voice of experience. Ever had a thousand-seat office LAN accidentally routing through your desktop? As the, um, unnamed guilty party discovered, getting into that configuration was subtle. Seeing the performance crater on the fellow's box and on the LAN was obvious.)
Knowing how IP routing works is a prerequisite to getting this configuration to work; there's manual configuration required. Clearly something has gone weird here.
What to do? Read up on IP routing. I'll again suggest the threads and the manual mentioned earlier.
And in general, I prefer to avoid using my comparatively expensive Mac boxes as sub-optimal IP routers or as firewall boxes. General-purpose operating systems and generic x86 boxes are going to be inherently poor IP routers. Dedicated routers (or embedded or surplus x86 boxes with routing software loaded) offload the Mac boxes here, and are also typically easier to configure manage. And "real" IP routers can have hardware specific to efficiently routing packets. Use of an outboard firewall or firewall-router box also greatly simplifies gateway routing, too; it's a configuration that many folks and many businesses tend to use. -
Some of my Apps don't connect to the internet. For example, NY Times Web App, says it can't connect. But when I access it from Safari it does (it is a web site and the App just accesses it form the desktop of the IPAD). I have a number of Apps like this. I've removed and reinstalled and it doesn't help. Please help!
Thank you.On the wireless networks that your Mac has had trouble connecting to, do you know which Wireless Security type (WEP, WPA, or WPA2) is being used?
If it is WEP, one of the problems is that the actual standard relies on a 10 character HEX key for 40bit WEP and a 26 character HEX key for 128bit WEP. In order to make things easier, vendors use certain algorithms to convert simple alphanumeric passwords (or passphrases) into HEX keys, thus enabling the use of simple easy to remember WEP password rather than lengthy HEX keys. The problem is that different vendors use different algorithms to generate the HEX key and therefore a ASCII password on an AEBS will be hashed differently on a non-Apple client and vice versa. You may find the following Apple Support article helpful. -
It's says Can't connect to iTunes store ,when I try from my IPad!?
I It's says Can't connect to iTunes store ,when I try from my IPad!?
Try signing out then back in. Try again.
-
TS1398 can I connect to my wireless canon MX 512 from my IPad 2
How can I connect to my wireless canon MX 512 from my Ipad2
You should be able to since it appears to include wifi router.
-
Can't connect to Oracle Home Page after install
hello; I completed all installation process of Oracle 10.g. When I tried to go to Database home I could not go. I can not connect. Please advise me.
Right now I install the Oracle 10g under Window 2000 and when I go to Database
home page it gave me 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:
Open the 127.0.0.1:8080 home page, and then look for links to the information you want.
Click the Refresh button, or try again later.
Click Search to look for information on the Internet.
You can also see a list of related sites.
HTTP 500 - Internal server error
Internet Explorer
What can I do to fix this problem and it since this is a common problem to most people?
Thanks
Davidhello; I completed all installation process of Oracle
10.g. When I tried to go to Database home I could not
go. I can not connect. Please advise me. Did you install XE version?
Right now I install the Oracle 10g under Window 2000
and when I go to Database
home page it gave me this Win 2000?
Which Service Packs are already installed?
The page cannot be displayed
here is a problem with the page you are trying to
reach and it cannot be displayed. Firewall?
What can I do to fix this problem and it since this
is a common problem to most people?Search this Forum.
HTH -
Upraded Sql Developer and can't connect to Oracle
I just updated to the Dec 2009 release and now I can't connect
When I click the plus or right click on Connections and select "New Connection" nothing happens.
If I monitor processes in task manager it shows a brief spike in cpus and a small increase in memory usage but nothing happens in the app.
I also noticed that when I close the application it does not leave memory. I have to kill the process via the task manager to get rid of it.
If I go back to version 1.5.1 it works fine. It also leaves memory when terminated
Using winxp r3.Here is the beginning of the output:
E:\sqldeveloper\sqldeveloper\bin>sqldeveloper
Feb 24, 2010 8:30:27 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/E:/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.snippet.jar!/META-INF/extension.xml:16: Duplicate declaration of addin
oracle.dbtools.raptor.snippet.SnippetAddin. Previously defined in extension oracle.dbdev.snippet
Feb 24, 2010 8:30:27 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/E:/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.snippet.jar!/META-INF/extension.xml:17: Duplicate declaration of addin
oracle.dbtools.raptor.snippet.SaveSnippetAddin. Previously defined in extension oracle.dbdev.snippet
Feb 24, 2010 8:30:27 AM javax.ide.extension.ElementVisitor log
SEVERE: jar:/file:/E:/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.migration.jar!/META-INF/extension.xml:16: Duplicate declaration of addi
n oracle.dbtools.migration.workbench.core.MigrationAddin. Previously defined in extension oracle.dbtools.migration
Feb 24, 2010 8:30:27 AM javax.ide.extension.spi.SAXManifestParser$Handler endElement
SEVERE: jar:/file:/E:/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.migration.jar!/META-INF/extension.xml:22: Exception processing manifest
: java.lang.NumberFormatException:For input string: "VIEW_CATEGORY_MENU"
java.lang.NumberFormatException: For input string: "VIEW_CATEGORY_MENU"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at oracle.ide.util.ArrayResourceBundle.handleGetObject(ArrayResourceBundle.java:495)
at java.util.ResourceBundle.getObject(ResourceBundle.java:378)
at java.util.ResourceBundle.getString(ResourceBundle.java:344)
Here is a snip from partway down:
Exception initializing 'oracle.jdevimpl.runner.profile.ProfilerShell' in extension 'Database Developer': oracle.classloader.util.AnnotatedNoClassDefFo
undError:
Missing class: oracle.jdevimpl.runner.profile.ProfArb
Dependent class: oracle.jdevimpl.runner.profile.ProfilerShell
Loader: ide-global:11.1.1.0.0
Code-Source: /E:/sqldeveloper/jdev/extensions/oracle.onlinedb.jar
Configuration: extension jar in E:\sqldeveloper\jdev\extensions
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2180) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.
jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1733) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.ja
r (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.java:143) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from
system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClassLoader.java:331) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.j
ar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1692) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from
system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1674) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from
system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:320) [jre bootstrap, by jre.bootstrap:1.6.0_10]
at oracle.jdevimpl.runner.profile.ProfilerShell.createRunMenuItem (ProfilerShell.java:193) [/E:/sqldeveloper/jdev/extensions/oracle.onlinedb.j
ar (from extension jar in E:\sqldeveloper\jdev\extensions), by ide-global:11.1.1.0.0]
There are around 500 lines of output none of which tells me what is wrong -
How can I connect to Oracle and SQL server at the same time?
I have been trying to find a way to connect to Oracle Database through the developer 2000 and SQL server at the same time. I need to return some data from Oracle Database and some from the Sql Server Database. And update both through SQL. I find there is such a thing as the Oracle Transparent Gateway for SQL server. I can't find it on any of my CD's or through OTN downloadable files. If anyone can point me where to get this. Or tell of another way this can be accomplished I would appreciate it. TIA.
[email protected]I have been trying to find a way to connect to Oracle Database through the developer 2000 and SQL server at the same time. I need to return some data from Oracle Database and some from the Sql Server Database. And update both through SQL. I find there is such a thing as the Oracle Transparent Gateway for SQL server. I can't find it on any of my CD's or through OTN downloadable files. If anyone can point me where to get this. Or tell of another way this can be accomplished I would appreciate it. TIA.
[email protected]
As far as I know you have 3 options depending on your specifications. I don't think option #3 will work if you need to actually join a
SQL Server table to an Oracle table.
1. Oracle Transparent Gateway. I haven't used the Oracle Transparent Gateway but my understanding is that Oracle gateways are
separate purchased products from Oracle. I've never seen any free/development versions of it anywhere. You'll need to contact
your Oracle sales rep about it.
2. Heterogeneous Connectivity. There's something called Heterogeneous Connectivity that could work for you - depends on what
version of Oracle you're on and what OS. You basically set up an ODBC data source on the Oracle server and modify the listener.ora
and tnsnames.ora files. You can then create a database link to SQL Server just like you would to any other Oracle database. You can
check your Oracle documentation for how this works. There's also some very good documents on Metalink that tell you how to do this
as well as a Heterogeneous Connectivity forum on this site.
3. Use the exec_sql package available in Developer 2000. This allows you to open and execute cursors to remote databases within
Developer. We have an account validation process that uses this - when a person enters an account number in a form while logged
into Oracle it validates the account is valid in our main accounting DB2 database. We also pull HR information from DB2 into Oracle
this way. If you're using Forms 6i exec_sql is a built-in command, in Forms 5.0 and 5.5 you have to add it as an attached library to
the form. I think you also need the OCA options installed from the Developer software to have access to the library in Forms 5.0 and
5.5. The library will be in the $ORACLE_HOME\oca20\plsqllib directory for these versions. The Developer documentation should have
additional information.
HTH -
Hey Gurus,
Please help me .
MY Current requirement is to connect to multiple oracle 7.1( and other variants) servers running on different operating systems, through Java/JDBC.
My FIrst question is, can i connect to older versions of database using latest drivers?
I could connect to the server running on SCO-oracle 7.1 using SQLNet8.1.7 under windows. But the same is not happening when the client is on Linux.But I need to connect from linux
It says ORA-03113 - End of communication channel.
What may be th problem.
If any one could show some pointers where I can get more information about this problem would be helpfull
THanks
LokeshI tried the classpath suggestion above (not the one modifying the .xml file) , but it didnt work for me , I am using WLI 10.3.1 and trying to connect DB on 8.1.7 V . I downloaded the classes12.jar and the ojdbc14.jar file from the oracle and placed in lib and the even included the classpath , but i again got the same exception .
All this while i was selecting the option Oracle Driver Thin from the DataBase Driver when creating the connection pool from console . I tried with "BEA Oracle Driver (Type 4)" and it worked for me .. Although the option "BEA Oracle Driver (Type 4)" lists only the DBs from 9.0.1 to 11 G , but in my case using this driver i am able to connect to Oracle DB 8.1.7 . So all you guys if it classpath doesnt fix the issue try out by selecting Driver , "BEA Oracle Driver (Type 4)" .
Manoj , this will fix the Connection pool part of the ques, but for the java part Try to load the Driver class "weblogic.jdbc.oracle.OracleDriver" before connecting to DB with Class.forName.
Thx
Yatin Mehta -
Can Crystal Connect to Oracle OLAP Cube
I have CR Professional XI installed. Does it have the capability to connect to Oracle 10g OLAP Cubes created in Oracle AWM?
Hi Tommyi,
For Oracle OLAP Cube, are we referring to Hyperien ESSbase?
If the answer is true, then we can create a connection in Crystal, under OLAP, to create an OLAP connection to ESSbase in CR.
Please let me know if this answers your question.
Best Regards
Carlos Chen -
Can not connect to Oracle using ASP, but i can connect to VB6.0
i have installed ODAC 11.2.0.2.1(latest version) and i m trying to connect to Oracle 11G server
So no vb programs are worked so i have installed oracle 11g client and vb programs are all started to work,
but when i try to connect it using asp. i m getting the following error.pls help me
Error Type:
OraOLEDB (0x80004005)
ORA-12154: TNS:could not resolve the connect identifier specified
conn.asp, line 12
on line 12, i did this,
Conn221.Open ConnString221
but my original connection code is
ConnString221 = "Provider=OraOLEDB.Oracle;Password=newbie;User ID=newchips;Data Source=HIS241;PersistSecurity Info=True;PLSQLRSet=1"
Conn221.Open ConnString221
but the same piece of code is working in my friend PC,she installed only 8i Client and this is working perfectly...Please Double check your database name...
Regards,
Raghu
Maybe you are looking for
-
Since Installing 7.0 Message that "Not authorized to play on this computer"
Since installing ITUNES 7.0 earlier this week I just tried to sync to my IPOD. I now get a message that a host of songs (and albums) weren't synced to my IPOD because "You are not authorized to play them on this computer". That's funny; they all show
-
If I want to add a custom link to the left-hand navigation menu In a SharePoint 2013 sub-site, it can be done by visiting Site Settings à Navigation section and adding the link under Structural Navigation: Editing and Sorting section. However, this w
-
How do I change the length of a column in the metadata?
A very simple package, reads data from SQL Server and FTPs it to a destination. I have zero experience with SSIS. I had to add a new column (HEA_ID) to the input and output. The output record has a filler at the end (I hope you know what a filler is)
-
I/O error Uncorectable error with DVD drive Dv7 1211tx
I am currently having problems burning files onto my dvd rw disc. Everytime i try to burn files onto my dvd disc then verify it, it comes up with the I/O error, uncorrectable error message. Is there a way to fix this? Help greatly appreciated.
-
How to Combine Two Calendars?, How to Combine Two Calendars?
Greetings, In iCal I have two calendars. One is called Calendar and the other is called Home. I am not sure how this happened. Some new events are in Calendar and some are in Home. My Question is: How can I combine the two calendars so I just have on