Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-2340: DM fails with message "The database file is larger than the configured maximum database size"

Authentication Service ,  

12 April,16 at 11:10 AM

Applies to: Centrify Deployment Manager version prior to 2.1.2
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()

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.

Upgrade to Centrify Deployment Manager 2.1.2 (comes from CDC 5.0.x installation) or above.