OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

setup /EnabledFeatures throws an exception (Orchard Command Intrepreter) #990

Open orchardbot opened 13 years ago

orchardbot commented 13 years ago

JonnyBoats created: https://orchard.codeplex.com/workitem/17158

orchard> setup /EnabledFeatures Error: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Ob ject target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAt tributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Obj ect target, Object[] arguments, Signature sig, MethodAttributes methodAttributes , RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke Attr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisib ilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke Attr, Binder binder, Object[] parameters, CultureInfo culture) at Orchard.Commands.DefaultOrchardCommandHandler.Invoke(CommandContext contex t) in c:\Projects\Orchard\src\Orchard\Commands\DefaultOrchardCommandHandler.cs:l ine 64 at Orchard.Commands.CommandHostAgent.RunCommand(TextReader input, TextWriter output, String tenant, String[] args, Dictionary`2 switches) in c:\Projects\Orch

ard\src\Orchard\Commands\CommandHostAgent.cs:line 100

Error: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, O bject[] args, SignatureStruct& signature, RuntimeType declaringType) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B inder binder, Object[] parameters, CultureInfo culture) at System.Reflection.ConstructorInfo.Invoke(Object[] parameters) at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IC omponentContext context, IEnumerable1 parameters) at Autofac.Core.Resolving.ComponentActivation.Activate(IEnumerable1 paramete rs) at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 cr eator) at Autofac.Core.Resolving.ComponentActivation.Execute(IEnumerable1 parameter s) at Autofac.Core.Resolving.ResolveOperation.Resolve(ISharingLifetimeScope acti vationScope, IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass11.b__0 (IComponentContext c, IEnumerable1 p) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(ICompo nentContext context, IEnumerable1 parameters) at Autofac.Core.Resolving.ComponentActivation.Activate(IEnumerable1 paramete rs) at Autofac.Core.Resolving.ComponentActivation.Execute(IEnumerable1 parameter s) at Autofac.Core.Resolving.ResolveOperation.Resolve(ISharingLifetimeScope acti vationScope, IComponentRegistration registration, IEnumerable1 parameters) at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Service se rvice, IEnumerable1 parameters) at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters) at Orchard.Setup.Services.SetupService.Setup(SetupContext context)

at Orchard.Setup.Commands.SetupCommand.Setup()

Error: The method or operation is not implemented. at Orchard.Data.Providers.SqlServerDataServicesProvider.GetPersistenceConfigu rer(Boolean createDatabase) in c:\Projects\Orchard\src\Orchard\Data\Providers\Sq lServerDataServicesProvider.cs:line 21 at Orchard.Data.Providers.AbstractDataServicesProvider.BuildConfiguration(Ses sionFactoryParameters parameters) in c:\Projects\Orchard\src\Orchard\Data\Provid ers\AbstractDataServicesProvider.cs:line 23 at Orchard.Data.SessionConfigurationCache.GetConfiguration(Func1 builder) in c:\Projects\Orchard\src\Orchard\Data\SessionConfigurationCache.cs:line 39 at Orchard.Data.SessionFactoryHolder.GetConfiguration() in c:\Projects\Orchar d\src\Orchard\Data\SessionFactoryHolder.cs:line 59 at Orchard.Data.SessionFactoryHolder.GetSessionFactory() in c:\Projects\Orcha rd\src\Orchard\Data\SessionFactoryHolder.cs:line 51 at Orchard.Data.SessionLocator.For(Type entityType) in c:\Projects\Orchard\sr c\Orchard\Data\SessionLocator.cs:line 31 at Orchard.Data.Migration.Interpreters.DefaultDataMigrationInterpreter..ctor( ShellSettings shellSettings, ISessionLocator sessionLocator, IEnumerable1 comma ndInterpreters, ISessionFactoryHolder sessionFactoryHolder, IReportsCoordinator reportsCoordinator) in c:\Projects\Orchard\src\Orchard\Data\Migration\Interprete rs\DefaultDataMigrationInterpreter.cs:line 36

orchard>

orchardbot commented 13 years ago

JonnyBoats commented:

This is a report against the release version (1.0.20)