Exception has been thrown by the target of an invocation

S

shettyna

Hi,
We are getting the error 'Exception has been thrown by the target of
an invocation' when creating a userid in ADS by using
Membership.CreateUser.
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.


Thanks
NS
 
P

PlatinumBay

Shettyna,

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,


Steve
 

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

Members online

No members online now.

Forum statistics

Threads
473,928
Messages
2,570,068
Members
46,513
Latest member
JacklynMcC

Latest Threads

Top