[AccessD] Oracle provider on locked down system

rosalyn.clarke at barclays.com rosalyn.clarke at barclays.com
Thu Mar 20 04:05:11 CDT 2008


Ah OK - the provider connects to the client, not the server. So I have to beg
the build team to install the Oracle client, or sidestep this whole thing.
Luckily the data is not volatile and a nightly export to a .txt file or
something should be acceptable. 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Clarke, Rosalyn :
UK CIO GRCB
Sent: 20 March 2008 08:57
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] Oracle provider on locked down system

Hi Jim

The MS OLE DB Provider for Oracle appears in the list, huzzah. 

BUT when I try to connect I get the same old error message: "Test connection
failed because of an error in initializing provider. Oracle client and
networking components were not found. These components are supplied by Oracle
Corporation and are part of the Oracle Version 7.3.3 or later client software
installation. Provider is unable to function until these components are
installed."

So there's another layer? It's been such a long time since I've needed to
think about this stuff... 

Roz

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

Hi Roz:

Maybe I am being dense just not knowing what functionality you have available
to you. First, can you connect in any way to the Oracle database from the
Citrix desktop.

You can test to see if you can get a connection by:
1. Going to the Citrix desktop.
2. If you can create a text box <right-mouse click> > new > Text Document
I.E. test.txt 3. Rename the new file to test.udl 4. <right-mouse click> >
properties of the test.udl and go to the provider tab. If you see an Oracle
option (Microsoft OLE DB Provider for SQL Oracle will be there by default).
You should see all.
5. Go to the Connection tab and try and setup a connection syntax that will
connect... Test connection.
6. Once you have a good test open the file with notepad and you will see the
proven connection string. <right-mouse click> > Open With > Notepad.

The connection string should then be able to be copied and pasted into your
Access connection string and it should work just fine.

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 10:15 AM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] Oracle provider on locked down system

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.

--
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.

--
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