Broken Rule alert box does not show.


Author
Message
StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
I think the default number of connections is fine... we've never had any problem with the defaults.  In fact, I don't think we ever even set any of the pooling settings within the connection string.  Off the top of my head, I would say that 3-5 would be plenty.  I've never seen one of our clients even use more than 4.
George Nentidis
George Nentidis
StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)
Group: Forum Members
Posts: 72, Visits: 251
This works. Thanks Ben.

By the way, how many database connections does the data layer need?

In my connection string I have enabled connection pooling with maximum pool size of 1, and I get an exception from time to time of a timeout, because the pool has no more available connections. What is a safe number?

Thank you again...

StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Try calling .Save() on the form instead of .Save() on the business object and see if that gets the alert to show.
George Nentidis
George Nentidis
StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)StrataFrame User (136 reputation)
Group: Forum Members
Posts: 72, Visits: 251
Here's another issue.

My form is a MicroFour.StrataFrame.UI.Windows.Forms.StandardForm.

The property AutoShowBrokenRulesAlert is (by default) true, but the alert does not show. I add the Broken rules in the BO, the little arrow of the build-in ErrorProvider shows fine, but the broken rules alert is not shown. I have searched the code and found that the property is only used by an event handler, when IsChildForm is true. Nevertheless, in your tutorial the alerts works fine, and the options are exactly the same as mine, and IsChildForm is false.

Any directions?

Thank you...

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search