[AccessD] Oracle provider on locked down system

rosalyn.clarke at barclays.com rosalyn.clarke at barclays.com
Wed Mar 19 12:15:04 CDT 2008


Sorry if I'm being dense Jim but I don't think I follow! 

The only thing wrong with my connection string afaik is that the provider is
not installed - I inherited the string and it works fine on the legacy
machines. There is no TNSNAMES file - there is no Oracle directory. Or would
this be on the Oracle server?

I have msado15, msado26 and msado27, plus the MDAC. But the code hangs on the
connection string with either MSDAORA.1 or MSDAORA as the provider. According
to MSDN the Oracle OLE DB provider is included with the .net framework but I
don't have that.

I've worked with Oracle before but in that case we had the Oracle client
installed on the farm.

This whole project is driving me nuts :)

Roz

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence
Sent: 19 March 2008 16:57
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] Oracle provider on locked down system

Hi Roz:

There should be all your standard common files like the ADO components.

Just check to see what the TNSNAMES file looks like and duplicate the
connection string in ADO-OLE. See example below: (This use to be a actual set
but it has long since changed so I think it has no current security
issues.)

<Code>
'from the tnsnames.ora
'
'PCAG.gov.bc.ca =
'   (DESCRIPTION =
'       (ADDRESS_LIST =
'           (ADDRESS =
'               (COMMUNITY = tcpcom.gov.bc.ca)
'               (PROTOCOL = TCP)
'               (Host = CRUSHER.gov.bc.ca)
'               (Port = 1521)
'           )
'       )
'       (CONNECT_DATA =
'           (SID = PCAG)
'               (GLOBAL_NAME = PCAG.gov.bc.ca)
'           )
'       )


' Microsoft connection string...standard security ' Substituted your
msdaora.1 provider Roz. 
gstrConnection = "Provider=msdaora.1;" & _
                 "Data Source=PCAG.gov.bc.ca;" & _
                 "User Id=" & myUsername & ";" & _
                 "Password=" & myPassword
        
'   Test connection string
Set mobjConn = New ADODB.Connection
mobjConn.ConnectionString = gstrConnection ...
</Code>

HTH
Jim

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of
rosalyn.clarke at barclays.com
Sent: Wednesday, March 19, 2008 4:31 AM
To: accessd at databaseadvisors.com
Subject: [AccessD] Oracle provider on locked down system

Dear List

I have a legacy Access database that I need to make work on a Citrix server
farm I cannot configure. The database runs a very simple query on an Oracle
database and currently uses MSDAORA.1 as the provider. The Citrix farm does
not have the Oracle client tools installed, and installing them is probably
not an option. It also doesn't have the .net framework.

Are there any providers people know of that might be included by default in a
normal-ish Windows installation, or is there any way I can bundle something
into a package that will run on a system that denies users write access to
their C:\ drives? 

TIA

Roz

This e-mail and any attachments are confidential and intended solely for the
addressee and may also be privileged or exempt from disclosure under
applicable law. If you are not the addressee, or have received this e-mail in
error, please notify the sender immediately, delete it from your system and
do not copy, disclose or otherwise act upon any part of this e-mail or its
attachments.

Internet communications are not guaranteed to be secure or virus-free.
The Barclays Group does not accept responsibility for any loss arising from
unauthorised access to, or interference with, any Internet communications by
any third party, or from the transmission of any viruses. Replies to this
e-mail may be monitored by the Barclays Group for operational or business
reasons.

Any opinion or other information in this e-mail or its attachments that does
not relate to the business of the Barclays Group is personal to the sender
and is not given or endorsed by the Barclays Group.

Barclays Bank PLC.Registered in England and Wales (registered no. 1026167).
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.

Barclays Bank PLC is authorised and regulated by the Financial Services
Authority.

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

This e-mail and any attachments are confidential and intended solely for the addressee and may also be privileged or exempt from disclosure under applicable law. If you are not the addressee, or have received this e-mail in error, please notify the sender immediately, delete it from your system and do not copy, disclose or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or virus-free.
The Barclays Group does not accept responsibility for any loss arising from unauthorised access to, or interference with, any Internet communications by any third party, or from the transmission of any viruses. Replies to this e-mail may be monitored by the Barclays Group for operational or business reasons.

Any opinion or other information in this e-mail or its attachments that does not relate to the business of the Barclays Group is personal to the sender and is not given or endorsed by the Barclays Group.

Barclays Bank PLC.Registered in England and Wales (registered no. 1026167).
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.

Barclays Bank PLC is authorised and regulated by the Financial Services Authority.




More information about the AccessD mailing list