Re: Error using JET_SCHEMA_USERROSTER
From: M Smith (msmith_at_avma.org)
Date: 10/08/04
- Next message: Ted W9999: "Re: IDENTITY_INSERT error"
- Previous message: John: "Re: Can you help me?"
- In reply to: Val Mazur: "Re: Error using JET_SCHEMA_USERROSTER"
- Next in thread: Val Mazur: "Re: Error using JET_SCHEMA_USERROSTER"
- Reply: Val Mazur: "Re: Error using JET_SCHEMA_USERROSTER"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 8 Oct 2004 09:17:56 -0500
So are you saying that the Microsoft Jet 4.0 OLE DB Provider might not be
installed on the production machine? If not, how do I distribute the
Microsoft Jet 4.0 OLE DB Provider. If I remember correctly, it's no longer
included in anything above MDAC 2.1.
"Val Mazur" <group51a@hotmail.com> wrote in message
news:%23rtEH8NrEHA.3428@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> Based on error message I would say that version of provider, which you
have,
> does not support this functionality and does not return any information
for
> the specified SchemaID. Another potential issue is the SchemaID is
different
> for this version of provider. The issue here is the
adSchemaProviderSpecific
> is not a required option, which each OLEDB provider suppose to support and
> it is not a reliable way.
>
> --
> Val Mazur
> Microsoft MVP
>
>
> "M Smith" <msmith@avma.org> wrote in message
> news:%23iIKaiHrEHA.536@TK2MSFTNGP11.phx.gbl...
> >I want to count the number of users who are currently connected to a
> > specific Access 2000 database. I'm using the code below in a form
inside
> > the database. It works on my development machine but it does not work
> > when
> > I try to implement it at a different location.
> >
> > Dim intUsers As Integer
> > Dim rst As ADODB.Recordset
> > Const JET_SCHEMA_USERROSTER = "{947bb102-5d43-11d1-bdbf-00c04fb92675}"
> >
> > Set rst = CurrentProject.Connection.OpenSchema(
adSchemaProviderSpecific,
> > ,
> > JET_SCHEMA_USERROSTER)
> >
> > Do Until rst.EOF
> > intUsers = intUsers + 1
> > rst.MoveNext
> > Loop
> > rst.close
> > Set rst = Nothing
> >
> > When I try to run it in production at a different location I get an
error
> > that says: "3251 Object or Provider is not capable of performing
requested
> > operation". My development machine is Win 2000 and production is XP SP2
> > with Access 2000 already loaded on it. Does anyone have any insight on
> > this.
> >
> > Thanks
> >
> >
>
>
- Next message: Ted W9999: "Re: IDENTITY_INSERT error"
- Previous message: John: "Re: Can you help me?"
- In reply to: Val Mazur: "Re: Error using JET_SCHEMA_USERROSTER"
- Next in thread: Val Mazur: "Re: Error using JET_SCHEMA_USERROSTER"
- Reply: Val Mazur: "Re: Error using JET_SCHEMA_USERROSTER"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|