Results 1 to 7 of 7

Thread: Oracle 8.1.5

  1. #1

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143

    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

  2. #2
    Fanatic Member Graff's Avatar
    Join Date
    Jan 2002
    Location
    Calgary
    Posts
    668
    are the drivers of the ODBC connection installed on the client machines?
    If wishes were fishes we'd all cast nets.

  3. #3

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    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

  4. #4
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    What error do you get?

  5. #5

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    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

  6. #6
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    Is the tnsnames.ora file correct and on all computers?

  7. #7

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    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
  •  



Click Here to Expand Forum to Full Width