PC Review


Reply
Thread Tools Rate Thread

Access doesn't run on server

 
 
Eric
Guest
Posts: n/a
 
      2nd Mar 2005
I have Access 2000 loaded on a server running Windows
2000 for Small Business. When I try to run VBA code I
get the error...

Runtime error '429
ActiveX component can't create object

The code line where the stumbling occurs is:
Set db = currentDb

Any ideas where my problem is?

I know the code is correct as it runs fine on other
machines...servers and PC's. I loaded Office 2000
without a problem.
 
Reply With Quote
 
 
 
 
Nikos Yannacopoulos
Guest
Posts: n/a
 
      2nd Mar 2005
Eric,

Long shot, but I suspect your project references a DAO object library
which does not exist on the server, or is not registered, or is simply
the wrong one (should be DAO 3.6 for A2K).
Start by checking the references (Tools > References in the VBA window).
Do you see the DAO 3.6 reference among the the selected ones at the top
of the list? If not, scroll down to find it (look for "Microsoft DAO 3.6
Object Library") and select it. If it's not there at all, check to see
if the .dll file (dao360.dll) exists on the server (typically in
C:\Program Files\Common Files\Microsoft Shared\DAO). If not, copy it
from another machine. In both cases, use Browse from the references
window to locate and "Open" (register) it.

HTH,
Nikos

Eric wrote:
> I have Access 2000 loaded on a server running Windows
> 2000 for Small Business. When I try to run VBA code I
> get the error...
>
> Runtime error '429
> ActiveX component can't create object
>
> The code line where the stumbling occurs is:
> Set db = currentDb
>
> Any ideas where my problem is?
>
> I know the code is correct as it runs fine on other
> machines...servers and PC's. I loaded Office 2000
> without a problem.

 
Reply With Quote
 
Eric
Guest
Posts: n/a
 
      4th Mar 2005
Hole in ONE! The library reference was there but it
needed registration. Thanks.

>-----Original Message-----
>Eric,
>
>Long shot, but I suspect your project references a DAO

object library
>which does not exist on the server, or is not

registered, or is simply
>the wrong one (should be DAO 3.6 for A2K).
>Start by checking the references (Tools > References in

the VBA window).
>Do you see the DAO 3.6 reference among the the selected

ones at the top
>of the list? If not, scroll down to find it (look

for "Microsoft DAO 3.6
>Object Library") and select it. If it's not there at

all, check to see
>if the .dll file (dao360.dll) exists on the server

(typically in
>C:\Program Files\Common Files\Microsoft Shared\DAO). If

not, copy it
>from another machine. In both cases, use Browse from the

references
>window to locate and "Open" (register) it.
>
>HTH,
>Nikos
>
>Eric wrote:
>> I have Access 2000 loaded on a server running Windows
>> 2000 for Small Business. When I try to run VBA code I
>> get the error...
>>
>> Runtime error '429
>> ActiveX component can't create object
>>
>> The code line where the stumbling occurs is:
>> Set db = currentDb
>>
>> Any ideas where my problem is?
>>
>> I know the code is correct as it runs fine on other
>> machines...servers and PC's. I loaded Office 2000
>> without a problem.

>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2003 Code Doesn't Work in Access 2007 Nika Microsoft Access Forms 3 27th Oct 2008 10:47 PM
Access doesn't like same HP 4600 on Windows Server 2000 network =?Utf-8?B?TWF0dA==?= Microsoft Access Reports 0 17th Nov 2006 11:26 AM
Using Win2K server or Win 2003 server as a router - doesn't work. Mark Microsoft Windows 2000 0 27th Aug 2004 02:44 AM
Windows 2003 Terminal doesn't find WK2 Terminal Server Licensing Server Don Surrett Microsoft Windows 2000 Terminal Server Applications 1 16th Sep 2003 02:40 AM
Term server Doesn't like ACCESS Matthew Harris [MVP] Microsoft Windows 2000 Terminal Server Applications 0 15th Aug 2003 08:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:57 PM.