9527

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Storage is not initialized #12614
    9527
    Participant

    But the dat file in the BaseDAT folder, I did not find how to initialize it, can only copy it from the installation package?

    in reply to: Storage is not initialized #12613
    9527
    Participant

    After referencing the storage dll, scadaweb can be started. other comm, server, agent, etc. are found and need to reference the driver and other dll files to be started successfully.

    in reply to: Storage is not initialized #12567
    9527
    Participant

    Put ScadaInstanceConfig.xml into the outer folder and recompile it.
    https://ibb.co/KsYxZ9T

    The xml configuration file is changed to FileStorage, the dat file cannot be generated locally. Changed to postgres, database also initialized table. scadaweb also can’t connect.
    https://ibb.co/dGCz7wY

    • This reply was modified 2 years, 4 months ago by Mikhail.
    in reply to: Storage is not initialized #12566
    9527
    Participant
    Scada.ScadaException
      HResult=0x80131500
      Message=Storage is not initialized.
      Source=ScadaCommon
      StackTrace:
       In Scada.Storages.StorageWrapper.get_Storage()
       In Scada.Web.Code.WebContext.get_Storage() In E:\98v\gitlab-98vtech\scada-v6\ScadaWeb\ScadaWeb\ScadaWeb\Code\WebContext.cs: Row 127 
       In Scada.Web.Startup.<ConfigureServices>b__8_4(KeyManagementOptions options) In E:\98v\gitlab-98vtech\scada-v6\ScadaWeb\ScadaWeb\ScadaWeb\Startup.cs: Row 129 
       In Microsoft.Extensions.Options.ConfigureNamedOptions`1.Configure(String name, TOptions options)
       In Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)
       In Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value()
       In Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager..ctor(IOptions`1 keyManagementOptions, IActivator activator, ILoggerFactory loggerFactory, IDefaultKeyStorageDirectories keyStorageDirectories)
       In Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager..ctor(IOptions`1 keyManagementOptions, IActivator activator, ILoggerFactory loggerFactory)
       In System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
       In System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
       In Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
       In Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
       In System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory)
       In Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
       In Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
       In Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
       In Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>d__12.MoveNext()
    
    • This reply was modified 2 years, 4 months ago by Mikhail.
Viewing 4 posts - 1 through 4 (of 4 total)