none
Service Manager console crash after editing knowledge article

    Question

  • Hello,

    When editing a knowledge article in the Service Manager console, when I click apply --> OK my console crashes, looking into the application event log, I see the following entry:

    An exception was thrown while processing ReadFromStream for session ID uuid:9b6310ca-a4a5-46ad-af8e-8d513cc6b347;id=56.

    Exception message: Connection is in invalid state; reopen the connection.

    Full Exception: Microsoft.EnterpriseManagement.Common.InvalidConnectionException: Connection is in invalid state; reopen the connection. ---> System.InvalidOperationException: Invalid attempt to read when no data is present.

       at System.Data.SqlClient.SqlDataReader.GetBytes(Int32 i, Int64 dataIndex, Byte[] buffer, Int32 bufferIndex, Int32 length)

       at Microsoft.EnterpriseManagement.DataAccessLayer.SqlRetryHandler.ExecuteReaderBinaryColumn(ExecuteArguments executeArguments, Int64& length)

       at Microsoft.EnterpriseManagement.DataAccessLayer.SqlRetryHandler.Execute[T](ExecuteArguments executeArguments, RetryPolicy retryPolicy, GenericExecute`1 genericExecute)

       --- End of inner exception stack trace ---

       at Microsoft.EnterpriseManagement.DataAccessLayer.SqlRetryHandler.Execute[T](ExecuteArguments executeArguments, RetryPolicy retryPolicy, GenericExecute`1 genericExecute)

       at Microsoft.EnterpriseManagement.DataAccessLayer.SqlRetryHandler.ExecuteReaderBinaryColumn(SqlDataReader sqlDataReader, SqlConnection sqlConnection, IList`1 prologEpilogList, RetryPolicy retryPolicy, Byte[] buffer, Int32 bufferIndex, Int32 bufferLength, Int64 dataIndex, Boolean closeConnectionOnDone)

       at Microsoft.EnterpriseManagement.DataAccessLayer.BinaryColumnReader.Read(Byte[] buffer)

       at Microsoft.EnterpriseManagement.ServiceDataLayer.ClientReaderManager.GetData(Guid id, Int32 count, IContext context)

       at Microsoft.EnterpriseManagement.ServiceDataLayer.EntityObjectsService.ReadFromStream(Guid readerId, Int32 count)

    When editing the KA and directly pressing OK, I don't get an error message and the changes are saved.

    SCSM version is 2012 SP1 CU2.

    Is this a bug or has anyone experienced this behavior before ?

    Thanks in advance

    Iliass

    Tuesday, July 09, 2013 12:32 PM

All replies