Copied to clipboard

Flag this post as spam?

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


  • Dave Gordon 9 posts 31 karma points
    Dec 15, 2014 @ 01:43
    Dave Gordon
    0

    [SOLVED] Manual removal of datatype from Db kills DocType using that DataType

     

    1. Umbraco 7.2
    2. ASP.NET 4.5
    3. Windows Server 2012 
    4. IIS 8

    1. I installed the uCKEditor package
    2. Set a DocType to use the new Editor
    3. Went to Add content using that DocType and No editor was displayed
    4. Uninstalled uCKEditor
    5. Umbraco failed to run.
    6. Manually Uninstalled uCKEditor settings from DB including DocType
    7. Restarted IIS
    8. Umbraco started fine
    9. Went to DocType and received the following error:

     

    Server Error in '/' Application.

    No dataType with id = 2102 found

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.ArgumentException: No dataType with id = 2102 found

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [ArgumentException: No dataType with id = 2102 found]
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.setupNode() +286
       umbraco.cms.businesslogic.CMSNode..ctor(Guid uniqueID) +179
       umbraco.cms.businesslogic.datatype.<>c__DisplayClass6.b__5() +80
       Umbraco.Core.Cache.<>c__DisplayClass9`1.b__8() +10
       System.Lazy`1.CreateValue() +180
       System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +22
       System.Lazy`1.get_Value() +11083481
       Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, CacheDependency dependency) +937
       Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem) +111
       Umbraco.Core.Cache.CacheProviderExtensions.GetCacheItem(ICacheProvider provider, String cacheKey, Func`1 getCacheItem) +115
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.GetDataTypeDefinition(Guid id) +203
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.GetAll() +146
       umbraco.controls.ContentTypeControlNew.BindDataGenericProperties(Boolean refresh) +114
       umbraco.controls.ContentTypeControlNew.SetupGenericPropertiesPane() +75
       umbraco.controls.ContentTypeControlNew.OnInit(EventArgs e) +82
       System.Web.UI.Control.InitRecursive(Control namingContainer) +134
       System.Web.UI.Control.InitRecursive(Control namingContainer) +290
       System.Web.UI.Control.InitRecursive(Control namingContainer) +290
       System.Web.UI.Control.InitRecursive(Control namingContainer) +290
       System.Web.UI.d__0.MoveNext() +277
       System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +93
       System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +52
       System.Web.Util.WithinCancellableCallbackTaskAwaiter.GetResult() +30
       System.Web.UI.d__14.MoveNext() +2353
    I would have expected Umbraco to fall back gracefully to a safe DataType instead of a YSOD
    uCKEdit DataType was still listed after the unistall so deleted through the back end. However, I should not have had the YSOD.
Please Sign in or register to post replies

Write your reply to:

Draft