| Author |
Message |
Microsoft
Guest
|
Posted:
Tue Jan 18, 2005 4:01 am Post subject:
About new Schema |
|
|
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 |
|
|
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 |
|
|
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 |
|
 |
|
|
|
|