Exception after adding a new language to the backend
Hi,
I am trying to add a new language to the backend (French) on Sitefinity 4.0 (Since I can't upgrade to 4.1 or SP1), once I hit save and try to move to "Interface labels & messages" or ANY other page (public or backend), I get the following error:
Impossible d'insérer la valeur NULL dans la colonne 'is_dynamic', table 'caie91sf.dbo.sf_meta_fields'. Cette colonne n'accepte pas les valeurs NULL. Échec de INSERT.
Stack Trace :
[SQLException: Impossible d'insérer la valeur NULL dans la colonne 'is_dynamic', table 'caie91sf.dbo.sf_meta_fields'. Cette colonne n'accepte pas les valeurs NULL. Échec de INSERT.
L'instruction a été arrêtée.]
Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute() +759
OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute() +81
OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes) +2449
[DataStoreException: Insert of '839415590-684793aa-559b-4026-a77d-0da7964db6c4' failed: Telerik.OpenAccess.RT.sql.SQLException: Impossible d'insérer la valeur NULL dans la colonne 'is_dynamic', table 'caie91sf.dbo.sf_meta_fields'. Cette colonne n'accepte pas les valeurs NULL. Échec de INSERT.
L'instruction a été arrêtée.
à Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute()
à OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute()
à OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)
INSERT INTO [sf_meta_fields] ([id], [<
_telerik_sitefinity_model_i_data_item_provider
>k___backing_field_class], [<
_telerik_sitefinity_model_i_data_item_provider
>k___backing_field_id], [<
_telerik_sitefinity_model_i_data_item_transaction
>k___backing_field_class], [<
_telerik_sitefinity_model_i_data_item_transaction
>k___backing_field_id], [app_name], [clr_type], [column_name], [db_length], [db_scale], [db_sql_type], [db_type], [default_fetch_group], [default_value], [default_value_expression], [description_], [display_format], [field_name], [hidden], [id2], [is_internal], [is_single_taxon], [linked_content_provider], [max_length], [max_value], [min_value], [type_id], [position_in_section], [regular_expression], [required], [section_name], [sitefinity_type], [storage_type], [taxonomy_id], [taxonomy_provider], [title_], [two_way_content_link], [ui_hint], [validation], [voa_version]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
(set event logging to all to see parameter values) Telerik.OpenAccess.RT.sql.SQLException: Impossible d'insérer la valeur NULL dans la colonne 'is_dynamic', table 'caie91sf.dbo.sf_meta_fields'. Cette colonne n'accepte pas les valeurs NULL. Échec de INSERT.
L'instruction a été arrêtée.
à Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute()
à OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute()
à OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)]
DynamicModule.ns.Wrapped_OpenAccessPageProvider_aa2f5c5646a24c128235f25aacb376d2.Initialize(String providerName, NameValueCollection config, Type managerType) +405
Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, Type providerType, ExceptionPolicyName policy, ManagerBase`1 manager) +2216
Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, ExceptionPolicyName policy, ManagerBase`1 manager) +74
Telerik.Sitefinity.Data.ManagerBase`1.SetProvider(String providerName, String transactionName) +214
Telerik.Sitefinity.Modules.Pages.PageManager..ctor() +52
Telerik.Sitefinity.Modules.Pages.PageManager..cctor() +41
[TypeInitializationException: Une exception a été levée par l'initialiseur de type pour 'Telerik.Sitefinity.Modules.Pages.PageManager'.]
Telerik.Sitefinity.Modules.Pages.PageManager.GetManager() +0
Telerik.Sitefinity.Services.SystemManager.Initialize() +1259
Telerik.Sitefinity.Abstractions.Bootstrapper.RegisterRoutes(RouteCollection routes) +243
Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +111
Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +29
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +546
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +325
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +407
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375
[HttpException (0x80004005): Une exception a été levée par l'initialiseur de type pour 'Telerik.Sitefinity.Modules.Pages.PageManager'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11529072
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4784373
Hi Martani,
Could you tell us where do you host your site, what amount of memory do you have for the application?
All the best,
Pavel
the Telerik team