Please help.... I have been trying for days

  • Thread starter Thread starter russ
  • Start date Start date
R

russ

I have an active directory look written in asp that works
fine. I am using a search to find an employee number, and
I am using the pager field temporarily. As mentioned this
works fine. I have now added the employeeNumber attribute
to the schema and would like to search this field as
opposed to the pager field but I keep getting the:

Provider (0x80004005) Unspecified error.

The only change to my code is I have included the
employeeNumber in the values to return as attributes.

To simplify my code works fine when not asking to return
the attribute employeeNumber but causes the above error
when asksing to return employeeNumber.

Can anyone help.

Thanks in advance
 
That error is an access denied error. Check the permissions in AD and verify the
ID that is being used to do the query has the right permissions.
 
hi Joe,

Thanks for your reply.

I have checked the permissions and they seem fine. Also
the asp page works fine when retrieving other attributes,
but certain attributes such as employeeNumber and
employeID for example cause this unspecified error.

I hope you can help further.

Thanks.
-----Original Message-----
That error is an access denied error. Check the
permissions in AD and verify the
 
How did you check the permissions?

What ID is being used for the query?

Does the attribute in the object being queried specifically have a grant ACE for
that ID or any groups that ID is in?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top