More in this section
Forums / Bugs & Issues / Automated User Addition Process - Connection Pooling Error

Automated User Addition Process - Connection Pooling Error

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. George
    George avatar
    17 posts
    Registered:
    16 Jan 2014
    08 Mar 2017
    Link to this post
    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:  http://docs.sitefinity.com/for-developers-create-user-profiles and http://docs.sitefinity.com/for-developers-users-and-roles#add-user-to-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?
1 posts, 0 answered