Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • James 1 post 21 karma points
    Apr 25, 2012 @ 01:13
    James
    0

    Could not create mapping group

    Hello all,
    After entering database details and trying to continue we get the following error:

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

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Could not create mapping group 'default'. Errors:
    Writers:
    Key: nhibernate, Error: Autofac.Core.DependencyResolutionException: An exception was thrown while executing a resolve operation. See the InnerException for details. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: bootstrapper
      at Umbraco.Hive.ProviderSetup..ctor(ProviderMetadata providerMetadata, IFrameworkContext frameworkContext, AbstractProviderBootstrapper bootstrapper, Int32 priorityOrdinal)
      at Umbraco.Hive.DemandBuilders.HiveDemandBuilder.<>c__DisplayClass28.<Build>b__e(IResolutionContext x)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacContainerBuilder.<>c__DisplayClass1`1.<ForFactory>b__0(IComponentContext x)
      at Autofac.RegistrationExtensions.<>c__DisplayClass10`1.<Register>b__f(IComponentContext c, IEnumerable`1 p)
      at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
      at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
      at Autofac.Core.Resolving.InstanceLookup.Execute()
      at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      --- End of inner exception stack trace ---
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
      at Autofac.ResolutionExtensions.ResolveNamed[TService](IComponentContext context, String serviceName, IEnumerable`1 parameters)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacResolutionContext.TryResolve[T](String name)

    Readers:
    Key: nhibernate, Error: System.InvalidOperationException: Could not resolve a writer or a reader for key nhibernate.
    Reader error: Autofac.Core.DependencyResolutionException: An exception was thrown while executing a resolve operation. See the InnerException for details. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: bootstrapper
      at Umbraco.Hive.ReadonlyProviderSetup..ctor(ProviderMetadata providerMetadata, IFrameworkContext frameworkContext, AbstractProviderBootstrapper bootstrapper, Int32 priorityOrdinal)
      at Umbraco.Hive.DemandBuilders.HiveDemandBuilder.<>c__DisplayClass2a.<Build>b__f(IResolutionContext x)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacContainerBuilder.<>c__DisplayClass1`1.<ForFactory>b__0(IComponentContext x)
      at Autofac.RegistrationExtensions.<>c__DisplayClass10`1.<Register>b__f(IComponentContext c, IEnumerable`1 p)
      at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
      at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
      at Autofac.Core.Resolving.InstanceLookup.Execute()
      at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      --- End of inner exception stack trace ---
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
      at Autofac.ResolutionExtensions.ResolveNamed[TService](IComponentContext context, String serviceName, IEnumerable`1 parameters)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacResolutionContext.TryResolve[T](String name).
    Writer error: Autofac.Core.DependencyResolutionException: An exception was thrown while executing a resolve operation. See the InnerException for details. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: bootstrapper
      at Umbraco.Hive.ProviderSetup..ctor(ProviderMetadata providerMetadata, IFrameworkContext frameworkContext, AbstractProviderBootstrapper bootstrapper, Int32 priorityOrdinal)
      at Umbraco.Hive.DemandBuilders.HiveDemandBuilder.<>c__DisplayClass28.<Build>b__e(IResolutionContext x)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacContainerBuilder.<>c__DisplayClass1`1.<ForFactory>b__0(IComponentContext x)
      at Autofac.RegistrationExtensions.<>c__DisplayClass10`1.<Register>b__f(IComponentContext c, IEnumerable`1 p)
      at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
      at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
      at Autofac.Core.Resolving.InstanceLookup.Execute()
      at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      --- End of inner exception stack trace ---
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
      at Autofac.ResolutionExtensions.ResolveNamed[TService](IComponentContext context, String serviceName, IEnumerable`1 parameters)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacResolutionContext.TryResolve[T](String name)

    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.InvalidOperationException: Could not create mapping group 'default'. Errors:
    Writers:
    Key: nhibernate, Error: Autofac.Core.DependencyResolutionException: An exception was thrown while executing a resolve operation. See the InnerException for details. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: bootstrapper
      at Umbraco.Hive.ProviderSetup..ctor(ProviderMetadata providerMetadata, IFrameworkContext frameworkContext, AbstractProviderBootstrapper bootstrapper, Int32 priorityOrdinal)
      at Umbraco.Hive.DemandBuilders.HiveDemandBuilder.<>c__DisplayClass28.<Build>b__e(IResolutionContext x)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacContainerBuilder.<>c__DisplayClass1`1.<ForFactory>b__0(IComponentContext x)
      at Autofac.RegistrationExtensions.<>c__DisplayClass10`1.<Register>b__f(IComponentContext c, IEnumerable`1 p)
      at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
      at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
      at Autofac.Core.Resolving.InstanceLookup.Execute()
      at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      --- End of inner exception stack trace ---
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
      at Autofac.ResolutionExtensions.ResolveNamed[TService](IComponentContext context, String serviceName, IEnumerable`1 parameters)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacResolutionContext.TryResolve[T](String name)

    Readers:
    Key: nhibernate, Error: System.InvalidOperationException: Could not resolve a writer or a reader for key nhibernate.
    Reader error: Autofac.Core.DependencyResolutionException: An exception was thrown while executing a resolve operation. See the InnerException for details. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: bootstrapper
      at Umbraco.Hive.ReadonlyProviderSetup..ctor(ProviderMetadata providerMetadata, IFrameworkContext frameworkContext, AbstractProviderBootstrapper bootstrapper, Int32 priorityOrdinal)
      at Umbraco.Hive.DemandBuilders.HiveDemandBuilder.<>c__DisplayClass2a.<Build>b__f(IResolutionContext x)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacContainerBuilder.<>c__DisplayClass1`1.<ForFactory>b__0(IComponentContext x)
      at Autofac.RegistrationExtensions.<>c__DisplayClass10`1.<Register>b__f(IComponentContext c, IEnumerable`1 p)
      at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
      at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
      at Autofac.Core.Resolving.InstanceLookup.Execute()
      at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      --- End of inner exception stack trace ---
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
      at Autofac.ResolutionExtensions.ResolveNamed[TService](IComponentContext context, String serviceName, IEnumerable`1 parameters)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacResolutionContext.TryResolve[T](String name).
    Writer error: Autofac.Core.DependencyResolutionException: An exception was thrown while executing a resolve operation. See the InnerException for details. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: bootstrapper
      at Umbraco.Hive.ProviderSetup..ctor(ProviderMetadata providerMetadata, IFrameworkContext frameworkContext, AbstractProviderBootstrapper bootstrapper, Int32 priorityOrdinal)
      at Umbraco.Hive.DemandBuilders.HiveDemandBuilder.<>c__DisplayClass28.<Build>b__e(IResolutionContext x)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacContainerBuilder.<>c__DisplayClass1`1.<ForFactory>b__0(IComponentContext x)
      at Autofac.RegistrationExtensions.<>c__DisplayClass10`1.<Register>b__f(IComponentContext c, IEnumerable`1 p)
      at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
      at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
      at Autofac.Core.Resolving.InstanceLookup.Execute()
      at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      --- End of inner exception stack trace ---
      at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
      at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
      at Autofac.ResolutionExtensions.ResolveNamed[TService](IComponentContext context, String serviceName, IEnumerable`1 parameters)
      at Umbraco.Framework.DependencyManagement.Autofac.AutofacResolutionContext.TryResolve[T](String name)

    ------

    Running Windows 2008 R2.
    MVC 3 is installed.
    Site is running under 4.0 classic application pool (tried integrated as well).
    Database is on dedicated MS SQL 2008 and is working fine.
    c:\windows\temp has correct permissions.

    What is causing this error please?
    Thanks for any feedback.

     

Please Sign in or register to post replies

Write your reply to:

Draft