Re: Error using JET_SCHEMA_USERROSTER
From: Val Mazur (group51a_at_hotmail.com)
Date: 10/11/04
- Next message: Val Mazur: "Re: IDENTITY_INSERT error"
- Previous message: Shock: "Re: Classic ADO & .NET"
- In reply to: M Smith: "Re: Error using JET_SCHEMA_USERROSTER"
- Next in thread: M Smith: "Re: Error using JET_SCHEMA_USERROSTER"
- Reply: M Smith: "Re: Error using JET_SCHEMA_USERROSTER"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 10 Oct 2004 22:55:37 -0400
Hi,
I would say that if your application is able to open connection, then it
looks like Jet 4.0 is installed. But it is possible that version of the Jet
4.0 (I mean actual version of DLL file) is different. You could check
msjet40.dll file to see what is the actual version. You could install Jet
4.0 separately. Check next link how to do it
http://support.microsoft.com/default.aspx?scid=kb;en-us;239114
--
Val Mazur
Microsoft MVP
"M Smith" <msmith@avma.org> wrote in message
news:ONondGUrEHA.1204@TK2MSFTNGP12.phx.gbl...
> 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: Val Mazur: "Re: IDENTITY_INSERT error"
- Previous message: Shock: "Re: Classic ADO & .NET"
- In reply to: M Smith: "Re: Error using JET_SCHEMA_USERROSTER"
- Next in thread: M Smith: "Re: Error using JET_SCHEMA_USERROSTER"
- Reply: M Smith: "Re: Error using JET_SCHEMA_USERROSTER"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|