We are getting the error 'Exception has been thrown by the target of
an invocation' when creating a userid in ADS by using
Have verified the required data namely userid, password, email
address, name, are properly sent to be updated in ADS.
This issue is resolved once we restart the IIS and after couple of
users added to ADS we start receiving this error.
Also wanted to mention, we get this error only after Publishing the
code. Don;t receive this error when we execute from the source.
Do you know the cause of the Error and also a way to resolve this.
I believe this error means that an error is occuring outside of the managed
world, inside Active Directory. If possible, log the exceptions with the
stack trace and inner exceptions to get more information about the root
error. You can do this by setting up health monitoring to send an email
when an exception occurs.
Hope this helps,
@gmail.com> wrote in message