More in this section

Forums / Developing with Sitefinity / Module activation error after import

Module activation error after import

1 posts, 0 answered
  1. David
    David avatar
    38 posts
    05 Apr 2012
    21 Aug 2012
    Link to this post
    I am developing a module with the Module Builder, and it all works fine on my local Sitefinity install. I have uploaded to a QA server an earlier version of the module via the Export structure/import module functionality and it worked fine.

    When I try to upload an updated version of the same module (extra fields). The error from error.log is this:
    Type : System.Exception, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : ContentView control with key 'Telerik.Sitefinity.DynamicTypes.Model.McLarenEvents.MclarenEventBackendDefinition' cannot be added for module 'ModuleBuilder', because it is already used by module 'McLaren Events'
    Source : Telerik.Sitefinity
    Help link :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void HandleException(System.Exception, Boolean)
    Stack Trace :    at Telerik.Sitefinity.DynamicModules.Builder.Install.ModuleInstaller.HandleException(Exception ex, Boolean commitTransaction)
       at Telerik.Sitefinity.DynamicModules.Builder.Install.ModuleInstaller.InstallModule(DynamicModule module, Boolean commitTransaction)
       at Telerik.Sitefinity.DynamicModules.Builder.Web.Services.ContentTypeService.ActivateContentTypeInternal(String moduleId, String providerName)
       at SyncInvokeActivateModule(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:
    FullName : Telerik.Sitefinity.Utilities, Version=5.1.3270.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
    AppDomainName : /LM/W3SVC/2/ROOT-1-129900513864500407
    ThreadIdentity :
    WindowsIdentity : IIS APPPOOL\USER
    A very similar module went through the same process fine.

    I have deleted the old module before importing it again.

    Could this be due to a reference to it being used somewhere in the site holding onto the old code?

    Any suggestions appreciated,

1 posts, 0 answered