Can not start S#.Designer
Atom Reply
6/9/2020


Hi,
I have downloaded and installed S#.Designer, but can not start it.

Thank you in advance

Log:
19:37:56.183|Error |S#.Designer|System.Windows.Markup.XamlParseException: Вызов конструктора для типа "StockSharp.Designer.MainWindow", удовлетворяющего указанным ограничениям привязки, привел к выдаче исключения. ---> Microsoft.Practices.ServiceLocation.ActivationException: Activation error occurred while trying to get instance of type IStorageRegistry, key "" ---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "StockSharp.Algo.Storages.IStorageRegistry", name = "(none)".
Exception occurred while: while resolving.
Exception is: InvalidOperationException - The current type, StockSharp.Algo.Storages.IExchangeInfoProvider, is an interface and cannot be constructed. Are you missing a type mapping?

At the time of the exception, the container was:

Resolving StockSharp.Algo.Storages.StorageRegistry,(none) (mapped from StockSharp.Algo.Storages.IStorageRegistry, (none))
Resolving parameter "exchangeInfoProvider" of constructor StockSharp.Algo.Storages.StorageRegistry(StockSharp.Algo.Storages.IExchangeInfoProvider exchangeInfoProvider)
Resolving StockSharp.Algo.Storages.IExchangeInfoProvider,(none)
---> System.InvalidOperationException: The current type, StockSharp.Algo.Storages.IExchangeInfoProvider, is an interface and cannot be constructed. Are you missing a type mapping?
в Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext context)
в BuildUp_StockSharp.Algo.Storages.IExchangeInfoProvider(IBuilderContext )
в Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)
в Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
в Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
в Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey)
в Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(IBuilderContext context)
в BuildUp_StockSharp.Algo.Storages.StorageRegistry(IBuilderContext )
в Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)
в Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
в Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
в Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
--- Конец трассировки внутреннего стека исключений ---
в Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
в Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides)
в Microsoft.Practices.Unity.UnityServiceLocator.DoGetInstance(Type serviceType, String key)
в Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
--- Конец трассировки внутреннего стека исключений ---
в Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
в Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService]()
в Ecng.Configuration.ConfigManager.GetService[T](String name)
в Ecng.Configuration.ConfigManager.GetService[T]()
в StockSharp.Studio.Controls.Extensions.InitializeDriveCache()
в StockSharp.Designer.MainWindow..ctor()
--- Конец трассировки внутреннего стека исключений ---
в System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
в System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
в System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
в System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
в System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
в System.Windows.Application.DoStartup()
в System.Windows.Application.<.ctor>b__1_0(Object unused)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)



Thanks:




1 Answers
Support

Avatar
Date: 6/26/2020
Reply


Hello

What version do you use? Did you try to reset your settings?
Thanks:


Attach files by dragging & dropping, , or pasting from the clipboard.

loading
clippy