Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sebastian Dammark 547 posts 1287 karma points
    Sep 05, 2014 @ 12:39
    Sebastian Dammark
    0

    Error when deleting unused document type

    I have a few document types that I no longer use.  But when I try to delete them this happens

    Link to video (MOV)

    Link to video (M4V)

    Anf this is the error from the log file.

    2014-09-05 12:27:03,992 [26] INFO  Umbraco.Core.Persistence.UmbracoDatabase - [Thread 34]    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at StackExchange.Profiling.Data.ProfiledDbCommand.ExecuteNonQuery()
       at Umbraco.Core.Persistence.PetaPocoCommandExtensions.<>c__DisplayClass1.<ExecuteNonQueryWithRetry>b__0()
       at Umbraco.Core.Persistence.FaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
       at Umbraco.Core.Persistence.Database.Execute(String sql, Object[] args)
    

    How do I delete these unused document types ?

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Sep 05, 2014 @ 14:45
    Jan Skovgaard
    0

    Hi Sebastian

    What exact version of 7 are you using?

    Think I've seen this in earlier versions so perhaps upgrading could be worth a try?

    /Jan

  • Sebastian Dammark 547 posts 1287 karma points
    Sep 09, 2014 @ 11:40
    Sebastian Dammark
    0

    Hi Jan

    This is the version I'm running: Umbraco version 7.1.6 assembly: 1.0.5350.25714

    But today I could delete most of the document types.  I have no logical explanation. :)

    // Sebastian

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies