Failed to upgrade from version 1.4 to 1.5

Topics: Troubleshooting
Sep 25, 2012 at 8:34 AM

Hi, I follow up the upgrade process that can be found here http://docs.orchardproject.net/Documentation/Upgrading-a-site-to-a-new-version-of-Orchard -> Upgrading An Orchard Site In-Place from version 1.4 to 1.5

When I am done and try to browse the website I am getting the following error message.

Server Error in '/' Application.

The resource cannot be found.

 

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

 

Thanks in advance.

 

Sep 25, 2012 at 8:47 AM

Please find below the error stack as well.

arallelCacheContext.cs:line 30
   at System.Linq.Parallel.SelectQueryOperator`2.SelectQueryOperatorResults.GetElement(Int32 index)
   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.Linq.Parallel.QueryTask.<.cctor>b__0(Object o)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---

2012-09-25 10:45:11,600 [11] Orchard.Environment.Extensions.ExtensionManager - Error loading extension 'Orchard.Search'
System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.Search.Drivers.SearchFormPartDriver'. 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.Loaders.ExtensionLoaderBase.Load(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\ExtensionLoaderBase.cs:line 37
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 160
   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.<>c__DisplayClass2.<Get>b__0(TKey k) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 19
   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.DefaultCacheManager.Get[TKey,TResult](TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\DefaultCacheManager.cs:line 33
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
2012-09-25 10:45:11,600 [6] Orchard.Environment.Extensions.ExtensionManager - Error loading extension 'Lucene'
System.TypeLoadException: Inheritance security rules violated while overriding member: 'Lucene.Models.LuceneDocumentIndex.SetContentItemId(Int32)'. 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.DynamicExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.Loaders.ExtensionLoaderBase.Load(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\ExtensionLoaderBase.cs:line 37
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 160
   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.<>c__DisplayClass2.<Get>b__0(TKey k) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 19
   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.DefaultCacheManager.Get[TKey,TResult](TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\DefaultCacheManager.cs:line 33
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
2012-09-25 10:45:11,610 [11] Orchard.Environment.DefaultOrchardHost - A tenant could not be started: Default
System.AggregateException: One or more errors occurred. ---> Orchard.OrchardException: Error while loading extension 'Orchard.Search'. ---> System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.Search.Drivers.SearchFormPartDriver'. 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.Loaders.ExtensionLoaderBase.Load(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\ExtensionLoaderBase.cs:line 37
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 160
   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.<>c__DisplayClass2.<Get>b__0(TKey k) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 19
   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.DefaultCacheManager.Get[TKey,TResult](TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\DefaultCacheManager.cs:line 33
   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 123
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass12.<LoadFeatures>b__11(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 95
   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.<>c__DisplayClass2.<Get>b__0(TKey k) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 19
   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.DefaultCacheManager.Get[TKey,TResult](TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\DefaultCacheManager.cs:line 33
   at Orchard.Environment.Extensions.ExtensionManager.<LoadFeatures>b__10(FeatureDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 95
   at Orchard.Caching.DefaultParallelCacheContext.<>c__DisplayClass5`2.<>c__DisplayClass7.<RunInParallel>b__1() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 24
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 71
   at Orchard.Caching.DefaultParallelCacheContext.<RunInParallel>b__2[T,TResult](ITask`1 task) in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 30
   at System.Linq.Parallel.SelectQueryOperator`2.SelectQueryOperatorResults.GetElement(Int32 index)
   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.Linq.Parallel.QueryTask.RunTaskSynchronously(Object o)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
   at System.Linq.Parallel.SpoolingTask.SpoolForAll[TInputOutput,TIgnoreKey](QueryTaskGroupState groupState, PartitionedStream`2 partitions, TaskScheduler taskScheduler)
   at System.Linq.Parallel.DefaultMergeHelper`2.System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute()
   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 System.Linq.ParallelEnumerable.ToArray[TSource](ParallelQuery`1 source)
   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.CreateShellContext(ShellSettings settings) in c:\Build\Orchard\src\Orchard\Environment\DefaultOrchardHost.cs:line 174
   at Orchard.Environment.DefaultOrchardHost.CreateAndActivateShells() in c:\Build\Orchard\src\Orchard\Environment\DefaultOrchardHost.cs:line 134
---> (Inner Exception #0) Orchard.OrchardException: Error while loading extension 'Orchard.Search'. ---> System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.Search.Drivers.SearchFormPartDriver'. 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.Loaders.ExtensionLoaderBase.Load(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\ExtensionLoaderBase.cs:line 37
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 160
   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.<>c__DisplayClass2.<Get>b__0(TKey k) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 19
   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.DefaultCacheManager.Get[TKey,TResult](TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\DefaultCacheManager.cs:line 33
   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 123
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass12.<LoadFeatures>b__11(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 95
   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.<>c__DisplayClass2.<Get>b__0(TKey k) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 19
   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.DefaultCacheManager.Get[TKey,TResult](TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\DefaultCacheManager.cs:line 33
   at Orchard.Environment.Extensions.ExtensionManager.<LoadFeatures>b__10(FeatureDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 95
   at Orchard.Caching.DefaultParallelCacheContext.<>c__DisplayClass5`2.<>c__DisplayClass7.<RunInParallel>b__1() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 24
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 71
   at Orchard.Caching.DefaultParallelCacheContext.<RunInParallel>b__2[T,TResult](ITask`1 task) in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 30
   at System.Linq.Parallel.SelectQueryOperator`2.SelectQueryOperatorResults.GetElement(Int32 index)
   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.Linq.Parallel.QueryTask.RunTaskSynchronously(Object o)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---

---> (Inner Exception #1) Orchard.OrchardException: Error while loading extension 'Lucene'. ---> System.TypeLoadException: Inheritance security rules violated while overriding member: 'Lucene.Models.LuceneDocumentIndex.SetContentItemId(Int32)'. 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.DynamicExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.Loaders.ExtensionLoaderBase.Load(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\Loaders\ExtensionLoaderBase.cs:line 37
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 160
   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.<>c__DisplayClass2.<Get>b__0(TKey k) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 19
   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.DefaultCacheManager.Get[TKey,TResult](TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\DefaultCacheManager.cs:line 33
   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 123
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass12.<LoadFeatures>b__11(AcquireContext`1 ctx) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 95
   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.<>c__DisplayClass2.<Get>b__0(TKey k) in c:\Build\Orchard\src\Orchard\Caching\Cache.cs:line 19
   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.DefaultCacheManager.Get[TKey,TResult](TKey key, Func`2 acquire) in c:\Build\Orchard\src\Orchard\Caching\DefaultCacheManager.cs:line 33
   at Orchard.Environment.Extensions.ExtensionManager.<LoadFeatures>b__10(FeatureDescriptor descriptor) in c:\Build\Orchard\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 95
   at Orchard.Caching.DefaultParallelCacheContext.<>c__DisplayClass5`2.<>c__DisplayClass7.<RunInParallel>b__1() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 24
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 71
   at Orchard.Caching.DefaultParallelCacheContext.<RunInParallel>b__2[T,TResult](ITask`1 task) in c:\Build\Orchard\src\Orchard\Caching\DefaultParallelCacheContext.cs:line 30
   at System.Linq.Parallel.SelectQueryOperator`2.SelectQueryOperatorResults.GetElement(Int32 index)
   at System.Linq.Parallel.ArrayMergeHelper`1.ToArrayElement(Int32 index)
   at System.Linq.Parallel.ForAl

Coordinator
Sep 25, 2012 at 5:55 PM

Can you access /admin?

Sep 26, 2012 at 12:03 PM

no i cannot access admin, so what I did was to install a new copy of orchard, install missing plugins (advance menu installed but its incompatible with 1.5 any suggestions would be appreciated) and copy my existing theme and app_data. the website is up and running but its not fully functional cause of the advanced menu incompatibility. :)

Oct 20, 2012 at 3:25 AM

I am having the same problem in upgrading from 1.3 to 1.51 following the instructions for "Upgrading An Orchard Site In-Place".

Any hint will be greatly appreciated.

Hong

Coordinator
Oct 20, 2012 at 5:12 AM

Try to upgrade to 1.4, then to 1.5.1.

Oct 20, 2012 at 12:26 PM

Thanks for your prompt response.

I have just tried to upgrade to 1.42, and got the same error.  After giving permissions to IIS_IUSRS, the error became the following.  I made sure everything worked find before overwritting the folder with the 1.42 package.

 

Error Summary

HTTP Error 403.14 - Forbidden

The Web server is configured to not list the contents of this directory.

Detailed Error Information

Module

DirectoryListingModule

Notification

ExecuteRequestHandler

Handler

StaticFile

Error Code

0x00000000

Requested URL

http://mydomain:80/newhome/

Physical Path

C:\Temp\Orchard.Web.1.4.2\

Logon Method

Anonymous

Logon User

Anonymous

Most likely causes:

A default document is not configured for the requested URL, and directory browsing is not enabled on the server.

Things you can try:

If you do not want to enable directory browsing, ensure that a default document is configured and that the file exists.

Enable directory browsing using IIS Manager.

  1.  
    1. Open IIS Manager.
    2. In the Features view, double-click Directory Browsing.
    3. On the Directory Browsing page, in the Actions pane, click Enable.

Verify that the configuration/system.webServer/directoryBrowse@enabled attribute is set to true in the site or application configuration file.

Links and More Information This error occurs when a document is not specified in the URL, no default document is specified for the Web site or application, and directory listing is not enabled for the Web site or application. This setting may be disabled on purpose to secure the contents of the server.

View more information »

Coordinator
Oct 20, 2012 at 8:46 PM

IIS doesn't seem to be correctly configured to run Orchard, or something bad is happening very early. Looks like what would happen if you had forgotten to compile the application for example, but could be a lot of other things.

Oct 20, 2012 at 10:26 PM

Here is what I did:

  1. Made a copy of my instance of Orchard as C:\Temp\workinghome.
  2. Configured a web application newhome pointing to C:\Temp\workinghome..  Made sure mydomain/newhome works flawlessly.
  3. Then followed the instructions for "Upgrading An Orchard Site In-Place": 1. deleted contents of folder bin; 2. deleted folder App_Data\Dependencies; 3. Copied everything in folder Orchard of the extracted Orchard 1.4.2 package to C:\Temp\workinghome.
  4. Restarted IIS.
  5. Browsed mydomain/newhome, and saw the error.

IIS works flawlessly with my instance of Orchard 1.3.  Without making any change to the IIS, replacing the the files of Orchard 1.3 with Orchard 1.4.2 resulted in the error.

Are there any other things I can try for in-place upgrade, or should I abandon this approach?

Hong

 

 

 

Coordinator
Oct 21, 2012 at 12:16 AM

This should work. What happens when you go to /admin?

Oct 21, 2012 at 12:41 AM

I get the same error when going to /admin:

Server Error in '/newhome' Application.


 

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /newhome/admin


 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Coordinator
Oct 21, 2012 at 12:52 AM

Actually that looks very different. In any case, you probably have some stack traces in app_data\logs.

Oct 21, 2012 at 1:10 AM

I am sorry, but now both /newhome and newhome/admin give the same error as shown in my previous message.  The last entry of the log file is the following:

2012-10-20 17:04:24,287 [21] Orchard.Environment.DefaultOrchardHost - A tenant could not be started: Default
System.AggregateException: One or more errors occurred. ---> Orchard.OrchardException: Error while loading extension 'Lucene'. ---> System.TypeLoadException: Inheritance security rules violated while overriding member: 'Lucene.Models.LuceneDocumentIndex.SetContentItemId(Int32)'. 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.DynamicExtensionLoader.LoadWorker(ExtensionDescriptor descriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\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 d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 145
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\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 d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in d:\Builds\OrchardFull\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 d:\Builds\OrchardFull\src

Coordinator
Oct 21, 2012 at 1:51 AM

Did you also upgrade your modules? Seems like Lucene has a version mismatch, at least.

Oct 21, 2012 at 2:34 AM

I have been trying to deal with Lucene as following:

1. I disabled Lucene first, then repeat the previous steps (delete, copy, paste, ...), and got the same error.

2. I check updates, and found no updates.

3. I went ahead to install Lucene 1.41 regardless, but got the following error (it happens even after I granted "everyone" full-control):

Package installation failed.
There was an error installing the requested package. This can happen if the server does not have write access to the '~/Modules' or '~/Themes' folder of the web site. If the site is running in shared hosted environement, adding write access to these folders sometimes needs to be done manually through the Hoster control panel. Once Themes and Modules have been installed, it is recommended to remove write access to these folders.
The remote server returned an error: (404) Not Found.

Could you offer a hint regarding how to handle Lucene in this case?

 

Oct 21, 2012 at 2:45 AM

The entry in the log file is the following after Lucene was disabled:

2012-10-20 18:42:00,210 [21] Orchard.Environment.Extensions.ExtensionManager - Error loading extension 'Orchard.Indexing'
System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.Indexing.Services.IndexingTaskExecutor'. 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 d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\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 d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
2012-10-20 18:42:00,212 [21] Orchard.Environment.DefaultOrchardHost - A tenant could not be started: Default
System.AggregateException: One or more errors occurred. ---> Orchard.OrchardException: Error while loading extension 'Orchard.Indexing'. ---> System.TypeLoadException: Inheritance security rules violated by type: 'Orchard.Indexing.Services.IndexingTaskExecutor'. 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 d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 198
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\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 d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 145
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\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 d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in d:\Builds\OrchardFull\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.ScanEnumerableQue

Oct 21, 2012 at 3:03 AM

I disabled search, Lucene, indexing, then repeated the steps to upgrade.  The entry in the log file is the following:

2012-10-20 19:01:25,039 [26] 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 d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\Loaders\PrecompiledExtensionLoader.cs:line 228
   at Orchard.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 161
   at Orchard.Environment.Extensions.ExtensionManager.<>c__DisplayClass1c.<LoadFeature>b__16(AcquireContext`1 ctx) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 110
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\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 d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 109
   --- End of inner exception stack trace ---
   at Orchard.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in d:\Builds\OrchardFull\src\Orchard\Environment\Extensions\ExtensionManager.cs:line 145
   at Orchard.Caching.Cache`2.CreateEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 57
   at Orchard.Caching.Cache`2.AddEntry(TKey k, Func`2 acquire) in d:\Builds\OrchardFull\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 d:\Builds\OrchardFull\src\Orchard\Caching\Cache.cs:line 17
   at Orchard.Caching.DefaultParallelCacheContext.TaskWithAcquireContext`1.Execute() in d:\Builds\OrchardFull\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 se

Coordinator
Oct 21, 2012 at 3:07 AM

Yes, well you'll need to upgrade all of those modules. You should probably know that nuget files can be cracked open by renaming them .zip. You can then dig in there to find the module's directory that you can simply copy into your Modules directory.

Oct 21, 2012 at 3:16 AM

It is late night here.  I will do them tomorrow and report back.  Thanks a lot for all the prompt responses.  Should I jumpt to 1.5 or upgrade to 1.4 first, then 1.5?

Coordinator
Oct 21, 2012 at 5:22 AM

In principle, 1.5 should work, but lots of people have had more success going through 1.4.

Oct 23, 2012 at 12:25 AM

I have been updating the modules one by one by looking at the logged errors. Now, I have got stuck with the following error for which I can not figure out which module I should update.  Could you offer a tip?

 

2012-10-22 16:21:03,612 [3] Orchard.Tasks.BackgroundService - Error while processing background task
NHibernate.QueryException: could not resolve property: TitlePartRecord of: Orchard.ContentManagement.Records.ContentItemVersionRecord
   at NHibernate.Persister.Entity.AbstractPropertyMapping.ToType(String propertyName)
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator.GetPathInfo(String path)
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator.CreateCriteriaEntityNameMap()
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator..ctor(ISessionFactoryImplementor factory, CriteriaImpl criteria, String rootEntityName, String rootSQLAlias)
   at NHibernate.Loader.Criteria.CriteriaLoader..ctor(IOuterJoinLoadable persister, ISessionFactoryImplementor factory, CriteriaImpl rootCriteria, String rootEntityName, IDictionary`2 enabledFilters)
   at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results)
   at NHibernate.Impl.CriteriaImpl.List(IList results)
   at NHibernate.Impl.CriteriaImpl.List[T]()
   at Orchard.ContentManagement.DefaultContentQuery.ContentQuery`1.Orchard.ContentManagement.IContentQuery<T>.List() in c:\Build\Orchard\src\Orchard\ContentManagement\DefaultContentQuery.cs:line 191
   at Orchard.Blogs.Services.BlogService.Get(VersionOptions versionOptions)
   at Orchard.Blogs.Routing.BlogPathConstraintUpdator.Refresh()
   at Orchard.Tasks.BackgroundService.Sweep() in c:\Build\Orchard\src\Orchard\Tasks\BackgroundService.cs:line 32
2012-10-22 16:21:03,635 [3] NHibernate.AdoNet.AbstractBatcher - Could not execute query: SELECT top 1 this_.Id as Id55_3_, this_.Number as Number55_3_, this_.Published as Published55_3_, this_.Latest as Latest55_3_, this_.Data as Data55_3_, this_.ContentItemRecord_id as ContentI6_55_3_, contentite1_.Id as Id54_0_, contentite1_.Data as Data54_0_, contentite1_.ContentType_id as ContentT3_54_0_, sitesettin4_.Id as Id6_1_, sitesettin4_.SiteSalt as SiteSalt6_1_, sitesettin4_.SiteName as SiteName6_1_, sitesettin4_.SuperUser as SuperUser6_1_, sitesettin4_.PageTitleSeparator as PageTitl5_6_1_, sitesettin4_.HomePage as HomePage6_1_, sitesettin4_.SiteCulture as SiteCult7_6_1_, sitesettin4_.ResourceDebugMode as Resource8_6_1_, sitesettin4_.PageSize as PageSize6_1_, sitesettin4_.SiteTimeZone as SiteTim10_6_1_, contenttyp5_.Id as Id56_2_, contenttyp5_.Name as Name56_2_ FROM Orchard_Framework_ContentItemVersionRecord this_ inner join Orchard_Framework_ContentItemRecord contentite1_ on this_.ContentItemRecord_id=contentite1_.Id left outer join Settings_SiteSettingsPartRecord sitesettin4_ on contentite1_.Id=sitesettin4_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp5_ on contentite1_.ContentType_id=contenttyp5_.Id WHERE contentite1_.Id = @p0 and this_.Published = @p1
System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'SiteTimeZone'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
   at NHibernate.AdoNet.AbstractBatcher.ExecuteReader(IDbCommand cmd)
2012-10-22 16:21:03,637 [3] NHibernate.Util.ADOExceptionReporter - Invalid column name 'SiteTimeZone'.
2012-10-22 16:21:03,637 [3] NHibernate.Util.ADOExceptionReporter - Invalid column name 'SiteTimeZone'.
2012-10-22 16:21:03,637 [3] Orchard.Tasks.BackgroundService - Error while processing background task
NHibernate.ADOException: could not execute query
[ SELECT top 1 this_.Id as Id55_3_, this_.Number as Number55_3_, this_.Published as Published55_3_, this_.Latest as Latest55_3_, this_.Data as Data55_3_, this_.ContentItemRecord_id as ContentI6_55_3_, contentite1_.Id as Id54_0_, contentite1_.Data as Data54_0_, contentite1_.ContentType_id as ContentT3_54_0_, sitesettin4_.Id as Id6_1_, sitesettin4_.SiteSalt as SiteSalt6_1_, sitesettin4_.SiteName as SiteName6_1_, sitesettin4_.SuperUser as SuperUser6_1_, sitesettin4_.PageTitleSeparator as PageTitl5_6_1_, sitesettin4_.HomePage as HomePage6_1_, sitesettin4_.SiteCulture as SiteCult7_6_1_, sitesettin4_.ResourceDebugMode as Resource8_6_1_, sitesettin4_.PageSize as PageSize6_1_, sitesettin4_.SiteTimeZone as SiteTim10_6_1_, contenttyp5_.Id as Id56_2_, contenttyp5_.Name as Name56_2_ FROM Orchard_Framework_ContentItemVersionRecord this_ inner join Orchard_Framework_ContentItemRecord contentite1_ on this_.ContentItemRecord_id=contentite1_.Id left outer join Settings_SiteSettingsPartRecord sitesettin4_ on contentite1_.Id=sitesettin4_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp5_ on contentite1_.ContentType_id=contenttyp5_.Id WHERE contentite1_.Id = @p0 and this_.Published = @p1 ]
Positional parameters:  #0>1 #1>True
[SQL: SELECT top 1 this_.Id as Id55_3_, this_.Number as Number55_3_, this_.Published as Published55_3_, this_.Latest as Latest55_3_, this_.Data as Data55_3_, this_.ContentItemRecord_id as ContentI6_55_3_, contentite1_.Id as Id54_0_, contentite1_.Data as Data54_0_, contentite1_.ContentType_id as ContentT3_54_0_, sitesettin4_.Id as Id6_1_, sitesettin4_.SiteSalt as SiteSalt6_1_, sitesettin4_.SiteName as SiteName6_1_, sitesettin4_.SuperUser as SuperUser6_1_, sitesettin4_.PageTitleSeparator as PageTitl5_6_1_, sitesettin4_.HomePage as HomePage6_1_, sitesettin4_.SiteCulture as SiteCult7_6_1_, sitesettin4_.ResourceDebugMode as Resource8_6_1_, sitesettin4_.PageSize as PageSize6_1_, sitesettin4_.SiteTimeZone as SiteTim10_6_1_, contenttyp5_.Id as Id56_2_, contenttyp5_.Name as Name56_2_ FROM Orchard_Framework_ContentItemVersionRecord this_ inner join Orchard_Framework_ContentItemRecord contentite1_ on this_.ContentItemRecord_id=contentite1_.Id left outer join Settings_SiteSettingsPartRecord sitesettin4_ on contentite1_.Id=sitesettin4_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp5_ on contentite1_.ContentType_id=contenttyp5_.Id WHERE contentite1_.Id = @p0 and this_.Published = @p1] ---> System.Data.SqlClient.SqlException: Invalid column name 'SiteTimeZone'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
   at NHibernate.AdoNet.AbstractBatcher.ExecuteReader(IDbCommand cmd)
   at NHibernate.Loader.Loader.GetResultSet(IDbCommand st, Boolean autoDiscoverTypes, Boolean callable, RowSelection selection, ISessionImplementor session)
   at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies)
   at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies)
   at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters)
   --- End of inner exception stack trace ---
   at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters)
   at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters)
   at NHibernate.Loader.Criteria.CriteriaLoader.List(ISessionImplementor session)
   at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results)
   at NHibernate.Impl.CriteriaImpl.List(IList results)
   at NHibernate.Impl.CriteriaImpl.List[T]()
   at Orchard.ContentManagement.DefaultContentManager.GetManyImplementation(QueryHints hints, Action`2 predicate) in c:\Build\Orchard\src\Orchard\ContentManagement\DefaultContentManager.cs:line 328
   at Orchard.ContentManagement.DefaultContentManager.Get(Int32 id, VersionOptions options, QueryHints hints) in c:\Build\Orchard\src\Orchard\ContentManagement\DefaultContentManager.cs:line 140
   at Orchard.ContentManagement.ContentGetExtensions.Get[T](IContentManager manager, Int32 id, VersionOptions options, QueryHints hints) in c:\Build\Orchard\src\Orchard\ContentManagement\ContentExtensions.cs:line 160
   at Orchard.Core.Settings.Services.SiteService.GetSiteSettings() in c:\Build\Orchard\src\Orchard.Web\Core\Settings\Services\SiteService.cs:line 46
   at Orchard.Settings.CurrentSiteWorkContext.Get[T](String name) in c:\Build\Orchard\src\Orchard\Settings\CurrentSiteWorkContext.cs:line 13
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at Orchard.Environment.WorkContextImplementation.FindResolverForState[T](String name) in c:\Build\Orchard\src\Orchard\Environment\WorkContextImplementation.cs:line 32
   at System.Collections

Coordinator
Oct 23, 2012 at 5:29 AM

I think you should now be able to reach /admin and run the update as instructed in the release notes.

Oct 23, 2012 at 11:32 AM

I got the following error when browsing /admin:

Invalid column name 'SiteTimeZone'.

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.Data.SqlClient.SqlException: Invalid column name 'SiteTimeZone'.

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:

[SqlException (0x80131904): Invalid column name 'SiteTimeZone'.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +404
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +412
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1363
   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +59
   System.Data.SqlClient.SqlDataReader.get_MetaData() +118
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6387937
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6389506
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +538
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +28
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +256
   System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +19
   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() +23
   NHibernate.AdoNet.AbstractBatcher.ExecuteReader(IDbCommand cmd) +791
   NHibernate.Loader.Loader.GetResultSet(IDbCommand st, Boolean autoDiscoverTypes, Boolean callable, RowSelection selection, ISessionImplementor session) +556
   NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +274
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +114
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +195

[ADOException: could not execute query
[ SELECT top 1 this_.Id as Id55_3_, this_.Number as Number55_3_, this_.Published as Published55_3_, this_.Latest as Latest55_3_, this_.Data as Data55_3_, this_.ContentItemRecord_id as ContentI6_55_3_, contentite1_.Id as Id54_0_, contentite1_.Data as Data54_0_, contentite1_.ContentType_id as ContentT3_54_0_, sitesettin4_.Id as Id6_1_, sitesettin4_.SiteSalt as SiteSalt6_1_, sitesettin4_.SiteName as SiteName6_1_, sitesettin4_.SuperUser as SuperUser6_1_, sitesettin4_.PageTitleSeparator as PageTitl5_6_1_, sitesettin4_.HomePage as HomePage6_1_, sitesettin4_.SiteCulture as SiteCult7_6_1_, sitesettin4_.ResourceDebugMode as Resource8_6_1_, sitesettin4_.PageSize as PageSize6_1_, sitesettin4_.SiteTimeZone as SiteTim10_6_1_, contenttyp5_.Id as Id56_2_, contenttyp5_.Name as Name56_2_ FROM Orchard_Framework_ContentItemVersionRecord this_ inner join Orchard_Framework_ContentItemRecord contentite1_ on this_.ContentItemRecord_id=contentite1_.Id left outer join Settings_SiteSettingsPartRecord sitesettin4_ on contentite1_.Id=sitesettin4_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp5_ on contentite1_.ContentType_id=contenttyp5_.Id WHERE contentite1_.Id = @p0 and this_.Published = @p1 ]
Positional parameters:  #0>1 #1>True
[SQL: SELECT top 1 this_.Id as Id55_3_, this_.Number as Number55_3_, this_.Published as Published55_3_, this_.Latest as Latest55_3_, this_.Data as Data55_3_, this_.ContentItemRecord_id as ContentI6_55_3_, contentite1_.Id as Id54_0_, contentite1_.Data as Data54_0_, contentite1_.ContentType_id as ContentT3_54_0_, sitesettin4_.Id as Id6_1_, sitesettin4_.SiteSalt as SiteSalt6_1_, sitesettin4_.SiteName as SiteName6_1_, sitesettin4_.SuperUser as SuperUser6_1_, sitesettin4_.PageTitleSeparator as PageTitl5_6_1_, sitesettin4_.HomePage as HomePage6_1_, sitesettin4_.SiteCulture as SiteCult7_6_1_, sitesettin4_.ResourceDebugMode as Resource8_6_1_, sitesettin4_.PageSize as PageSize6_1_, sitesettin4_.SiteTimeZone as SiteTim10_6_1_, contenttyp5_.Id as Id56_2_, contenttyp5_.Name as Name56_2_ FROM Orchard_Framework_ContentItemVersionRecord this_ inner join Orchard_Framework_ContentItemRecord contentite1_ on this_.ContentItemRecord_id=contentite1_.Id left outer join Settings_SiteSettingsPartRecord sitesettin4_ on contentite1_.Id=sitesettin4_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp5_ on contentite1_.ContentType_id=contenttyp5_.Id WHERE contentite1_.Id = @p0 and this_.Published = @p1]]
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +637
   NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) +23
   NHibernate.Loader.Criteria.CriteriaLoader.List(ISessionImplementor session) +60
   NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) +1025
   NHibernate.Impl.CriteriaImpl.List(IList results) +63
   NHibernate.Impl.CriteriaImpl.List() +79
   Orchard.ContentManagement.DefaultContentManager.GetManyImplementation(QueryHints hints, Action`2 predicate) in c:\Build\Orchard\src\Orchard\ContentManagement\DefaultContentManager.cs:328
   Orchard.ContentManagement.DefaultContentManager.Get(Int32 id, VersionOptions options, QueryHints hints) in c:\Build\Orchard\src\Orchard\ContentManagement\DefaultContentManager.cs:140
   Orchard.ContentManagement.ContentGetExtensions.Get(IContentManager manager, Int32 id, VersionOptions options, QueryHints hints) in c:\Build\Orchard\src\Orchard\ContentManagement\ContentExtensions.cs:160
   Orchard.Core.Settings.Services.SiteService.GetSiteSettings() in c:\Build\Orchard\src\Orchard.Web\Core\Settings\Services\SiteService.cs:46
   Orchard.Settings.CurrentSiteWorkContext.Get(String name) in c:\Build\Orchard\src\Orchard\Settings\CurrentSiteWorkContext.cs:13
   System.Linq.WhereSelectArrayIterator`2.MoveNext() +110
   System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source, Func`2 predicate) +200
   Orchard.Environment.WorkContextImplementation.FindResolverForState(String name) in c:\Build\Orchard\src\Orchard\Environment\WorkContextImplementation.cs:32
   System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +83
   Orchard.Environment.WorkContextImplementation.GetState(String name) in c:\Build\Orchard\src\Orchard\Environment\WorkContextImplementation.cs:28
   Orchard.Localization.Services.SiteCultureSelector.GetCulture(HttpContextBase context) in c:\Build\Orchard\src\Orchard\Localization\Services\SiteCultureSelector.cs:13
   System.Linq.WhereSelectArrayIterator`2.MoveNext() +110
   System.Linq.WhereEnumerableIterator`1.MoveNext() +196
   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +488
   System.Linq.<GetEnumerator>d__0.MoveNext() +146
   System.Linq.Enumerable.Count(IEnumerable`1 source) +267
   Orchard.Localization.Services.DefaultCultureManager.GetCurrentCulture(HttpContextBase requestContext) in c:\Build\Orchard\src\Orchard\Localization\Services\DefaultCultureManager.cs:58
   Orchard.Localization.Services.CurrentCultureWorkContext.<Get>b__0(WorkContext ctx) in c:\Build\Orchard\src\Orchard\Localization\Services\CurrentCultureWorkContext.cs:13
   Orchard.Environment.<>c__DisplayClass7`1.<FindResolverForState>b__5() in c:\Build\Orchard\src\Orchard\Environment\WorkContextImplementation.cs:37
   Orchard.Environment.WorkContextImplementation.GetState(String name) in c:\Build\Orchard\src\Orchard\Environment\WorkContextImplementation.cs:28
   Orchard.Localization.Text.Get(String textHint, Object[] args) in c:\Build\Orchard\src\Orchard\Localization\Text.cs:29
   Orchard.UI.Admin.AdminFilter.OnAuthorization(AuthorizationContext filterContext) in c:\Build\Orchard\src\Orchard\UI\Admin\AdminFilter.cs:23
   System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor) +156
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +825488
   System.Web.Mvc.Controller.ExecuteCore() +159
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +335
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +20
   System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +54
   Orchard.Mvc.Routes.HttpAsyncHandler.EndProcessRequest(IAsyncResult result) in c:\Build\Orchard\src\Orchard\Mvc\Routes\ShellRoute.cs:147
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375

 

 

Oct 23, 2012 at 11:46 AM

Progress!

I followed the fix of wzowee by doing the following:

Manually Add SiteTimeZone Column to Settings_SiteSettingsPartRecord

Manually Add RenderTitle and Name Columns to Orchard_Widgets_WidgetPartRecord

Now, I can enter /admin.

Oct 23, 2012 at 11:57 AM

I see the following:

Some features need to be upgraded: Navigation, Orchard.Blogs

When I upgrade them, I get the following:

An error occured while updating the feature Navigation: Exception has been thrown by the target of an invocation.

I am trying to manually update these modules, but unable to find them in the gallery.

Any tip?

Oct 23, 2012 at 12:03 PM

The corresponding entry in the log is the following:

2012-10-23 04:00:28,362 [19] Orchard.Tasks.BackgroundService - Error while processing background task
NHibernate.QueryException: could not resolve property: TitlePartRecord of: Orchard.ContentManagement.Records.ContentItemVersionRecord
   at NHibernate.Persister.Entity.AbstractPropertyMapping.ToType(String propertyName)
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator.GetPathInfo(String path)
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator.CreateCriteriaEntityNameMap()
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator..ctor(ISessionFactoryImplementor factory, CriteriaImpl criteria, String rootEntityName, String rootSQLAlias)
   at NHibernate.Loader.Criteria.CriteriaLoader..ctor(IOuterJoinLoadable persister, ISessionFactoryImplementor factory, CriteriaImpl rootCriteria, String rootEntityName, IDictionary`2 enabledFilters)
   at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results)
   at NHibernate.Impl.CriteriaImpl.List(IList results)
   at NHibernate.Impl.CriteriaImpl.List[T]()
   at Orchard.ContentManagement.DefaultContentQuery.ContentQuery`1.Orchard.ContentManagement.IContentQuery<T>.List() in c:\Build\Orchard\src\Orchard\ContentManagement\DefaultContentQuery.cs:line 191
   at Orchard.Blogs.Services.BlogService.Get(VersionOptions versionOptions)
   at Orchard.Blogs.Routing.BlogPathConstraintUpdator.Refresh()
   at Orchard.Tasks.BackgroundService.Sweep() in c:\Build\Orchard\src\Orchard\Tasks\BackgroundService.cs:line 32
2012-10-23 04:00:53,602 [22] Orchard.Data.Migration.DataMigrationManager - An unexpected error orccured while applying migration on Navigation from version 2
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlClient.SqlException: There is already an object named 'Navigation_MenuWidgetPartRecord' in the database.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Orchard.Data.Migration.Interpreters.DefaultDataMigrationInterpreter.RunPendingStatements() in c:\Build\Orchard\src\Orchard\Data\Migration\Interpreters\DefaultDataMigrationInterpreter.cs:line 347
   at Orchard.Data.Migration.Interpreters.DefaultDataMigrationInterpreter.Visit(CreateTableCommand command) in c:\Build\Orchard\src\Orchard\Data\Migration\Interpreters\DefaultDataMigrationInterpreter.cs:line 94
   at Orchard.Core.Navigation.Migrations.UpdateFrom2() in c:\Build\Orchard\src\Orchard.Web\Core\Navigation\Migrations.cs:line 142
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Orchard.Data.Migration.DataMigrationManager.Update(String feature) in c:\Build\Orchard\src\Orchard\Data\Migration\DataMigrationManager.cs:line 105
2012-10-23 04:00:53,856 [19] Orchard.UI.Navigation.NavigationManager - Unexpected error while querying a navigation provider. It was ignored. The menu provided by the provider may not be complete.
NHibernate.QueryException: could not resolve property: TitlePartRecord of: Orchard.ContentManagement.Records.ContentItemVersionRecord
   at NHibernate.Persister.Entity.AbstractPropertyMapping.ToType(String propertyName)
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator.GetPathInfo(String path)
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator.CreateCriteriaEntityNameMap()
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator..ctor(ISessionFactoryImplementor factory, CriteriaImpl criteria, String rootEntityName, String rootSQLAlias)
   at NHibernate.Loader.Criteria.CriteriaLoader..ctor(IOuterJoinLoadable persister, ISessionFactoryImplementor factory, CriteriaImpl rootCriteria, String rootEntityName, IDictionary`2 enabledFilters)
   at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results)
   at NHibernate.Impl.CriteriaImpl.List(IList results)
   at NHibernate.Impl.CriteriaImpl.List[T]()
   at Orchard.ContentManagement.DefaultContentQuery.ContentQuery`1.Orchard.ContentManagement.IContentQuery<T>.List() in c:\Build\Orchard\src\Orchard\ContentManagement\DefaultContentQuery.cs:line 191
   at Orchard.Blogs.Services.BlogService.Get(VersionOptions versionOptions)
   at Orchard.Blogs.AdminMenu.BuildMenu(NavigationItemBuilder menu)
   at Orchard.UI.Navigation.NavigationBuilder.Add(LocalizedString caption, String position, Action`1 itemBuilder, IEnumerable`1 classes) in c:\Build\Orchard\src\Orchard\UI\Navigation\NavigationBuilder.cs:line 20
   at Orchard.Blogs.AdminMenu.GetNavigation(NavigationBuilder builder)
   at Orchard.UI.Navigation.NavigationManager.<GetSources>d__d.MoveNext() in c:\Build\Orchard\src\Orchard\UI\Navigation\NavigationManager.cs:line 126
2012-10-23 04:00:54,162 [19] Orchard.UI.Navigation.NavigationManager - Unexpected error while querying a navigation provider. It was ignored. The menu provided by the provider may not be complete.
NHibernate.QueryException: could not resolve property: TitlePartRecord of: Orchard.ContentManagement.Records.ContentItemVersionRecord
   at NHibernate.Persister.Entity.AbstractPropertyMapping.ToType(String propertyName)
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator.GetPathInfo(String path)
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator.CreateCriteriaEntityNameMap()
   at NHibernate.Loader.Criteria.CriteriaQueryTranslator..ctor(ISessionFactoryImplementor factory, CriteriaImpl criteria, String rootEntityName, String rootSQLAlias)
   at NHibernate.Loader.Criteria.CriteriaLoader..ctor(IOuterJoinLoadable persister, ISessionFactoryImplementor factory, CriteriaImpl rootCriteria, String rootEntityName, IDictionary`2 enabledFilters)
   at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results)
   at NHibernate.Impl.CriteriaImpl.List(IList results)
   at NHibernate.Impl.CriteriaImpl.List[T]()
   at Orchard.ContentManagement.DefaultContentQuery.ContentQuery`1.Orchard.ContentManagement.IContentQuery<T>.List() in c:\Build\Orchard\src\Orchard\ContentManagement\DefaultContentQuery.cs:line 191
   at Orchard.Blogs.Services.BlogService.Get(VersionOptions versionOptions)
   at Orchard.Blogs.AdminMenu.BuildMenu(NavigationItemBuilder menu)
   at Orchard.UI.Navigation.NavigationBuilder.Add(LocalizedString caption, String position, Action`1 itemBuilder, IEnumerable`1 classes) in c:\Build\Orchard\src\Orchard\UI\Navigation\NavigationBuilder.cs:line 20
   at Orchard.Blogs.AdminMenu.GetNavigation(NavigationBuilder builder)
   at Orchard.UI.Navigation.NavigationManager.<GetImageSets>d__1d.MoveNext() in c:\Build\Orchard\src\Orchard\UI\Navi

Oct 25, 2012 at 5:31 PM

The menu has been lost after changing the database.  

I am back to square one. 

Oct 25, 2012 at 5:40 PM

Menu in 1.5 is now a Widget..u need to add the menu widget in the navigation zone.

Oct 25, 2012 at 6:05 PM

My situation is a bit complicated. Maybe I am taking a shortcut that I should not do.

MY current instance is 1.3.  I created another instance based on the current one and upgraded to 1.5 as described in the above posts.   However, both instances use the same SQL database.  When I modified the database to accommodate the 1.5 one, the 1.3 lost the menu.

Fortunately, the database is backed up everyday, so I restored the database from a backup.  Now everything of the 1.3 appears to be fine now. 

Now, I am back to square one for upgrading after struggling for a week.

Oct 25, 2012 at 6:19 PM

What type of Menu are u using?

Advanced Menu module or the normal ones....if the normal ones then after u have done upgrading to Orchard CMS V1.5.1..u may need to go to Widgets..and add a new Menu Widget in the Navigations Zone...u need to manually turn on the Menu widget....

Your current instance is 1.3...after u upgrade to 1.5.1..new migrations will run and their versions will be incremented.....u can do the upgradation on ur local server and then upload the latest database with new migrations..to ur hosting server as well as upload the Orchard.Web folder to the server.

Oct 25, 2012 at 7:37 PM

I believe the menu is the normal one.

The shortcut I am taking is using the same database.  In other words, I created a new web app of Orchard 1.51 and let it share the same database as used by the current running Orchard 1.3.  Is this a bad idea?

Coordinator
Oct 26, 2012 at 1:49 AM

Very, very bad idea, yes.

Oct 26, 2012 at 6:03 AM
zipswich wrote:

I believe the menu is the normal one.

The shortcut I am taking is using the same database.  In other words, I created a new web app of Orchard 1.51 and let it share the same database as used by the current running Orchard 1.3.  Is this a bad idea?


It would be better if u follow the Upgrade step given in the orchardcms project site. I did an upgrade from V1.3.10 to V1.5.1 n it took me 20Mins including uploadin it to the hosting server and kaboom i was back online...just be careful with the schema error. I also faced the schema issue.

http://www.codeabstract.com/yaf_postst61_Invalid-object-name--schema-Settings-ShellDescriptorRecord.aspx

Happy Orcharding