dbTalk Databases Forums  

Access 2010 x64 problem.

comp.databases.ms-access comp.databases.ms-access


Discuss Access 2010 x64 problem. in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
elias
 
Posts: n/a

Default Access 2010 x64 problem. - 07-26-2010 , 04:25 AM






Hi There,

I've updated one of our a databases to run in Office 2010 x64 w/Win 7
x64.

For some reason, I am getting a Path/Access Error 75 on this
statement:

Open "c:\products.txt" For Output As #1


I believe it's due to Access 2010 not having the DAO 3.6 Reference
library installed. I clicked the DAO 3.6 Object Library in
references, and get "Error loading DLL". (location seems to be: C:
\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll". (Which
is non existant).

I tried to get smart, and run regsvr32 "C:\Program Files (x86)\Common
Files\Microsoft Shared\DAO\dao360.dll" which registered successfully,
but didn't seem to appear in the references as an available option in
MS-Access.

I'm rather lost!

Thanks anybody who has read this far!

Thankyou!

Reply With Quote
  #2  
Old   
Stuart McCall
 
Posts: n/a

Default Re: Access 2010 x64 problem. - 07-26-2010 , 06:18 AM






"elias" <elias.farah (AT) scw (DOT) com.au> wrote

Quote:
Hi There,

I've updated one of our a databases to run in Office 2010 x64 w/Win 7
x64.

For some reason, I am getting a Path/Access Error 75 on this
statement:

Open "c:\products.txt" For Output As #1


I believe it's due to Access 2010 not having the DAO 3.6 Reference
library installed. I clicked the DAO 3.6 Object Library in
references, and get "Error loading DLL". (location seems to be: C:
\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll". (Which
is non existant).

I tried to get smart, and run regsvr32 "C:\Program Files (x86)\Common
Files\Microsoft Shared\DAO\dao360.dll" which registered successfully,
but didn't seem to appear in the references as an available option in
MS-Access.

I'm rather lost!

Thanks anybody who has read this far!

Thankyou!
This has nothing to do with DAO or the lack of it. The Open statement has
been an integral part of VBA since its inception. Its not a reference
problem.

Check your permissions for c:\

You get a Path/Access Error when VBA can't access the path in question, for
whatever reason (permissions, network down - that kind of thing).

Reply With Quote
  #3  
Old   
elias
 
Posts: n/a

Default Re: Access 2010 x64 problem. - 07-26-2010 , 06:49 AM



On Jul 26, 9:18*pm, "Stuart McCall" <smcc... (AT) myunrealbox (DOT) com> wrote:
Quote:
"elias" <elias.fa... (AT) scw (DOT) com.au> wrote in message

news:33375c0f-6462-4252-bc75-1e2e8e761bbb (AT) b4g2000pra (DOT) googlegroups.com...



Hi There,

I've updated one of our a databases to run in Office 2010 x64 w/Win 7
x64.

For some reason, I am getting a Path/Access Error 75 on this
statement:

Open "c:\products.txt" For Output As #1

I believe it's due to Access 2010 not having the DAO 3.6 Reference
library installed. * I clicked the DAO 3.6 Object Library in
references, and get "Error loading DLL". *(location seems to be: C:
\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll". *(Which
is non existant).

I tried to get smart, and run regsvr32 "C:\Program Files (x86)\Common
Files\Microsoft Shared\DAO\dao360.dll" which registered successfully,
but didn't seem to appear in the references as an available option in
MS-Access.

I'm rather lost!

Thanks anybody who has read this far!

Thankyou!

This has nothing to do with DAO or the lack of it. The Open statement has
been an integral part of VBA since its inception. Its not a reference
problem.

Check your permissions for c:\

You get a Path/Access Error when VBA can't access the path in question, for
whatever reason (permissions, network down - that kind of thing).
Stuart, thankyou for responding.

I am with you, that is why I dumbed down the file to -> to C:
\products.txt. I tried writing to a Directory C:\TEMP\products.txt
and the local directory the Access Database is sitting in. The Path/
Access error 75 persists.

I use the Open statement regularly, and have done for 10 years. It's
only since I upgraded to 2010, that this error is occuring.


The operating system is Win7. I'm the only user, the
Administrator. Changing the Icon properties to "Run as
Administrator" doesn't halt the Error 75, I moved the UAC alerts to
Minimum. (from mid security).



Surprisingly, this is a new 2010 database, I copied the Forms,
Reports, Macros and Modules from a 2003 MDB, and linked the tables
fresh.



Hmm, Its hard to know which direction to look next............ I'll
keel looking. Thankyou,

Reply With Quote
  #4  
Old   
Bob Barrows
 
Posts: n/a

Default Re: Access 2010 x64 problem. - 07-26-2010 , 08:03 AM



elias wrote:
Quote:
Hi There,

I've updated one of our a databases to run in Office 2010 x64 w/Win 7
x64.

For some reason, I am getting a Path/Access Error 75 on this
statement:

Open "c:\products.txt" For Output As #1


I believe it's due to Access 2010 not having the DAO 3.6 Reference
library installed. I clicked the DAO 3.6 Object Library in
references, and get "Error loading DLL". (location seems to be: C:
\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll". (Which
is non existant).

I tried to get smart, and run regsvr32 "C:\Program Files (x86)\Common
Files\Microsoft Shared\DAO\dao360.dll" which registered successfully,
but didn't seem to appear in the references as an available option in
MS-Access.
DAO is a 32-bit executable and will not load in 64-bit mode. I believe
you will need to run Access in 32-bit mode if you need to use DAO.

But I do agree with Stuart that this is not likely to be a
DAO/references issue, unless the VBA runtime library is not referenced,
which is very unlikely.

I have not had any experience with Win 7, let alone 64-bit machines
(tight budget constraints around here ... ) so I'm not likely to be of
much help. Can you try accessing the file with filesystemobject and see
if you have the same problem?

--
HTH,
Bob Barrows

Reply With Quote
  #5  
Old   
David W. Fenton
 
Posts: n/a

Default Re: Access 2010 x64 problem. - 07-26-2010 , 12:13 PM



elias <elias.farah (AT) scw (DOT) com.au> wrote in
news:33375c0f-6462-4252-bc75-1e2e8e761bbb (AT) b4g2000pra (DOT) googlegroups.com
:

Quote:
I've updated one of our a databases to run in Office 2010 x64
w/Win 7 x64.
Are you running the 64-bit version of Office? If so, DON'T. MS
recommends using 32-bit Office, even on 64-bit Windows. This is the
default installation, and I see no reason to use 64-bit Access.
Excel is a different animal, but I just don't think there's any
advantage to 64-bit goodness in Access.

--
David W. Fenton http://www.dfenton.com/
contact via website only http://www.dfenton.com/DFA/

Reply With Quote
  #6  
Old   
David W. Fenton
 
Posts: n/a

Default Re: Access 2010 x64 problem. - 07-26-2010 , 12:15 PM



"Bob Barrows" <reb01501 (AT) NOyahoo (DOT) SPAMcom> wrote in
news:i2k14m$cfp$1 (AT) news (DOT) eternal-september.org:

Quote:
elias wrote:
I've updated one of our a databases to run in Office 2010 x64
w/Win 7 x64.

For some reason, I am getting a Path/Access Error 75 on this
statement:

Open "c:\products.txt" For Output As #1

I believe it's due to Access 2010 not having the DAO 3.6
Reference library installed. I clicked the DAO 3.6 Object
Library in references, and get "Error loading DLL". (location
seems to be: C: \Program Files\Common Files\Microsoft
Shared\DAO\dao360.dll". (Which is non existant).

I tried to get smart, and run regsvr32 "C:\Program Files
(x86)\Common Files\Microsoft Shared\DAO\dao360.dll" which
registered successfully, but didn't seem to appear in the
references as an available option in MS-Access.

DAO is a 32-bit executable and will not load in 64-bit mode.
Er, what?

It won't load if you're running 64-bit Access, but it will certainly
load for any 32-bit application running under 64-bit Windows.

Quote:
I believe
you will need to run Access in 32-bit mode if you need to use DAO.
Uh, there are no "modes" -- you either install 64-bit Office or
32-bit Office. Microsoft recommends against using 64-bit Office
except for specific purposes (such as needing the extra available
memory with huge spreadsheet models).

--
David W. Fenton http://www.dfenton.com/
contact via website only http://www.dfenton.com/DFA/

Reply With Quote
  #7  
Old   
David W. Fenton
 
Posts: n/a

Default Re: Access 2010 x64 problem. - 07-26-2010 , 12:30 PM



elias <elias.farah (AT) scw (DOT) com.au> wrote in
news:33375c0f-6462-4252-bc75-1e2e8e761bbb (AT) b4g2000pra (DOT) googlegroups.com
:

Quote:
For some reason, I am getting a Path/Access Error 75 on this
statement:

Open "c:\products.txt" For Output As #1
First off, I know this is just an example, but the location of the
files really does make a difference because of UAC. Remember that
even if you're running as an administrative logon, by default all
processes are launched with a user-level security token. If you then
try to access resources that are read-only (or denied) to users,
you'll get some form of Access Denied error.

The root of the C: drive has been read-only for users since Windows
2000, and if you choose to store files in folders in the root of C:,
you have to change the permissions to permit read/write access for
users or you'll encounter problems running with UAC on.

You don't want to turn UAC off, as then you're exposed to the same
kinds of dangers as in WinXP and before when running as admin.
Minimizing UAC prompts doesn't accomplish anything at all, except to
allow certain things without prompts that would otherwise generate a
confirmation. But the problem here is that what you're doing does
*not* generate a UAC prompt, so fiddling with UAC levels isn't going
to change anything.

Running the Access appliation as admin should take care of it, but
is not really advisable, in my opinion.

The only place that user writable files should be stored is in the
user's profile. This has been true since Windows 2000, which
released more than 10 years ago.

Try OPEN statement with a file in the user's profile that is fully
readable/writable and my guess is that you won't have an error. Even
if that doesn't resolve this particular error, you would be
well-advised to start storing your files in locations that conform
to Windows security norms that have been in effect for a decade.

--
David W. Fenton http://www.dfenton.com/
contact via website only http://www.dfenton.com/DFA/

Reply With Quote
  #8  
Old   
Bob Barrows
 
Posts: n/a

Default Re: Access 2010 x64 problem. - 07-26-2010 , 06:11 PM



David W. Fenton wrote:
Quote:
"Bob Barrows" <reb01501 (AT) NOyahoo (DOT) SPAMcom> wrote in
news:i2k14m$cfp$1 (AT) news (DOT) eternal-september.org:

elias wrote:
I've updated one of our a databases to run in Office 2010 x64
w/Win 7 x64.

For some reason, I am getting a Path/Access Error 75 on this
statement:

Open "c:\products.txt" For Output As #1

I believe it's due to Access 2010 not having the DAO 3.6
Reference library installed. I clicked the DAO 3.6 Object
Library in references, and get "Error loading DLL". (location
seems to be: C: \Program Files\Common Files\Microsoft
Shared\DAO\dao360.dll". (Which is non existant).

I tried to get smart, and run regsvr32 "C:\Program Files
(x86)\Common Files\Microsoft Shared\DAO\dao360.dll" which
registered successfully, but didn't seem to appear in the
references as an available option in MS-Access.

DAO is a 32-bit executable and will not load in 64-bit mode.

Er, what?

It won't load if you're running 64-bit Access, but it will certainly
load for any 32-bit application running under 64-bit Windows.

I believe
you will need to run Access in 32-bit mode if you need to use DAO.

Uh, there are no "modes" -- you either install 64-bit Office or
32-bit Office. Microsoft recommends against using 64-bit Office
except for specific purposes (such as needing the extra available
memory with huge spreadsheet models).
Mea culpa.
I had read that it was possible to start IIS in 32-bit compatability mode
and came to the incorrect conclusion that it might be possible with Access
as well.

Reply With Quote
  #9  
Old   
Bob Barrows
 
Posts: n/a

Default Re: Access 2010 x64 problem. - 07-27-2010 , 06:25 PM



David W. Fenton wrote:
Quote:
"Bob Barrows" <reb01501 (AT) yahoo (DOT) com> wrote in
news:XCo3o.30532$xZ2.13807 (AT) newsfe07 (DOT) iad:

I had read that it was possible to start IIS in 32-bit
compatability mode and came to the incorrect conclusion that it
might be possible with Access as well.

I know there's a separate link in 64-bit Windows 7 for 64-bit IE, so
my assumption is that the other link for IE is 32-bit. That is,
there are two differently-compiled versions of IE installed on
64-bit Windows 7, one that is the same as what runs on 32-bit
Windows (and in 64-bit Windows with the 32-bit compatibility layer),
and the 64-bit version. That MS does not make the 64-bit version the
default in 64-bit Win7 suggests to me that it's probably not
recommended.
? I was talking about IIS, not IE. If one wishes to use Jet in asp
server-side code on a 64-bit server, then IIS must be started in 32-bit
mode.

Oe were you simply offering extra information?

Reply With Quote
  #10  
Old   
David W. Fenton
 
Posts: n/a

Default Re: Access 2010 x64 problem. - 07-27-2010 , 06:42 PM



"Bob Barrows" <reb01501 (AT) yahoo (DOT) com> wrote in
news:XCo3o.30532$xZ2.13807 (AT) newsfe07 (DOT) iad:

Quote:
I had read that it was possible to start IIS in 32-bit
compatability mode and came to the incorrect conclusion that it
might be possible with Access as well.
I know there's a separate link in 64-bit Windows 7 for 64-bit IE, so
my assumption is that the other link for IE is 32-bit. That is,
there are two differently-compiled versions of IE installed on
64-bit Windows 7, one that is the same as what runs on 32-bit
Windows (and in 64-bit Windows with the 32-bit compatibility layer),
and the 64-bit version. That MS does not make the 64-bit version the
default in 64-bit Win7 suggests to me that it's probably not
recommended.

--
David W. Fenton http://www.dfenton.com/
contact via website only http://www.dfenton.com/DFA/

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.