Applies to: Centrify Deployment Manager version prior to 2.1.2
Problem:
The following error message appears in the Deployment Manager. The database is 200MB which is far from the 4GB limitation mentioned in the below message.
DM Error Message:
The database file is larger than the configured maximum database size. This setting takes effect on the first concurrent database connection only. [Required Max Database Size (in MB; 0 if unknown) = 0 ]
at System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr)
at System.Data.SqlServerCe.SqlCeConnection.Open(Boolean silent)
at System.Data.SqlServerCe.SqlCeConnection.Open()
at Centrify.DeploymentManager.Model.DbConverter.DatabaseAccessor.OpenConnection()
at Centrify.DeploymentManager.Model.DbConverter.DatabaseAccessor.<ExecuteQueryd__ab`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Centrify.DeploymentManager.Model.DbConverter.Schema.Initialize(DatabaseAccessor db)
at Centrify.DeploymentManager.Model.DbConverter.Schema.Get(String filename)
at Centrify.DeploymentManager.Model.DbConverter.CheckVersion()
at Centrify.DeploymentManager.Model.DbConverter.get_IsLowerVersionFound()
at Centrify.DeploymentManager.Model.Manager..ctor()
at Centrify.DeploymentManager.MmcSnapin.InitializeManagers()
at Centrify.DeploymentManager.MmcSnapin..ctor()
Cause:
This is a known issue in the Deployment Manager (DM) code. The "GetConnection" method of DBConverter type creates the database connection string without adding the "Max database size" element to it. This forces the connection to use the default value for "Max database size" which is 128 MB. In this case, since the customer's database is much larger than 128MB, this results in DM throwing an error.
Workaround:
Upgrade to Centrify Deployment Manager 2.1.2 (comes from CDC 5.0.x installation) or above.