Hi All,

I am trying to add an account into the active directory and then delete it after some time.

Iam able to add the account successfully into the Domain controller, but, while trying to delete this account iam facing a few problems.

THe following call is returning S_ ADS_NO_MORE_ROWS even though the account that was created previously is still there in DC.

hRes = piDS->GetNextRow(hSearch) returns S_ADS_NO_MORE_ROWS.

I tried to capture the ADsGetLastError output and it says that there is no more data.

Please advice.

Regards,
Harish Reddy.