Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fengelz 106 posts 221 karma points
    Mar 03, 2010 @ 14:49
    Fengelz
    0

    max pool size was reached

    Im not sure this is a bug in Umbraco itself, but I thought I'd try post it here anyway.

    I have made a custom datatype with 2 textfields aimed at translation for certain usertypes. The problem is that when I have a documenttype with 40 properties type of my customcontrol. I the following exception: "Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached."

    I dont interact with the database directly myself.

    It appears that something in the system is not closing the connections?

    My Save function looks like this:

    public void Save()
    {
        this._data.Value = "[" + originalText.Value + "]~[" + translatedText.Value + "]";
    }

    Can it be a problem having too many properties on a document type, is there some way to fix this?

    Has anybody else experienced this?

    Best regards

    Sune Fengel

  • Fengelz 106 posts 221 karma points
    Mar 03, 2010 @ 15:38
    Fengelz
    0

    Hmm ok I switched my separator char from '~' to '|' and it appears to work now... :/

    Here's hoping that solved the problem.

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Mar 03, 2010 @ 16:14
    Thomas Höhler
    0

    The ~ is used as a special sign in .NET web applications. So it's recommended to use another character as you did...

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies