I am having the same problem with dashboards in my ASP.NET MVC app. On my local machine everything works fine. The problem comes after I try hosting the application on our server. Below is the full detailed error i am getting. I am also attaching the log files. I am running windows server 2012 & sql server 2014
Error Code:-2146233079
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 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Syncfusion.Dashboard.Base.Data.SqlQueryBuilder.ExecuteReaderQuery(String query, ObservableCollection`1 parameters, String connectionString, ConnectionProviderType type)
at Syncfusion.Dashboard.Base.Data.ServerDataProvider.GetTable(ServerDataProviderParameters parameter)
at Syncfusion.Dashboard.Base.Engine.RelationalEngine.GetDataFromMainSource(List`1 schemaInfos, List`1 viewerFilterList, Boolean isNotControlFilter, String reportName, Int32 startRowNumber, Int32 endRowNumber, FilterColumn datePagingInfo, CancellationToken token, Boolean isRawData)
at Syncfusion.DashboardService.DashboardDataProcessor.ApplyFilterServerMode(RelationalEngine engine, String reportName, Boolean drilled, Boolean& useDefaultProperties, Boolean isParamsColumn, List`1 paramsSchema)
at Syncfusion.DashboardService.CardWidget.GetProcessedCardData(DashboardItem dashboardItem, List`1& schemaInfo)
at Syncfusion.DashboardService.CardWidget.GetCardDataOnDemand(DashboardItem dashboardItem, Dictionary`2 dict, CardItem& cardControl, RelationalReport& report)
at Syncfusion.DashboardService.CardWidget.GetData()
at Syncfusion.DashboardService.DashboardService.GetWidgetData(DashboardItem dashboardItem, WidgetAutoRefreshSetting widgetAutoRefreshSettings, ControlVirtualScrollingSettings controlVirtualScrollingSettings, ControlDrilldownSettings controlDrilldownSettings, AllowFilterSettings allowFilterSettings, List`1 defaultSelectedControls, Boolean isClear, Boolean isRefresh, Boolean isUpdateDashboard, Boolean isLoad, Boolean isExport, Int32 start, Int32 end)
Generated Query: SELECT COUNT(DISTINCT [dbo_mvcWaterPointsCurrent].[WaterPointRecordID]) AS [Chart_Column_1],[dbo_mvcWaterPointsCurrent].[FunctionalStatus] AS [Chart_Column_0] FROM [dbo].[mvcWaterPointsCurrent] AS [dbo_mvcWaterPointsCurrent] WHERE (((([dbo_mvcWaterPointsCurrent].[WardID] IN (N'Insiza18')) AND ([dbo_mvcWaterPointsCurrent].[WardID] <> '' )) AND (NOT([dbo_mvcWaterPointsCurrent].[WardID] IS NULL)))) GROUP BY [dbo_mvcWaterPointsCurrent].[FunctionalStatus] ORDER BY 2 ASC
Service Version: 2.3.0.32
Culture: en-US
TimeZone: South Africa Standard Time
Attachment:
dashboarderrorlog_a95064b.zip