|
-
Feb 12th, 2004, 09:31 AM
#1
Thread Starter
Frenzied Member
Oracle 8.1.5
using the following:-
Public Sub ReportADO()
' in code, initialize the connection
Set adoConnect = New ADODB.Connection
m_Server = frmConn.txtServer.Text 'm_Server = "MERCURY"
m_UID = frmConn.txtUID.Text 'm_UID = "MERCURY"
m_UPW = frmConn.txtUPW.Text 'm_UPW = "MERCURY"
Set m_ORAcmd = New ADODB.Command
m_strSQL = _
"data source=" & m_Server & ";" & _
"user id=" & m_UID & ";" & _
"password=" & m_UPW
With adoConnect
.Provider = "MSDAORA"
.CursorLocation = adUseClient
.ConnectionTimeout = 3
.ConnectionString = m_strSQL
.Open m_strSQL, , , -1
End With
Set m_ORAcmd.ActiveConnection = adoConnect
' in code, using recordset
Set adoRecordSet = New ADODB.Recordset
' Prepare the RecordSet
adoRecordSet.CursorType = adOpenStatic
adoRecordSet.LockType = adLockOptimistic
i have had problems putting on other machines, the oracle client works fine and opened SQL Plus and that connects ok, however my application doesnt, but does on my development machine any one help????
Thanks in advance
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
Feb 12th, 2004, 11:48 AM
#2
Fanatic Member
are the drivers of the ODBC connection installed on the client machines?
If wishes were fishes we'd all cast nets.
-
Feb 12th, 2004, 11:52 AM
#3
Thread Starter
Frenzied Member
yep full oracle client 8.1.5
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
Feb 12th, 2004, 03:52 PM
#4
-
Feb 13th, 2004, 03:21 AM
#5
Thread Starter
Frenzied Member
on different machines different errors on mine its a TNS error
on others its couldnt connect 214** error no host found
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
Feb 13th, 2004, 11:02 AM
#6
Is the tnsnames.ora file correct and on all computers?
-
Feb 13th, 2004, 11:07 AM
#7
Thread Starter
Frenzied Member
yep, ive even tryed copying it acroos from ones which work to those which dont, i have successfully installed 8.1.7 on one of the PCs so it may seem that the install CD maybe damaged, however on one machine it wont open the config assistant at all? on any of the client installations
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|