+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Unable to create pages in Sitefinity 5.1

Unable to create pages in Sitefinity 5.1

2 posts, 0 answered
  1. Yosief
    Yosief avatar
    27 posts
    Registered:
    20 Mar 2008
    29 Jan 2013
    Link to this post
    Hi

    I am unable to create a page or page group at the root of the Pages section in Sitefinity 5.1.3450.0. I see a dialog box with shows "Return code: 0".

    Here is what is recorded om the error log:
    ================================================================================



    ----------------------------------------
    Timestamp: 1/29/2013 9:58:35 AM

    Message: HandlingInstanceID: 226273bd-627b-480d-9651-bc50412ff21d
    An exception of type 'Telerik.OpenAccess.Exceptions.DuplicateKeyException' occurred and was caught.
    ---------------------------------------------------------------------------------------------------
    01/29/2013 11:58:35
    Type : Telerik.OpenAccess.Exceptions.DuplicateKeyException, Telerik.OpenAccess, Version=2012.2.628.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
    Message : Insert link table row failed: Telerik.OpenAccess.RT.sql.SQLException: Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
       at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
       at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
       at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)
    Field: System.Collections.Generic.IList`1[[Telerik.Sitefinity.Security.Model.PermissionsInheritanceMap, Telerik.Sitefinity.Model, Version=5.1.3450.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] Telerik.Sitefinity.Pages.Model.PageNode.permissionChildren
    Instance: GenericOID@90b9426 PageNode id=f669d9a7-009d-4d83-ddaa-000000000002
    Link table value[sequence 64]: NewObjectOID@6 classIndex = 73 id = 6 realOID = GenericOID@ffff0b4a PermissionsInheritanceMap sf_prmssons_inheritance_map_id=2890
    INSERT INTO [sf_pg_nd_sf_prmssns_nhrtnc_map]([id], [seq], [sf_prmssons_inheritance_map_id]) VALUES (?, ?, ?)
    (set event logging to all to see parameter values)
    Source : Telerik.Sitefinity
    Help link :
    InnerExceptions : System.Exception[]
    FailedObject :
    BackendError : Telerik.OpenAccess.RT.sql.SQLException: Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
       at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
       at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
       at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)
    Reason : DuplicateKey
    CanRetry : False
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void CommitTransaction(System.String)
    HResult : -2146233088
    Stack Trace :    at Telerik.Sitefinity.Data.TransactionManager.CommitTransaction(String transactionName)
       at Telerik.Sitefinity.Fluent.FluentSitefinity.Dispose(Boolean disposing)
       at Telerik.Sitefinity.Modules.Pages.Web.Services.PagesService.SavePageInternal(WcfPageContext pageContext, Boolean duplicate)
       at SyncInvokeSavePage(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

    Additional Info:

    MachineName : ANAKIN
    TimeStamp : 1/29/2013 9:58:35 AM
    FullName : Telerik.Sitefinity.Utilities, Version=5.1.3450.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
    AppDomainName : /LM/W3SVC/10/ROOT-1-130039270332576325
    ThreadIdentity :
    WindowsIdentity : IIS APPPOOL\MineRpSolutionsCom51
    Requested URL : http://minerpsolutionscom51/Sitefinity/Services/Pages/PagesService.svc/00000000-0000-0000-0000-000000000000/?itemType=Telerik.Sitefinity.Pages.Model.PageNode&providerName=&managerType=&provider=&workflowOperation=
        Inner Exception
        ---------------
        Type : Telerik.OpenAccess.RT.sql.SQLException, Telerik.OpenAccess.Runtime, Version=2012.2.628.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
        Message : Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
        Source : Telerik.OpenAccess.Runtime
        Help link :
        ErrorCode : 2627
        Number : 2627
        ObjectId :
        Description : SQLState=;Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
        Data : System.Collections.ListDictionaryInternal
        TargetSite : Int32 executeUpdate()
        HResult : -2146233088
        Stack Trace :    at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
           at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
           at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)



    Category: ErrorLog

    Priority: 0

    EventId: 90000

    Severity: Error

    Title:Enterprise Library Exception Handling

    Machine: ANAKIN

    App Domain: /LM/W3SVC/10/ROOT-1-130039270332576325

    ProcessId: 8792

    Process Name: c:\windows\system32\inetsrv\w3wp.exe

    Thread Name:

    Win32 ThreadId:10200

    Extended Properties:
    ----------------------------------------
    ----------------------------------------
    Timestamp: 1/29/2013 9:58:35 AM

    Message: HandlingInstanceID: ab27bd3d-a2e5-46a0-ab13-191f2a8750f3
    An exception of type 'Telerik.OpenAccess.Exceptions.DuplicateKeyException' occurred and was caught.
    ---------------------------------------------------------------------------------------------------
    01/29/2013 11:58:35
    Type : Telerik.OpenAccess.Exceptions.DuplicateKeyException, Telerik.OpenAccess, Version=2012.2.628.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
    Message : Insert link table row failed: Telerik.OpenAccess.RT.sql.SQLException: Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
       at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
       at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
       at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)
    Field: System.Collections.Generic.IList`1[[Telerik.Sitefinity.Security.Model.PermissionsInheritanceMap, Telerik.Sitefinity.Model, Version=5.1.3450.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] Telerik.Sitefinity.Pages.Model.PageNode.permissionChildren
    Instance: GenericOID@90b9426 PageNode id=f669d9a7-009d-4d83-ddaa-000000000002
    Link table value[sequence 64]: NewObjectOID@6 classIndex = 70 id = 6 realOID = GenericOID@ffff0b40 PermissionsInheritanceMap sf_prmssons_inheritance_map_id=2880
    INSERT INTO [sf_pg_nd_sf_prmssns_nhrtnc_map]([id], [seq], [sf_prmssons_inheritance_map_id]) VALUES (?, ?, ?)
    (set event logging to all to see parameter values)
    Source : Telerik.Sitefinity
    Help link :
    InnerExceptions : System.Exception[]
    FailedObject :
    BackendError : Telerik.OpenAccess.RT.sql.SQLException: Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
       at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
       at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
       at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)
    Reason : DuplicateKey
    CanRetry : False
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void CommitTransaction(System.String)
    HResult : -2146233088
    Stack Trace :    at Telerik.Sitefinity.Data.TransactionManager.CommitTransaction(String transactionName)
       at Telerik.Sitefinity.Fluent.FluentSitefinity.Dispose(Boolean disposing)
       at Telerik.Sitefinity.Modules.Pages.Web.Services.PagesService.SavePageInternal(WcfPageContext pageContext, Boolean duplicate)
       at SyncInvokeSavePage(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

    Additional Info:

    MachineName : ANAKIN
    TimeStamp : 1/29/2013 9:58:35 AM
    FullName : Telerik.Sitefinity.Utilities, Version=5.1.3450.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
    AppDomainName : /LM/W3SVC/10/ROOT-1-130039270332576325
    ThreadIdentity :
    WindowsIdentity : IIS APPPOOL\MineRpSolutionsCom51
    Requested URL : http://minerpsolutionscom51/Sitefinity/Services/Pages/PagesService.svc/00000000-0000-0000-0000-000000000000/?itemType=Telerik.Sitefinity.Pages.Model.PageNode&providerName=&managerType=&provider=&workflowOperation=
        Inner Exception
        ---------------
        Type : Telerik.OpenAccess.RT.sql.SQLException, Telerik.OpenAccess.Runtime, Version=2012.2.628.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
        Message : Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
        Source : Telerik.OpenAccess.Runtime
        Help link :
        ErrorCode : 2627
        Number : 2627
        ObjectId :
        Description : SQLState=;Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
        Data : System.Collections.ListDictionaryInternal
        TargetSite : Int32 executeUpdate()
        HResult : -2146233088
        Stack Trace :    at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
           at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
           at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)



    Category: ErrorLog

    Priority: 0

    EventId: 90000

    Severity: Error

    Title:Enterprise Library Exception Handling

    Machine: ANAKIN

    App Domain: /LM/W3SVC/10/ROOT-1-130039270332576325

    ProcessId: 8792

    Process Name: c:\windows\system32\inetsrv\w3wp.exe

    Thread Name:

    Win32 ThreadId:9668

    Extended Properties:
    ----------------------------------------
    ----------------------------------------
    Timestamp: 1/29/2013 9:58:35 AM

    Message: HandlingInstanceID: bb851844-1a03-405b-8047-1ccee1920068
    An exception of type 'Telerik.OpenAccess.Exceptions.DuplicateKeyException' occurred and was caught.
    ---------------------------------------------------------------------------------------------------
    01/29/2013 11:58:35
    Type : Telerik.OpenAccess.Exceptions.DuplicateKeyException, Telerik.OpenAccess, Version=2012.2.628.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
    Message : Insert link table row failed: Telerik.OpenAccess.RT.sql.SQLException: Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
       at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
       at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
       at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)
    Field: System.Collections.Generic.IList`1[[Telerik.Sitefinity.Security.Model.PermissionsInheritanceMap, Telerik.Sitefinity.Model, Version=5.1.3450.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] Telerik.Sitefinity.Pages.Model.PageNode.permissionChildren
    Instance: GenericOID@90b9426 PageNode id=f669d9a7-009d-4d83-ddaa-000000000002
    Link table value[sequence 64]: NewObjectOID@c classIndex = 73 id = 12 realOID = GenericOID@ffff0b4b PermissionsInheritanceMap sf_prmssons_inheritance_map_id=2891
    INSERT INTO [sf_pg_nd_sf_prmssns_nhrtnc_map]([id], [seq], [sf_prmssons_inheritance_map_id]) VALUES (?, ?, ?)
    (set event logging to all to see parameter values)
    Source : Telerik.Sitefinity
    Help link :
    InnerExceptions : System.Exception[]
    FailedObject :
    BackendError : Telerik.OpenAccess.RT.sql.SQLException: Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
       at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
       at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
       at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)
    Reason : DuplicateKey
    CanRetry : False
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void CommitTransaction(System.String)
    HResult : -2146233088
    Stack Trace :    at Telerik.Sitefinity.Data.TransactionManager.CommitTransaction(String transactionName)
       at Telerik.Sitefinity.Fluent.FluentSitefinity.Dispose(Boolean disposing)
       at Telerik.Sitefinity.Modules.Pages.Web.Services.PagesService.SavePageInternal(WcfPageContext pageContext, Boolean duplicate)
       at SyncInvokeSavePage(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

    Additional Info:

    MachineName : ANAKIN
    TimeStamp : 1/29/2013 9:58:35 AM
    FullName : Telerik.Sitefinity.Utilities, Version=5.1.3450.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
    AppDomainName : /LM/W3SVC/10/ROOT-1-130039270332576325
    ThreadIdentity :
    WindowsIdentity : IIS APPPOOL\MineRpSolutionsCom51
    Requested URL : http://minerpsolutionscom51/Sitefinity/Services/Pages/PagesService.svc/00000000-0000-0000-0000-000000000000/?itemType=Telerik.Sitefinity.Pages.Model.PageNode&providerName=&managerType=&provider=&workflowOperation=
        Inner Exception
        ---------------
        Type : Telerik.OpenAccess.RT.sql.SQLException, Telerik.OpenAccess.Runtime, Version=2012.2.628.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
        Message : Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
        Source : Telerik.OpenAccess.Runtime
        Help link :
        ErrorCode : 2627
        Number : 2627
        ObjectId :
        Description : SQLState=;Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
        Data : System.Collections.ListDictionaryInternal
        TargetSite : Int32 executeUpdate()
        HResult : -2146233088
        Stack Trace :    at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
           at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
           at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)



    Category: ErrorLog

    Priority: 0

    EventId: 90000

    Severity: Error

    Title:Enterprise Library Exception Handling

    Machine: ANAKIN

    App Domain: /LM/W3SVC/10/ROOT-1-130039270332576325

    ProcessId: 8792

    Process Name: c:\windows\system32\inetsrv\w3wp.exe

    Thread Name:

    Win32 ThreadId:8696

    Extended Properties:
    ----------------------------------------
    ----------------------------------------
    Timestamp: 1/29/2013 9:58:35 AM

    Message: HandlingInstanceID: 01784211-bb20-4d43-8a51-dd2356f4aa7b
    An exception of type 'Telerik.OpenAccess.Exceptions.DuplicateKeyException' occurred and was caught.
    ---------------------------------------------------------------------------------------------------
    01/29/2013 11:58:35
    Type : Telerik.OpenAccess.Exceptions.DuplicateKeyException, Telerik.OpenAccess, Version=2012.2.628.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
    Message : Insert link table row failed: Telerik.OpenAccess.RT.sql.SQLException: Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
       at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
       at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
       at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)
    Field: System.Collections.Generic.IList`1[[Telerik.Sitefinity.Security.Model.PermissionsInheritanceMap, Telerik.Sitefinity.Model, Version=5.1.3450.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] Telerik.Sitefinity.Pages.Model.PageNode.permissionChildren
    Instance: GenericOID@90b9426 PageNode id=f669d9a7-009d-4d83-ddaa-000000000002
    Link table value[sequence 64]: NewObjectOID@12 classIndex = 73 id = 18 realOID = GenericOID@ffff0b4c PermissionsInheritanceMap sf_prmssons_inheritance_map_id=2892
    INSERT INTO [sf_pg_nd_sf_prmssns_nhrtnc_map]([id], [seq], [sf_prmssons_inheritance_map_id]) VALUES (?, ?, ?)
    (set event logging to all to see parameter values)
    Source : Telerik.Sitefinity
    Help link :
    InnerExceptions : System.Exception[]
    FailedObject :
    BackendError : Telerik.OpenAccess.RT.sql.SQLException: Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
       at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
       at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
       at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)
    Reason : DuplicateKey
    CanRetry : False
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void CommitTransaction(System.String)
    HResult : -2146233088
    Stack Trace :    at Telerik.Sitefinity.Data.TransactionManager.CommitTransaction(String transactionName)
       at Telerik.Sitefinity.Fluent.FluentSitefinity.Dispose(Boolean disposing)
       at Telerik.Sitefinity.Modules.Pages.Web.Services.PagesService.SavePageInternal(WcfPageContext pageContext, Boolean duplicate)
       at SyncInvokeSavePage(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

    Additional Info:

    MachineName : ANAKIN
    TimeStamp : 1/29/2013 9:58:35 AM
    FullName : Telerik.Sitefinity.Utilities, Version=5.1.3450.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
    AppDomainName : /LM/W3SVC/10/ROOT-1-130039270332576325
    ThreadIdentity :
    WindowsIdentity : IIS APPPOOL\MineRpSolutionsCom51
    Requested URL : http://minerpsolutionscom51/Sitefinity/Services/Pages/PagesService.svc/00000000-0000-0000-0000-000000000000/?itemType=Telerik.Sitefinity.Pages.Model.PageNode&providerName=&managerType=&provider=&workflowOperation=
        Inner Exception
        ---------------
        Type : Telerik.OpenAccess.RT.sql.SQLException, Telerik.OpenAccess.Runtime, Version=2012.2.628.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
        Message : Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
        Source : Telerik.OpenAccess.Runtime
        Help link :
        ErrorCode : 2627
        Number : 2627
        ObjectId :
        Description : SQLState=;Violation of PRIMARY KEY constraint 'pk_sf_pg_nd_sf_prmssns_nhrtnc_'. Cannot insert duplicate key in object 'dbo.sf_pg_nd_sf_prmssns_nhrtnc_map'.
    The statement has been terminated.
        Data : System.Collections.ListDictionaryInternal
        TargetSite : Int32 executeUpdate()
        HResult : -2146233088
        Stack Trace :    at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.executeUpdate()
           at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.executeUpdate()
           at OpenAccessRuntime.Relational.metadata.RelationalLinkCollectionField.insertOrderedLinkTableRows(OID oid, Int32[] insertedIndexes, Object _insertedValues, PreparedStatement psins, Boolean batch, String sql)



    Category: ErrorLog

    Priority: 0

    EventId: 90000

    Severity: Error

    Title:Enterprise Library Exception Handling

    Machine: ANAKIN

    App Domain: /LM/W3SVC/10/ROOT-1-130039270332576325

    ProcessId: 8792

    Process Name: c:\windows\system32\inetsrv\w3wp.exe

    Thread Name:

    Win32 ThreadId:8696

    Extended Properties:
    ----------------------------------------


    =============================================================



    I tried the fix suggested in the following link but still it did not solve the problem.

    http://www.sitefinity.com/developer-network/forums/general-discussions-/return-code-0-22b9e1875829-d72b92ba88d5

    Of course, I replaced the following line in the Page_Load event handler

    FixPermissionInheritance(typeof(BlogPost), typeof(BlogPost));


    by

    FixPermissionInheritance(typeof(PageNode), typeof(PageNode));


    ANY IDEAS ON HOW TO FIX THIS?? PLEASE HELP AS SOON AS POSSIBLE
    Yosief
  2. Yosief
    Yosief avatar
    27 posts
    Registered:
    20 Mar 2008
    31 Jan 2013
    Link to this post
    We upgraded to Sitefinity 5.3 and the bug is fixed.
2 posts, 0 answered