Good morning,
We just updated to MapSuite 6 in our application and have begun to see timeout errors in places we don't with the version that uses MapSuite 4.5:
"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."
Stack trace:
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at ThinkGeo.MapSuite.Core.MsSql2008FeatureSource.OpenCore()
at ThinkGeo.MapSuite.Core.FeatureSource.Open()
at ThinkGeo.MapSuite.Core.FeatureLayer.OpenCore()
at ThinkGeo.MapSuite.DesktopEdition.LayerOverlay.DrawCore(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.Overlay.rRM=(GeoCanvas rhM=)
at ThinkGeo.MapSuite.DesktopEdition.Overlay.Draw(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.yhU=(IEnumerable`1 yxU=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.yBU=(RectangleShape yRU=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.FxY=()
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.Refresh()
at IronCompass.OnSceneXplorer.ThinkGeoExtension.OsxMapCore.LoadMap(MapLoadParameters mapLoadParameters, List`1 hiddenGroups) in C:\Users\ahuber\Documents\Visual Studio 2010\Projects\OSX3 Application\OsxMapCore\WindowsFormsControlLibrary1\OsxMapCore.cs:line 1448
This happens when we switch between "day" and "night" mode, which essentially reloads the map with new styling. On some computers this error is thrown the very first time the map is switched from day to night mode. This DOES NOT happen and has not been duplicated when using MapSuite 4.5.
During the conversion from MapSuite 4.5 to 6.0 there we essentially NO CODE CHANGES beyond a method name change in Proj4, so the code base is identical.
I am under pressure to make this a support ticket but am still trying to gather details before I do that.
Allen