We are facing the below-mentioned error in one of our applications quite frequently.
This is impacting the performance of the application. Can you please guide us in solving this issue?
ERROR: System.InvalidOperationException: 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. at Devart.Common. DbConnectionFactory.b (DbConnectionBase A_0)
The connection string is like this:
Max Pool Size=300;Min Pool Size=50;Pooling=True;Connection Timeout=30;Connection LifeTime=0 ;persist security info=True