Automated User Addition Process - Connection Pooling Error - Bugs & Issues - Bugs & Issues - Progress Community

Automated User Addition Process - Connection Pooling Error

 Bugs & Issues

Automated User Addition Process - Connection Pooling Error

  • Automated User Addition Process - Connection Pooling Error
  • We are doing some custom user addition through an automated process.  Basically users get pushed to a database, and then we load them into Sitefinity when we get notified programmatically.  Inside this process, we are implementing code that matches with this:  docs.sitefinity.com/for-developers-create-user-profiles and docs.sitefinity.com/for-developers-users-and-roles.  Occasionally, we encounter this error during the process:  A transport-level error has occurred when receiving results from the server. (provider: Session Provider, error: 19 - Physical connection is not usable).  Now this doesn't happen all the time,  but it seems to be related to retained connection threads in the Manager classes.  How do we properly dispose of these?  I don't see anything in the referenced examples about how to close the connections within the Managers when we are done?  Do we just need to destroy our local objects?