Failed to upgrade from 1.3.1 to 1.5.1

Topics: Installing Orchard, Troubleshooting
Sep 25, 2012 at 9:37 AM

Hi, Having some problem upgrading my existing orchard site running on IIS 7 from version 1.3.1 to 1.5.1. Just getting error code 404 all the time and can´t figure out to fix it..

I have posted the error log.

 

1.ToArrayElement(Int32 index)
   at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
   at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
   at System.Linq.Parallel.SpoolingTaskBase.Work()
   at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   at System.Threading.Tasks.Task.Execute()<---

2012-09-25 10:33:39,506 [15] Orchard.Environment.Extensions.ExtensionManager - Error loading extension 'Orchard.CodeGeneration'
System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.CodeGeneration.Commands.CodeGenerationCommands'. Derived types must either match the security accessibility of the base type or be less accessible.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.DynamicExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
2012-09-25 10:33:39,506 [15] Orchard.Environment.DefaultOrchardHost - A tenant could not be started: Default
System.AggregateException: One or more errors occurred. ---> Orchard.OrchardException: Error while loading extension 'Orchard.CodeGeneration'. ---> System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.CodeGeneration.Commands.CodeGenerationCommands'. Derived types must either match the security accessibility of the base type or be less accessible.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.DynamicExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 145
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 71
   at System.Linq.Parallel.ArrayMergeHelper`1.ToArrayElement(Int32 index)
   at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
   at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
   at System.Linq.Parallel.SpoolingTaskBase.Work()
   at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
   at System.Linq.Parallel.MergeExecutor`1.Execute[TKey](PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
   at System.Linq.Parallel.PartitionedStreamMerger`1.Receive[TKey](PartitionedStream`2 partitionedStream)
   at System.Linq.Parallel.ForAllOperator`1.WrapPartitionedStream[TKey](PartitionedStream`2 inputStream, IPartitionedStreamRecipient`1 recipient, Boolean preferStriping, QuerySettings settings)
   at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream`2 inputStream)
   at System.Linq.Parallel.ScanQueryOperator`1.ScanEnumerableQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
   at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
   at System.Linq.Parallel.QueryOperator`1.GetOpenedEnumerator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
   at System.Linq.Parallel.ForAllOperator`1.RunSynchronously()
   at System.Linq.ParallelEnumerable.ForAll[TSource](ParallelQuery`1 source, Action`1 action)
   at System.Linq.Parallel.ArrayMergeHelper`1.Execute()
   at System.Linq.Parallel.QueryOperator`1.ExecuteAndGetResultsAsArray()
   at Orchard.Caching.DefaultParallelCacheContext.RunInParallel[T,TResult](IEnumerable`1 source, Func`2 selector) in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 27
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeatures(IEnumerable`1 featureDescriptors) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 93
   at Orchard.Environment.ShellBuilders.CompositionStrategy.Compose(ShellSettings settings, ShellDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\ShellBuilders\CompositionStrategy.cs:line 43
   at Orchard.Environment.ShellBuilders.ShellContextFactory.CreateShellContext(ShellSettings settings) in c:\Build\Orchard\src\Orchard\Environment\ShellBuilders\ShellContextFactory.cs:line 60
   at Orchard.Environment.DefaultOrchardHost.CreateAndActivateShells() in c:\Build\Orchard\src\Orchard\Environment\DefaultOrchardHost.cs:line 135
---> (Inner Exception #0) Orchard.OrchardException: Error while loading extension 'Orchard.CodeGeneration'. ---> System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.CodeGeneration.Commands.CodeGenerationCommands'. Derived types must either match the security accessibility of the base type or be less accessible.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.DynamicExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 145
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictio

Coordinator
Sep 25, 2012 at 5:54 PM

Did you read the release notes? Can you access /admin?

Sep 26, 2012 at 7:20 AM

well, yes i read the release notes and i followed the http://docs.orchardproject.net/Documentation/Upgrading-a-site-to-a-new-version-of-Orchard and upgrading an orchard site in-place.

Sep 26, 2012 at 7:24 AM

i can´t access my site at all just got error 404, and i have tried to upgrade two times but i got the same problem.

Coordinator
Sep 26, 2012 at 5:42 PM

Could you please try to upgrade to 1.4 first, then 1.5.1.

Sep 27, 2012 at 2:50 PM

Hi, i have now tried to first upgrade to 1.4, but without any success, still got error 404 with the same stacktrace. I follow all points you have written on the section Uprading an orchard site in-place on the following link http://docs.orchardproject.net/Documentation/Upgrading-a-site-to-a-new-version-of-Orchard , is that correct? or am i understanding it all wrong?.

Can you make any sence of the stacktrace becuase i don´t get what Orchard.CodeGeneration does or what security volation is...

Sep 27, 2012 at 3:32 PM

I managed to upgrade to 1.4 and made my site fully work with 1.4. However when i tried to upgrade from 1.4 to 1.5.1 i got the following stacktrace and i can´t access /admin.

Any ideas?

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ntext.cs:line 71
   at System.Linq.Parallel.ArrayMergeHelper`1.ToArrayElement(Int32 index)
   at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
   at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
   at System.Linq.Parallel.SpoolingTaskBase.Work()
   at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   at System.Threading.Tasks.Task.Execute()<---

2012-09-27 16:28:50,550 [18] Orchard.Environment.Extensions.ExtensionManager - Error loading extension 'Orchard.Lists'
System.TypeLoadException: Inheritance security rules violated while overriding member: 'Orchard.Core.Dashboard.AdminMenu.get_MenuName()'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.PrecompiledExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\PrecompiledExtensionLoader.cs:line 228
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
2012-09-27 16:28:50,550 [19] Orchard.Environment.Extensions.ExtensionManager - Error loading extension 'Orchard.CodeGeneration'
System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.CodeGeneration.Commands.CodeGenerationCommands'. Derived types must either match the security accessibility of the base type or be less accessible.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.DynamicExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
2012-09-27 16:28:50,552 [18] Orchard.Environment.DefaultOrchardHost - A tenant could not be started: Default
System.AggregateException: One or more errors occurred. ---> Orchard.OrchardException: Error while loading extension 'Orchard.Lists'. ---> System.TypeLoadException: Inheritance security rules violated while overriding member: 'Orchard.Core.Dashboard.AdminMenu.get_MenuName()'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.PrecompiledExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\PrecompiledExtensionLoader.cs:line 228
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 145
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 71
   at System.Linq.Parallel.ArrayMergeHelper`1.ToArrayElement(Int32 index)
   at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
   at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
   at System.Linq.Parallel.SpoolingTaskBase.Work()
   at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
   at System.Linq.Parallel.MergeExecutor`1.Execute[TKey](PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
   at System.Linq.Parallel.PartitionedStreamMerger`1.Receive[TKey](PartitionedStream`2 partitionedStream)
   at System.Linq.Parallel.ForAllOperator`1.WrapPartitionedStream[TKey](PartitionedStream`2 inputStream, IPartitionedStreamRecipient`1 recipient, Boolean preferStriping, QuerySettings settings)
   at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream`2 inputStream)
   at System.Linq.Parallel.ScanQueryOperator`1.ScanEnumerableQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
   at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
   at System.Linq.Parallel.QueryOperator`1.GetOpenedEnumerator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
   at System.Linq.Parallel.ForAllOperator`1.RunSynchronously()
   at System.Linq.ParallelEnumerable.ForAll[TSource](ParallelQuery`1 source, Action`1 action)
   at System.Linq.Parallel.ArrayMergeHelper`1.Execute()
   at System.Linq.Parallel.QueryOperator`1.ExecuteAndGetResultsAsArray()
   at Orchard.Caching.DefaultParallelCacheContext.RunInParallel[T,TResult](IEnumerable`1 source, Func`2 selector) in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 27
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeatures(IEnumerable`1 featureDescriptors) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 93
   at Orchard.Environment.ShellBuilders.CompositionStrategy.Compose(ShellSettings settings, ShellDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\ShellBuilders\CompositionStrategy.cs:line 43
   at Orchard.Environment.ShellBuilders.ShellContextFactory.CreateShellContext(ShellSettings settings) in c:\Build\Orchard\src\Orchard\Environment\ShellBuilders\ShellContextFactory.cs:line 60
   at Orchard.Environment.DefaultOrchardHost.CreateAndActivateShells() in c:\Build\Orchard\src\Orchard\Environment\DefaultOrchardHost.cs:line 135
---> (Inner Exception #0) Orchard.OrchardException: Error while loading extension 'Orchard.Lists'. ---> System.TypeLoadException: Inheritance security rules violated while overriding member: 'Orchard.Core.Dashboard.AdminMenu.get_MenuName()'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.PrecompiledExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\PrecompiledExtensionLoader.cs:line 228
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 145
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 71
   at System.Linq.Parallel.ArrayMergeHelper`1.ToArrayElement(Int32 index)
   at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
   at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
   at System.Linq.Parallel.SpoolingTaskBase.Work()
   at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #1) Orchard.OrchardException: Error while loading extension 'Orchard.CodeGeneration'. ---> System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.CodeGeneration.Commands.CodeGenerationCommands'. Derived types must either match the security accessibility of the base type or be less accessible.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.DynamicExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 145
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 71
   at System.Linq.Parallel.ArrayMergeHelper`1.ToArrayElement(Int32 index)
   at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
   at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
   at System.Linq.Parallel.SpoolingTaskBase.Work()
   at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   at System.Threading.Tasks.Task.Execute()<---

2012-09-27 16:28:53,459 [19] Orchard.Environment.Extensions.ExtensionManager - Error loading extension 'Orchard.Lists'
System.TypeLoadException: Inheritance security rules violated while overriding member: 'Orchard.Core.Dashboard.AdminMenu.get_MenuName()'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.PrecompiledExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\PrecompiledExtensionLoader.cs:line 228
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
2012-09-27 16:28:53,459 [18] Orchard.Environment.Extensions.ExtensionManager - Error loading extension 'Orchard.CodeGeneration'
System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.CodeGeneration.Commands.CodeGenerationCommands'. Derived types must either match the security accessibility of the base type or be less accessible.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.DynamicExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
2012-09-27 16:28:53,461 [19] Orchard.Environment.DefaultOrchardHost - A tenant could not be started: Default
System.AggregateException: One or more errors occurred. ---> Orchard.OrchardException: Error while loading extension 'Orchard.Lists'. ---> System.TypeLoadException: Inheritance security rules violated while overriding member: 'Orchard.Core.Dashboard.AdminMenu.get_MenuName()'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.PrecompiledExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\PrecompiledExtensionLoader.cs:line 228
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 145
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 71
   at System.Linq.Parallel.ArrayMergeHelper`1.ToArrayElement(Int32 index)
   at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
   at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
   at System.Linq.Parallel.SpoolingTaskBase.Work()
   at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
   at System.Linq.Parallel.MergeExecutor`1.Execute[TKey](PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
   at System.Linq.Parallel.PartitionedStreamMerger`1.Receive[TKey](PartitionedStream`2 partitionedStream)
   at System.Linq.Parallel.ForAllOperator`1.WrapPartitionedStream[TKey](PartitionedStream`2 inputStream, IPartitionedStreamRecipient`1 recipient, Boolean preferStriping, QuerySettings settings)
   at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream`2 inputStream)
   at System.Linq.Parallel.ScanQueryOperator`1.ScanEnumerableQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
   at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
   at System.Linq.Parallel.QueryOperator`1.GetOpenedEnumerator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
   at System.Linq.Parallel.ForAllOperator`1.RunSynchronously()
   at System.Linq.ParallelEnumerable.ForAll[TSource](ParallelQuery`1 source, Action`1 action)
   at System.Linq.Parallel.ArrayMergeHelper`1.Execute()
   at System.Linq.Parallel.QueryOperator`1.ExecuteAndGetResultsAsArray()
   at Orchard.Caching.DefaultParallelCacheContext.RunInParallel[T,TResult](IEnumerable`1 source, Func`2 selector) in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 27
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeatures(IEnumerable`1 featureDescriptors) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 93
   at Orchard.Environment.ShellBuilders.CompositionStrategy.Compose(ShellSettings settings, ShellDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\ShellBuilders\CompositionStrategy.cs:line 43
   at Orchard.Environment.ShellBuilders.ShellContextFactory.CreateShellContext(ShellSettings settings) in c:\Build\Orchard\src\Orchard\Environment\ShellBuilders\ShellContextFactory.cs:line 60
   at Orchard.Environment.DefaultOrchardHost.CreateAndActivateShells() in c:\Build\Orchard\src\Orchard\Environment\DefaultOrchardHost.cs:line 135
---> (Inner Exception #0) Orchard.OrchardException: Error while loading extension 'Orchard.Lists'. ---> System.TypeLoadException: Inheritance security rules violated while overriding member: 'Orchard.Core.Dashboard.AdminMenu.get_MenuName()'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.PrecompiledExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\PrecompiledExtensionLoader.cs:line 228
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 145
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 71
   at System.Linq.Parallel.ArrayMergeHelper`1.ToArrayElement(Int32 index)
   at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
   at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
   at System.Linq.Parallel.SpoolingTaskBase.Work()
   at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #1) Orchard.OrchardException: Error while loading extension 'Orchard.CodeGeneration'. ---> System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.CodeGeneration.Commands.CodeGenerationCommands'. Derived types must either match the security accessibility of the base type or be less accessible.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Orchard.Environment.Extensions.Loaders.DynamicExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 27
   at System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate(TKey key, Func`2 addValueFactory, Func`3 updateValueFactory)
   at Orchard.Caching.Cache`2.Get(TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 145
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in c:\Build\O

Coordinator
Sep 27, 2012 at 6:19 PM

You might need to fix the List module if you are still using it. Open the assemblyinfo.cs file for this project, and remove the [SecurityAttribute] line.