Re: ActiveX error in odd location...




"Ron B." <wednesdaytennis@xxxxxxxxx> wrote in message
news:d01b19e3-2d41-46c0-a359-aa4d36598d53@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Okay, so I have a VB6 application that is using "disconnected ADO
recordsets" to store and process data. It works fine on a ton of
computers, but I have a new client that can't get the application to
run. Plus this problem is occuring on two different computers at the
client location.

My code is basically as follows...

Dim rsResult As ADODB.Recordset 'dim variable
Set rsResult = New ADODB.Recordset 'create new
recordset
rsResult.Fields.Append "RecID", adInteger 'append fields to
recordset
rsResult.CursorLocation = adUseClient 'set the cursor
location for disconnected recordset
rsResult.CursorType = adOpenStatic 'set the cursor
type for disconnected recordset
rsResult.Open
'open the recordset

I get an error "429 ActiveX Component can't create object".

The odd part is that I do NOT get the error on the "Set rsResult = New
ADODB.Recordset" line.
I get the error on the "rsResult.Open" line.

I have confirmed that the client is running MDAC 2.8. Any ideas what
might be going on here for ONE client when it runs fine for 5-6 other
clients?

Thanks for your help!!!


That error is always accurate. (usually <g>) There are mismatched components
on the target/problem boxes compared to the components that App was compiled
with.

The 'mystery' is caused by the fact that there is a component registered on
the machine that supports the ADODB.Recordset Interface, but doesn't support
the ProcID provided by the rs.Open.

You are going to have to figure out which components don't match. Do you
have access to those boxes? How and what you can do will depend on that.

Are the users reasonably technical? You or they can run the MS MDAC
Compatibility utility. You can download the ProcessMonitor from
SysInternals. etc. Re-install the appropriate MDAC for their machine, etc.

Good hunting. <g>

-ralph





.



Relevant Pages

  • RE: id- 1030 source - Userenv
    ... Thanks for using the SBS newsgroup! ... I understand that the issue to be: all client ... computers got 1030 error and can not connect to the SBS 2003 server box. ... Click Internet Protocol, ...
    (microsoft.public.windows.server.sbs)
  • RE: Remote Web Workplace - Connect to client workstations
    ... In Connect to Client desktops item lists all client computers on your SBS ... network that are running Windows XP or above; In Connect to Server desktops ... On the Tools menu, click Internet Options. ...
    (microsoft.public.windows.server.sbs)
  • RE: Domain naming issue
    ... computers discover other computers on the network. ... so that the client computers resolve .local names correctly. ... you can configure a Macintosh computer ... One thing that will support desktop sharing with a Mac is Microsoft Office ...
    (microsoft.public.windows.server.sbs)
  • Re: Users cant find SBS server- Help needed
    ... all appears to be working except that no computers show up ... under the domin name in windows network and the client computers don't see ... the server in their windows network. ... The server still does not show up in Network places nor does any other ...
    (microsoft.public.windows.server.sbs)
  • Re: After a full day of computers...
    ... > computers in question run SuSE 9.1 Pro and nothing but. ... > through the CUPS server). ... You need to create a mountpoint on the client machine. ... Once the shares have been created, they need to be mapped onto the mount ...
    (alt.os.linux.suse)