Try Now
More in this section

Forums / Bugs & Issues / Error opening Dynamic Modules

Error opening Dynamic Modules

3 posts, 0 answered
  1. Dejan
    Dejan avatar
    8 posts
    14 Dec 2011
    07 Apr 2014
    Link to this post


    Users with limited rights (SF group Editors) get an error after upgrading to
    Sitefinity 6.3.5000.0 Standard Edition Build 6.3.5029.0. After upgrade we had
    to manualy run Dynamic Module Builder - it reported an error with loading configuration file.


     Timestamp: 7.4.2014 9:04:22
    Message: HandlingInstanceID: e96c4d6d-b960-4d45-aa8b-8b3162acd865

    An exception of type 'System.Reflection.TargetInvocationException' occurred and was caught.
    04/07/2014 11:04:22
    Type : System.Reflection.TargetInvocationException, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Exception has been thrown by the target of an invocation.
    Source : Unity_ILEmit_DynamicClasses
    Help link : 
    Data : System.Collections.ListDictionaryInternal
    TargetSite : System.Linq.IQueryable`1[Telerik.Sitefinity.DynamicModules.Model.DynamicContent] GetDataItems(System.Type)
    HResult : -2146232828
    Stack Trace :    at DynamicModule.ns.Wrapped_OpenAccessDynamicModuleProvider_d4f120181a6044f083812d6b708b4b9b.GetDataItems(Type itemType)
       at Telerik.Sitefinity.DynamicModules.Web.Services.DataService.GetTempAndLiveRecords(Guid[] ids, Type dataItemType, DynamicModuleManager manager)
       at Telerik.Sitefinity.DynamicModules.Web.Services.DataService.PopulateItems(List`1 items, Type dataItemType, DynamicModuleManager manager)
       at Telerik.Sitefinity.DynamicModules.Web.Services.DataService.GetDataItemsInternal(String provider, String sortExpression, Int32 skip, Int32 take, String filter, String itemType, Boolean hierarchyMode)
       at SyncInvokeGetDataItems(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:

    MachineName : FDV112781
    TimeStamp : 7.4.2014 9:04:22
    FullName : Telerik.Sitefinity.Utilities, Version=6.3.5029.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
    AppDomainName : /LM/W3SVC/3/ROOT-3-130413254563004191
    ThreadIdentity : 
    Requested URL : http://www.fdv.uni-lj.si/Sitefinity/Services/DynamicModules/Data.svc/?managerType=Telerik.Sitefinity.DynamicModules.DynamicModuleManager&providerName=OpenAccessProvider&itemType=Telerik.Sitefinity.DynamicTypes.Model.ObvestilaFDV.ObvestilaFdv&provider=OpenAccessProvider&sortExpression=LastModified DESC&skip=0&take=50
    Inner Exception
    Type : System.Reflection.TargetInvocationException, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Exception has been thrown by the target of an invocation.
    Source : mscorlib
    Help link : 
    Data : System.Collections.ListDictionaryInternal
    TargetSite : System.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
    HResult : -2146232828
    Stack Trace :    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
      at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
      at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
      at Telerik.Sitefinity.Data.Linq.OpenAccess.OpenAccessQueryProvider`2.Execute(Expression expression)
      at Telerik.Sitefinity.Data.Linq.OpenAccess.OpenAccessQueryProvider`2.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
      at System.Linq.Queryable.Single[TSource](IQueryable`1 source)
      at Telerik.Sitefinity.DynamicModules.Builder.ModuleBuilderSecurityHelper.GetSecuredObject(Type type, String dynamicContentProviderName)
      at Telerik.Sitefinity.Data.Linq.SitefinityQuery.GetDynamicContent[ActualType](DataProviderBase dataProvider)

    Inner Exception
    Type : System.InvalidOperationException, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Query execution did not find a matching element.
    Source : Telerik.OpenAccess.35.Extensions
    Help link : 
    Data : System.Collections.ListDictionaryInternal
    TargetSite : TResult PerformQuerySingle[T,TResult](Telerik.OpenAccess.Query.ExpressionCutter, System.Linq.Expressions.MethodCallExpression, Telerik.OpenAccess.Query.ChainedContext, Telerik.OpenAccess.QueryOptions)
    HResult : -2146233079
    Stack Trace :    at Telerik.OpenAccess.Query.ExpressionExecution.PerformQuerySingle[T,TResult](ExpressionCutter cutter, MethodCallExpression mce, ChainedContext piece, QueryOptions options)
      at Telerik.OpenAccess.Query.Piece`1.ExecuteSingle[TResult](Expression expression)

    Category: ErrorLog

    Priority: 0

    EventId: 90000

    Severity: Error

    Title:Enterprise Library Exception Handling

    Machine: FDV112781

    App Domain: /LM/W3SVC/3/ROOT-3-130413254563004191

    ProcessId: 4484

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

    Thread Name: 

    Win32 ThreadId:8268

    Extended Properties: 

  2. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    21 Jan 2015
    08 Apr 2014
    Link to this post
    Hello Dejan,

    We are currently working on your support ticket, which once resolved, feel free to share it with the community.

    Vassil Vassilev
    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. Dejan
    Dejan avatar
    8 posts
    14 Dec 2011
    09 Apr 2014
    Link to this post

    Answer from Telerik if anyone  have similar problems:

    We have a known issue with the dynamic modules in this internal build 6.3.5029.0 which may have caused this error to appear.

    Can you please go to Administration -> Settings -> Advanced -> Security and check if the Enable filtering queries by view permissions is checked. If this option is checked, is it an option for you to uncheck it as a workaround for the issue you experience. Please refer to thescreenshot. Please note that when this options is unchecked the view permissions will not be applied when listing the modules.

    We will provide a fix for this issue with the upcoming release of Sitefinity 7.0 in April. What I can suggest is to upgrade your project to Sitefinity 7.0 once it is released.


3 posts, 0 answered