GSerg2008
|
Дата: 26.09.2015
|
|
|
|
Не запускается! Сразу после выбора режима запуска x86 или x64, выдается сообщение об ошибке. Далее после нажатия ОК программа запускается, но почти все пункты меню просто вызывают ошибки. Windows 7 x64
Тект ошибки...
--------------------------- S#.Studio --------------------------- Microsoft.Practices.ServiceLocation.ActivationException: Activation error occurred while trying to get instance of type IStorage, key "" ---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "Ecng.Serialization.IStorage", name = "(none)". Exception occurred while: Calling constructor Ecng.Data.Providers.SQLiteDatabaseProvider(). Exception is: TypeInitializationException - The type initializer for 'Ecng.Data.Providers.SQLiteDatabaseProvider' threw an exception. ----------------------------------------------- At the time of the exception, the container was:
Resolving Ecng.Data.HierarchicalDatabase,(none) (mapped from Ecng.Serialization.IStorage, (none)) Resolving value for property HierarchicalDatabase.Provider Resolving Ecng.Data.Providers.SQLiteDatabaseProvider,(none) Calling constructor Ecng.Data.Providers.SQLiteDatabaseProvider() ---> System.TypeInitializationException: The type initializer for 'Ecng.Data.Providers.SQLiteDatabaseProvider' threw an exception. ---> System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Studio\System.Data.SQLite.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost) at Ecng.Serialization.BinaryHelper.Save(Byte[] data, String fileName) at Ecng.Data.Providers.SQLiteDatabaseProvider..cctor() --- End of inner exception stack trace --- at Ecng.Data.Providers.SQLiteDatabaseProvider..ctor() at BuildUp_Ecng.Data.Providers.SQLiteDatabaseProvider(IBuilderContext ) at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) at Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey) at BuildUp_Ecng.Data.HierarchicalDatabase(IBuilderContext ) at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) --- End of inner exception stack trace --- at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides) 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 Ecng.Configuration.ConfigManager.GetService[T]() at StockSharp.Studio.MainWindow.MainWindow_Loaded(Object sender, RoutedEventArgs e) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args) at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) --------------------------- OK
|