3 Replies Latest reply on Sep 25, 2015 10:22 AM by Tim Szekely

    Fiber manager Upgrade -Activation error occured while trying to get instance of type ICircuitFinderFactory, key ""

    Tomaso Bertoli

      what did I do wrong ?

       

      a Minerville.MDB used to work with Fiber Manager 10 but after a recent upgrade to 10.2.1b this error occurs when tring to ope Connecction Manager

       

      2015-09-23 11:07:53,060 [1] ERROR Miner.Desktop.FiberManager.ConnectionManager [(null)] - Microsoft.Practices.ServiceLocation.ActivationException: Activation error occured while trying to get instance of type ICircuitFinderFactory, key "" ---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "Miner.Framework.FiberManager.ICircuitFinderFactory", name = "". Exception message is: The current build operation (build key Build Key[Miner.Framework.FiberManager.CircuitFinderFactory, null]) failed: The parameter circuitTableRepo could not be resolved when attempting to call constructor Miner.Framework.FiberManager.CircuitFinderFactory(Miner.Framework.FiberManager.DataAccess.CircuitTableRepository circuitTableRepo, Miner.Framework.FiberManager.DataAccess.CircuitComponentsTableRepository circuitCompsTableRepo). (Strategy type BuildPlanStrategy, index 3) ---> Microsoft.Practices.ObjectBuilder2.BuildFailedException: The current build operation (build key Build Key[Miner.Framework.FiberManager.CircuitFinderFactory, null]) failed: The parameter circuitTableRepo could not be resolved when attempting to call constructor Miner.Framework.FiberManager.CircuitFinderFactory(Miner.Framework.FiberManager.DataAccess.CircuitTableRepository circuitTableRepo, Miner.Framework.FiberManager.DataAccess.CircuitComponentsTableRepository circuitCompsTableRepo). (Strategy type BuildPlanStrategy, index 3) ---> System.InvalidOperationException: The parameter circuitTableRepo could not be resolved when attempting to call constructor Miner.Framework.FiberManager.CircuitFinderFactory(Miner.Framework.FiberManager.DataAccess.CircuitTableRepository circuitTableRepo, Miner.Framework.FiberManager.DataAccess.CircuitComponentsTableRepository circuitCompsTableRepo). ---> Microsoft.Practices.ObjectBuilder2.BuildFailedException: The current build operation (build key Build Key[Miner.Framework.FiberManager.DataAccess.CircuitTableRepository, null]) failed: Object reference not set to an instance of an object. (Strategy type BuildPlanStrategy, index 3) ---> System.NullReferenceException: Object reference not set to an instance of an object.

         at Miner.Framework.FiberManager.RowConvertor.GetFieldNameFromModelName(IObjectClass objectClass, String modelName)

         at Miner.Framework.FiberManager.RowConvertor.GetFieldNameFromModelName(ITable table, String name)

         at Miner.Framework.FiberManager.DataAccess.FiberTableRepository.GetFieldDomain(ModelName modelName)

         at Miner.Framework.FiberManager.DataAccess.CircuitTableRepository..ctor(ITable table, RowConvertor rowConvertor)

         at BuildUp_Miner.Framework.FiberManager.DataAccess.CircuitTableRepository(IBuilderContext )

         at Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)

         at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)

         at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)

         --- End of inner exception stack trace ---

         at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)

         at Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context)

         at BuildUp_Miner.Framework.FiberManager.CircuitFinderFactory(IBuilderContext )

         --- End of inner exception stack trace ---

         at Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForResolutionFailed(Exception inner, String parameterName, String constructorSignature, IBuilderContext context)

         at BuildUp_Miner.Framework.FiberManager.CircuitFinderFactory(IBuilderContext )

         at Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)

         at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)

         at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)

         --- End of inner exception stack trace ---

         at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)

         at Microsoft.Practices.ObjectBuilder2.Builder.BuildUp(IReadWriteLocator locator, ILifetimeContainer lifetime, IPolicyList policies, IStrategyChain strategies, Object buildKey, Object existing)

         at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name)

         --- End of inner exception stack trace ---

         at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name)

         at Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name)

         at Miner.Composition.UnityContainerLocator.DoGetInstance(Type serviceType, String key)

         at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)

         --- End of inner exception stack trace ---

         at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)

         at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService]()

         at Miner.Desktop.FiberManager.ConnectionManager.ShowConnectionManager(IFeature feature)

         at Miner.Desktop.FiberManager.ConnectionManager.OnMouseDown(Int32 Button, Int32 Shift, Int32 X, Int32 Y)

      {log4net:HostName=vmgeowebiis, log4net:UserName=DDSERVICE\a2tb0088, LoggingAssemblyFileVersion=10.21.20.1854, log4net:Identity=}