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

Forums / General Discussions / Can't uninstall module using the Module GUI

Can't uninstall module using the Module GUI

4 posts, 0 answered
  1. Daniel
    Daniel avatar
    13 posts
    Registered:
    30 Jul 2014
    22 Dec 2014
    Link to this post

    Hello,

     

    Just wondered if anybody else has issues with uninstalling pre-packaged modules? I can disactivate them (connectors for Sharepoint etc) but uninstalling just refreshes the page and writes a non-descript error to the log:

     

    Timestamp: 12/22/2014 9:29:13 AM

    Message: HandlingInstanceID: be0e4fd3-24a5-4809-8f49-6051a78833c2
    An exception of type 'System.NullReferenceException' occurred and was caught.
    -----------------------------------------------------------------------------
    12/22/2014 09:29:13
    Type : System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Object reference not set to an instance of an object.
    Source : Telerik.Sitefinity
    Help link : 
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void UninstallModule(System.String, Boolean)
    Stack Trace :    at Telerik.Sitefinity.Services.SystemManager.UninstallModule(String moduleName, Boolean delete)

    Additional Info:

    MachineName : 
    TimeStamp : 12/22/2014 9:29:13 AM
    FullName : Telerik.Sitefinity.Utilities, Version=7.3.5600.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
    AppDomainName : /LM/W3SVC/2108000/Root/sitefinity-1-130637138961976840
    ThreadIdentity : 
    WindowsIdentity : NT AUTHORITY\NETWORK SERVICE
    Requested URL : /sitefinity/Sitefinity/Services/ModulesService/modules?operation=1


    Category: ErrorLog

    Priority: 0

    EventId: 9010

    Severity: Warning

    Title:Enterprise Library Exception Handling

    Machine: 

    App Domain: /LM/W3SVC/2108000/Root/sitefinity-1-130637138961976840

    ProcessId: 10452

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

    Thread Name: 

    Win32 ThreadId:2300

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

    Any ideas?

  2. Ivan D. Dimitrov
    Ivan D. Dimitrov avatar
    310 posts
    Registered:
    26 Mar 2015
    24 Dec 2014
    Link to this post
    Hello Daniel,

    This behavior is definitely not expected. It appears that for some reason the UninstallModule() method is failing but based on the stack trace I cannot determine the reason for this to occur. You can try to either try and uninstall the module from the SystemConfig,config file by changing the following:
    <add version="7.3.5600.0" name="News" /> //if the module is active
    <add startupType="Disabled" version="7.3.5600.0" name="News" /> // if the module is inactive
    to
    <add startupType="Disabled" name="News" />

    or , and this is what I would advise you, to submit a support ticket addressing this issue so that me or one of my teammates can further investigate why the uninstall behaves in such a manner on your solution.

    Regards,
    Ivan D. Dimitrov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  3. Dhananjay
    Dhananjay avatar
    1 posts
    Registered:
    18 Nov 2014
    11 Feb 2015
    Link to this post

    The same error  gets thrown when you try to uninstall  a dynamic module

     

    Here is the stack trace : 

     

    Message: Operation: 'ApplicationRestart'. Parameters: 'flags:Default;sendRestartApplicationSystemMessage:True'. Reason: 'DynamicModuleUninstall'. User: 'admin'. StackTrace: '
    Telerik.Sitefinity.Services.SystemManager: Boolean RestartApplication(Telerik.Sitefinity.Services.OperationReason, Telerik.Sitefinity.Services.SystemRestartFlags, Boolean)
    Telerik.Sitefinity.DynamicModules.Builder.Install.ModuleInstaller: Void UninstallModule(Telerik.Sitefinity.DynamicModules.Builder.Model.DynamicModule, Boolean)
    Telerik.Sitefinity.Services.Web.Services.ModulesService: Telerik.Sitefinity.Services.Web.Services.ViewModel.ModuleViewModel ExecuteDynamicModuleOperation(Telerik.Sitefinity.Services.Web.Services.ViewModel.ModuleViewModel, Telerik.Sitefinity.Services.Web.Services.ModuleOperation)
    Telerik.Sitefinity.Services.Web.Services.ModulesService: Telerik.Sitefinity.Services.Web.Services.ViewModel.ModuleViewModel Execute(Telerik.Sitefinity.Services.Web.Services.ViewModel.ModuleViewModel, Telerik.Sitefinity.Services.Web.Services.ModuleOperation)
    unknown: System.Object SyncInvokeExecute(System.Object, System.Object[], System.Object[])
    System.ServiceModel.Dispatcher.SyncMethodInvoker: System.Object Invoke(System.Object, System.Object[], System.Object[] ByRef)
    System.ServiceModel.Dispatcher.DispatchOperationRuntime: Void InvokeBegin(System.ServiceModel.Dispatcher.MessageRpc ByRef)
    System.ServiceModel.Dispatcher.ImmutableDispatchRuntime: Void ProcessMessage5(System.ServiceModel.Dispatcher.MessageRpc ByRef)
    System.ServiceModel.Dispatcher.ImmutableDispatchRuntime: Void ProcessMessage31(System.ServiceModel.Dispatcher.MessageRpc ByRef)
    System.ServiceModel.Dispatcher.MessageRpc: Boolean Process(Boolean)
    System.ServiceModel.Dispatcher.ChannelHandler: Boolean DispatchAndReleasePump(System.ServiceModel.Channels.RequestContext, Boolean, System.ServiceModel.OperationContext)
    System.ServiceModel.Dispatcher.ChannelHandler: Boolean HandleRequest(System.ServiceModel.Channels.RequestContext, System.ServiceModel.OperationContext)
    System.ServiceModel.Dispatcher.ChannelHandler: Void AsyncMessagePump(System.IAsyncResult)
    System.Runtime.Fx+AsyncThunk: Void UnhandledExceptionFrame(System.IAsyncResult)
    Telerik.Sitefinity.Utilities.MS.ServiceModel.Web.AsyncResult: Void Complete(Boolean)
    Telerik.Sitefinity.Utilities.MS.ServiceModel.Web.RequestInterceptorReplyChannelBase`1+TryReceiveRequestAsyncResult: Void InnerTryReceiveCallback(System.IAsyncResult)
    System.Runtime.AsyncResult: Void Complete(Boolean)
    System.Runtime.InputQueue`1+AsyncQueueReader: Void Set(Item)
    System.Runtime.InputQueue`1: Void EnqueueAndDispatch(Item, Boolean)
    System.Runtime.InputQueue`1: Void EnqueueAndDispatch(T, System.Action, Boolean)
    System.ServiceModel.Channels.SingletonChannelAcceptor`3: Void Enqueue(QueueItemType, System.Action, Boolean)
    System.ServiceModel.Channels.HttpPipeline+EnqueueMessageAsyncResult: Void CompleteParseAndEnqueue(System.IAsyncResult)
    System.ServiceModel.Channels.HttpPipeline+EnqueueMessageAsyncResult: Boolean HandleParseIncomingMessage(System.IAsyncResult)
    System.Runtime.AsyncResult: Void AsyncCompletionWrapperCallback(System.IAsyncResult)
    System.Runtime.Fx+AsyncThunk: Void UnhandledExceptionFrame(System.IAsyncResult)
    System.Runtime.AsyncResult: Void Complete(Boolean)
    System.ServiceModel.Channels.HttpInput+ParseMessageAsyncResult: Void OnRead(System.IAsyncResult)
    System.Runtime.Fx+AsyncThunk: Void UnhandledExceptionFrame(System.IAsyncResult)
    System.Threading.ExecutionContext: Void RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    System.Threading.ExecutionContext: Void Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    System.IO.Stream+ReadWriteTask: Void System.Threading.Tasks.ITaskCompletionAction.Invoke(System.Threading.Tasks.Task)
    System.Threading.Tasks.Task: Void FinishContinuations()
    System.Threading.Tasks.Task: Void Finish(Boolean)
    System.Threading.Tasks.Task: Void ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
    System.Threading.Tasks.Task: Boolean ExecuteEntry(Boolean)
    System.Threading.ThreadPoolWorkQueue: Boolean Dispatch()'.

  4. Ivan D. Dimitrov
    Ivan D. Dimitrov avatar
    310 posts
    Registered:
    26 Mar 2015
    16 Feb 2015
    Link to this post
    Hello Dhananjay,

    In the case of dynamic modules, due to a bug in our system they cannot be uninstalled, only deactivated. You can find the bug's status in our FeedBack Portal. Feel free to track its progress there. We will do our best to fix this behavior in our future releases.

    Regards,
    Ivan D. Dimitrov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
4 posts, 0 answered