About new Schema
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
About new Schema

 
Post new topic   Reply to topic    Windows Server Forum Index -> Active Directory
Author Message
Microsoft
Guest





Posted: Tue Jan 18, 2005 4:01 am    Post subject: About new Schema Reply with quote

Hi:
I am working in ADAM. Currently I have a strange thing. When I try to
add a new schema in our ADAM instance, the setting data is fine, but I try
to read it, the system give me the error:

"The directory datatype cannot be converted to/from a native DS
datatype"

Any people can give me any suggestion for that!

Thank you very much!

John
Back to top
Joe Kaplan (MVP - ADSI)
Guest





Posted: Tue Jan 18, 2005 4:35 am    Post subject: Re: About new Schema Reply with quote

Did you force your schema to refresh? ADSI and S.DS cache the LDAP schema
for a given host, so if your new schema is not in that cached version, it
can't map the LDAP attribute to a COM datatype and you get that error.

To force a schema refresh, you need to set schemaUpdateNow = 1 on the
RootDSE object for the LDAP server you are connecting too.

Joe K.

"Microsoft" <yujun168@hotmail.com> wrote in message
news:Oq9GnAO$EHA.2568@TK2MSFTNGP11.phx.gbl...
Quote:
Hi:
I am working in ADAM. Currently I have a strange thing. When I try to
add a new schema in our ADAM instance, the setting data is fine, but I try
to read it, the system give me the error:

"The directory datatype cannot be converted to/from a native DS
datatype"

Any people can give me any suggestion for that!

Thank you very much!

John
Back to top
John
Guest





Posted: Tue Jan 18, 2005 8:30 pm    Post subject: Re: About new Schema Reply with quote

Thank you very much!

Currently I just find only my machine have these error, and another machine
is fine. I don't know how to solver these issue.

Thanks again.

JOhn


"Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
in message news:uP5jRTO$EHA.2584@TK2MSFTNGP09.phx.gbl...
Quote:
Did you force your schema to refresh? ADSI and S.DS cache the LDAP schema
for a given host, so if your new schema is not in that cached version, it
can't map the LDAP attribute to a COM datatype and you get that error.

To force a schema refresh, you need to set schemaUpdateNow = 1 on the
RootDSE object for the LDAP server you are connecting too.

Joe K.

"Microsoft" <yujun168@hotmail.com> wrote in message
news:Oq9GnAO$EHA.2568@TK2MSFTNGP11.phx.gbl...
Hi:
I am working in ADAM. Currently I have a strange thing. When I try to
add a new schema in our ADAM instance, the setting data is fine, but I
try to read it, the system give me the error:

"The directory datatype cannot be converted to/from a native DS
datatype"

Any people can give me any suggestion for that!

Thank you very much!

John


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Active Directory All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB