orchestrator
2023.4
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

Orchestrator インストール ガイド

Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
最終更新日時 2024年12月5日

Orchestrator の例外

500.30 ASP.NET Core app failed to start - ConfigurationErrorsException: Unrecognized configuration section system.web

Exception

Exception Info: System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.web. (C:\Program Files (x86)\UiPath\Orchestrator\UiPath.Orchestrator.dll.config line 228)
 at void System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(bool ignoreLocal)
 at void System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
 at void System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
 at void System.Configuration.ClientConfigurationSystem.EnsureInit(string configKey) --- End of inner exception stack trace ---
 at System.Configuration.ConfigurationManager.PrepareConfigSystem()
 at System.Configuration.ConfigurationManager.GetSection(String sectionName)
 at UiPath.Orchestrator.Configuration.ConfigurationExtensions.AddAppConfigSection(IConfigurationBuilder builder, String sectionName, Func`2 getSection)
 at UiPath.Orchestrator.Configuration.ConfigurationExtensions.AddAppConfigSections(IConfigurationBuilder builder, String configFile)
 at UiPath.Orchestrator.Configuration.ConfigurationExtensions.AddConfigurations(IConfigurationBuilder builder, IHostEnvironment hostEnvironment, String configFile)
 at UiPath.Orchestrator.Startup.Program.<>c__DisplayClass4_0.<CreateWebHostBuilder>b__0(WebHostBuilderContext ctx, IConfigurationBuilder builder)
 at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
 at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
 at UiPath.Orchestrator.Startup.Program.Main(String[] args)
 at UiPath.Orchestrator.Startup.Program.<Main>(String[] args)Exception Info: System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.web. (C:\Program Files (x86)\UiPath\Orchestrator\UiPath.Orchestrator.dll.config line 228)
 at void System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(bool ignoreLocal)
 at void System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
 at void System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
 at void System.Configuration.ClientConfigurationSystem.EnsureInit(string configKey) --- End of inner exception stack trace ---
 at System.Configuration.ConfigurationManager.PrepareConfigSystem()
 at System.Configuration.ConfigurationManager.GetSection(String sectionName)
 at UiPath.Orchestrator.Configuration.ConfigurationExtensions.AddAppConfigSection(IConfigurationBuilder builder, String sectionName, Func`2 getSection)
 at UiPath.Orchestrator.Configuration.ConfigurationExtensions.AddAppConfigSections(IConfigurationBuilder builder, String configFile)
 at UiPath.Orchestrator.Configuration.ConfigurationExtensions.AddConfigurations(IConfigurationBuilder builder, IHostEnvironment hostEnvironment, String configFile)
 at UiPath.Orchestrator.Startup.Program.<>c__DisplayClass4_0.<CreateWebHostBuilder>b__0(WebHostBuilderContext ctx, IConfigurationBuilder builder)
 at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
 at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
 at UiPath.Orchestrator.Startup.Program.Main(String[] args)
 at UiPath.Orchestrator.Startup.Program.<Main>(String[] args) 

原因

この問題は v2021.10 へのアップグレード時に発生することがあり、原因は設定システムが初期化に失敗し、次の例外が返されることにあります。

Exception Info: System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.web. (C:\Program Files (x86)\UiPath\Orchestrator\UiPath.Orchestrator.dll.config line 228).Exception Info: System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.web. (C:\Program Files (x86)\UiPath\Orchestrator\UiPath.Orchestrator.dll.config line 228).

解決策

UiPath.Orchestrator.dll.config ファイルから以下の構成セクションと、対応するサブセクションを削除して修正します。
  • <system.web>

  • <system.webserver>

  • <system.webServer>

  • <system.serviceModel>

  • <nwebsec>

  • <system.net >

500.30 ASP.NET Core app failed to start - Managed server didn't initialize after X ms

Exception

Application '/LM/W3SVC/1/ROOT' with physical root 'C:\Program Files (x86)\UiPath\APPLICATIONNAME\' failed to load coreclr. Exception message:
Managed server didn't initialize after X ms.Application '/LM/W3SVC/1/ROOT' with physical root 'C:\Program Files (x86)\UiPath\APPLICATIONNAME\' failed to load coreclr. Exception message:
Managed server didn't initialize after X ms.

原因

起動制限時間は、CPU 使用率の高さやメモリ消費量の多さに影響を受ける環境で制限がかかり、ダウンタイムが発生することがあります。

解決策

20.10.5+ にアップグレードして、起動制限時間を 300 秒に増やします。

これでも不十分な場合は、サーバーが何かを実行しようとしていて、デッドロックが発生していることを意味します。これは通常、EnableMigrations パラメーターが True に設定され、メインスレッドをハングさせる大規模な移行がある場合に発生しています。
フラグが False に設定されている場合は、メモリ ダンプを収集し、顧客の担当者に送信します。

500.30 ASP.NET Core app failed to start - System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Index was outside the bounds of the array

Exception

Exception Info: Unhandled exception. System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Index was outside the bounds of the array.
 ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Globalization.CultureData.GetNFIValues(NumberFormatInfo nfi)
   at System.Globalization.NumberFormatInfo..ctor(CultureData cultureData)
   at System.Globalization.CultureInfo.get_NumberFormat()
   at System.Globalization.CultureInfo.GetFormat(Type formatType)
   at System.Globalization.NumberFormatInfo.get_CurrentInfo()
   at System.Guid.TryParseExactD(ReadOnlySpan`1 guidString, GuidResult& result)
   at System.Guid.TryParseExactB(ReadOnlySpan`1 guidString, GuidResult& result)
   at System.Guid.TryParseGuid(ReadOnlySpan`1 guidString, GuidResult& result)
   at System.Guid..ctor(String g)
   at System.Environment.GetKnownFolderPath(String folderGuid, SpecialFolderOption option)
   at System.Environment.GetFolderPathCore(SpecialFolder folder, SpecialFolderOption option)
   at System.Environment.GetFolderPath(SpecialFolder folder, SpecialFolderOption option)
   at System.Environment.GetFolderPath(SpecialFolder folder)
   at System.Configuration.ClientConfigPaths..ctor(String exePath, Boolean includeUserConfig)
   at System.Configuration.ClientConfigPaths.GetPaths(String exePath, Boolean includeUserConfig)
   at System.Configuration.ClientConfigurationHost.get_ConfigPaths()
   at System.Configuration.ClientConfigurationHost.GetStreamName(String configPath)
   at System.Configuration.Internal.DelegatingConfigHost.GetStreamName(String configPath)
   at System.Configuration.Internal.DelegatingConfigHost.GetStreamName(String configPath)
   at System.Configuration.ImplicitMachineConfigHost.GetStreamName(String configPath)
   at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
   --- End of inner exception stack trace ---
   at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
   at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
   at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
   at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams)
   at System.Configuration.ClientConfigurationHost.OpenExeConfiguration(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath)
   at System.Configuration.ConfigurationManager.OpenExeConfigurationImpl(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath, Boolean preLoad)
   at System.Configuration.ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel userLevel)
   at UiPath.Orchestrator.Startup.Program.Main(String[] args)
   at UiPath.Orchestrator.Startup.Program.<Main>(String[] args)Exception Info: Unhandled exception. System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Index was outside the bounds of the array.
 ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Globalization.CultureData.GetNFIValues(NumberFormatInfo nfi)
   at System.Globalization.NumberFormatInfo..ctor(CultureData cultureData)
   at System.Globalization.CultureInfo.get_NumberFormat()
   at System.Globalization.CultureInfo.GetFormat(Type formatType)
   at System.Globalization.NumberFormatInfo.get_CurrentInfo()
   at System.Guid.TryParseExactD(ReadOnlySpan`1 guidString, GuidResult& result)
   at System.Guid.TryParseExactB(ReadOnlySpan`1 guidString, GuidResult& result)
   at System.Guid.TryParseGuid(ReadOnlySpan`1 guidString, GuidResult& result)
   at System.Guid..ctor(String g)
   at System.Environment.GetKnownFolderPath(String folderGuid, SpecialFolderOption option)
   at System.Environment.GetFolderPathCore(SpecialFolder folder, SpecialFolderOption option)
   at System.Environment.GetFolderPath(SpecialFolder folder, SpecialFolderOption option)
   at System.Environment.GetFolderPath(SpecialFolder folder)
   at System.Configuration.ClientConfigPaths..ctor(String exePath, Boolean includeUserConfig)
   at System.Configuration.ClientConfigPaths.GetPaths(String exePath, Boolean includeUserConfig)
   at System.Configuration.ClientConfigurationHost.get_ConfigPaths()
   at System.Configuration.ClientConfigurationHost.GetStreamName(String configPath)
   at System.Configuration.Internal.DelegatingConfigHost.GetStreamName(String configPath)
   at System.Configuration.Internal.DelegatingConfigHost.GetStreamName(String configPath)
   at System.Configuration.ImplicitMachineConfigHost.GetStreamName(String configPath)
   at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
   --- End of inner exception stack trace ---
   at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
   at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
   at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
   at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams)
   at System.Configuration.ClientConfigurationHost.OpenExeConfiguration(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath)
   at System.Configuration.ConfigurationManager.OpenExeConfigurationImpl(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath, Boolean preLoad)
   at System.Configuration.ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel userLevel)
   at UiPath.Orchestrator.Startup.Program.Main(String[] args)
   at UiPath.Orchestrator.Startup.Program.<Main>(String[] args)

原因

これは、番号のローカリゼーションに関連するサーバー OS の問題です。

解決策

en-US 設定の新しいイメージを使用してサーバーを再インストールします。

500.30 ASP.NET Core app failed to start - System.ArgumentException: Argument can not be an empty collection (Parameter 'nodes') - NLog

Exception

Exception Info: System.ArgumentException: Argument can not be an empty collection (Parameter 'nodes')
   at Elasticsearch.Net.Extensions.UtilExtensions.ThrowIfEmpty[T](IEnumerable`1 object, String parameterName)
   at Elasticsearch.Net.StaticConnectionPool..ctor(IEnumerable`1 nodes, Func`2 nodeScorer, IDateTimeProvider dateTimeProvider)
   at Elasticsearch.Net.StaticConnectionPool..ctor(IEnumerable`1 nodes, Boolean randomize, IDateTimeProvider dateTimeProvider)
   at Elasticsearch.Net.StaticConnectionPool..ctor(IEnumerable`1 uris, Boolean randomize, IDateTimeProvider dateTimeProvider)
   at NLog.Targets.ElasticSearch.ElasticSearchTarget.InitializeTarget()
   at NLog.Targets.Target.Initialize(LoggingConfiguration configuration)
   at NLog.Targets.Target.NLog.Internal.ISupportsInitialize.Initialize(LoggingConfiguration configuration)
   at NLog.Config.LoggingConfiguration.InitializeAll()
   at NLog.LogFactory.ReconfigExistingLoggers()
   at NLog.LogFactory.set_Configuration(LoggingConfiguration value)
   at NLog.LogManager.set_Configuration(LoggingConfiguration value)
   at UiPath.Orchestrator.Startup.Program.InitializeNLog(String configFilePath)
   at UiPath.Orchestrator.Startup.Program.Main(String[] args)
   at UiPath.Orchestrator.Startup.Program.<Main>(String[] args)Exception Info: System.ArgumentException: Argument can not be an empty collection (Parameter 'nodes')
   at Elasticsearch.Net.Extensions.UtilExtensions.ThrowIfEmpty[T](IEnumerable`1 object, String parameterName)
   at Elasticsearch.Net.StaticConnectionPool..ctor(IEnumerable`1 nodes, Func`2 nodeScorer, IDateTimeProvider dateTimeProvider)
   at Elasticsearch.Net.StaticConnectionPool..ctor(IEnumerable`1 nodes, Boolean randomize, IDateTimeProvider dateTimeProvider)
   at Elasticsearch.Net.StaticConnectionPool..ctor(IEnumerable`1 uris, Boolean randomize, IDateTimeProvider dateTimeProvider)
   at NLog.Targets.ElasticSearch.ElasticSearchTarget.InitializeTarget()
   at NLog.Targets.Target.Initialize(LoggingConfiguration configuration)
   at NLog.Targets.Target.NLog.Internal.ISupportsInitialize.Initialize(LoggingConfiguration configuration)
   at NLog.Config.LoggingConfiguration.InitializeAll()
   at NLog.LogFactory.ReconfigExistingLoggers()
   at NLog.LogFactory.set_Configuration(LoggingConfiguration value)
   at NLog.LogManager.set_Configuration(LoggingConfiguration value)
   at UiPath.Orchestrator.Startup.Program.InitializeNLog(String configFilePath)
   at UiPath.Orchestrator.Startup.Program.Main(String[] args)
   at UiPath.Orchestrator.Startup.Program.<Main>(String[] args)

原因

構成ファイルの <nlog> セクションで NlogConfigurationExceptions パラメーターが true に設定されています。

解決策

設定を訂正するか、<nlog> プロパティで throwExceptions プロパティを false に設定します。

500.30 ASP.NET Core app failed to start - The target principal name is incorrect

Exception

Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The target principal name is incorrect.)
---> System.ComponentModel.Win32Exception (0x80090322): The target principal name is incorrect.
  at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
  at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
  at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose)
  at Microsoft.Data.SqlClient.TdsParserStateObject.SNIWritePacket(PacketHandle packet, UInt32& sniError, Boolean canAccumulate, Boolean callerHasConnectionLock)
  at Microsoft.Data.SqlClient.TdsParserStateObject.WriteSni(Boolean canAccumulate)
  at Microsoft.Data.SqlClient.TdsParserStateObject.WritePacket(Byte flushMode, Boolean canAccumulate)
  at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
  at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
  at Microsoft.AspNetCore.Hosting.WebHost.EnsureStartup()
  at Microsoft.AspNetCore.Hosting.WebHost.EnsureApplicationServices()
  at Microsoft.AspNetCore.Hosting.WebHost.Initialize()
  at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
  at UiPath.Orchestrator.Startup.Program.Main(String[] args)
ClientConnectionId:6f91ac8d-85c5-43df-a756-e61b34d13e68
Error Number:-2146893022,State:0,Class:20Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The target principal name is incorrect.)
---> System.ComponentModel.Win32Exception (0x80090322): The target principal name is incorrect.
  at void Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, bool breakConnection, Action<Action> wrapCloseInAction)
  at void Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, bool callerHasConnectionLock, bool asyncClose)
  at void Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(bool callerHasConnectionLock, bool asyncClose)
  at Task Microsoft.Data.SqlClient.TdsParserStateObject.SNIWritePacket(PacketHandle packet, out uint sniError, bool canAccumulate, bool callerHasConnectionLock)
  at Task Microsoft.Data.SqlClient.TdsParserStateObject.WriteSni(bool canAccumulate)
  at Task Microsoft.Data.SqlClient.TdsParserStateObject.WritePacket(byte flushMode, bool canAccumulate)
  at void Microsoft.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData, FederatedAuthenticationFeatureExtensionData fedAuthFeatureExtensionData)
  at void Microsoft.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, string newPassword, SecureString newSecurePassword)
  at void Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, string newPassword, SecureString newSecurePassword, bool ignoreSniOpenTimeout, TimeoutTimer timeout, bool withFailover)
  at void Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, string newPassword, SecureString newSecurePassword, bool redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
  at void Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, string newPassword, SecureString newSecurePassword, bool redirectedUserInstance)
  at new Microsoft.Data.SqlClient.SqlInternalConnectionTds(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, object providerInfo, string newPassword, SecureString newSecurePassword, bool redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, bool applyTransientFaultHandling, string accessToken, DbConnectionPool pool)
  at DbConnectionInternal Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
  at DbConnectionInternal Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
  at DbConnectionInternal Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
  at DbConnectionInternal Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
  at bool Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, uint waitForMultipleObjectsTimeout, bool allowCreate, bool onlyOneCheckConnection, DbConnectionOptions userOptions, out DbConnectionInternal connection) x 2
  at bool Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource<DbConnectionInternal> retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, out DbConnectionInternal connection)
  at bool Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry, DbConnectionOptions userOptions)
  at bool Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry, DbConnectionOptions userOptions)
  at bool Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource<DbConnectionInternal> retry, SqlConnectionOverrides overrides)
  at void Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides) x 2
  at string UiPath.Orchestrator.DataAccess.Common.SqlDatabaseFeatures.GetSqlServerEdition()
  at bool UiPath.Orchestrator.DataAccess.Common.SqlDatabaseFeatures.OnlineIndexOperationsSupported()
  at void UiPath.Orchestrator.Common.ApplicationContext.SetDatabaseFeatures(IConfiguration configuration, IDatabaseFeaturesFactory databaseFeaturesFactory, string connectionName, string dataMaskingFeatureFlag, string onlineIndexOperationsFeatureFlag)
  at void UiPath.Orchestrator.Common.ApplicationContext.SetUpdateServerSwitches(IConfiguration configuration, IDatabaseFeaturesFactory databaseFeaturesFactory)
  at new UiPath.Orchestrator.Startup.Startup(IConfiguration configuration, IWebHostEnvironment webHostEnvironment, ILoggerFactory loggerFactory)
  at object RuntimeMethodHandle.InvokeMethod(object target, in Span<object> arguments, Signature sig, bool constructor, bool wrapExceptions)
  at object System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
  at object Microsoft.Extensions.DependencyInjection.ActivatorUtilities+ConstructorMatcher.CreateInstance(IServiceProvider provider)
  at object Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, params object[] parameters)
  at object Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProvider provider, Type type)
  at StartupMethods Microsoft.AspNetCore.Hosting.StartupLoader.LoadMethods(IServiceProvider hostingServiceProvider, Type startupType, string environmentName, object instance)
  at IWebHostBuilder Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.UseStartup<TStartup>(IWebHostBuilder hostBuilder, Func<WebHostBuilderContext, TStartup> startupFactory)+(IServiceProvider sp) => { }
  at TResult Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor<TArgument, TResult>.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
  at object Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
  at TResult Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor<TArgument, TResult>.VisitCallSite(ServiceCallSite callSite, TArgument argument)
  at object Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
  at Func<ServiceProviderEngineScope, object> Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
  at TValue System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue>.GetOrAdd(TKey key, Func<TKey, TValue> valueFactory)
  at object Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope) x 2
  at T Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService<T>(IServiceProvider provider)
  at void Microsoft.AspNetCore.Hosting.WebHost.EnsureStartup()
  at void Microsoft.AspNetCore.Hosting.WebHost.EnsureApplicationServices()
  at void Microsoft.AspNetCore.Hosting.WebHost.Initialize()
  at IWebHost Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
  at async Task UiPath.Orchestrator.Startup.Program.Main(string[] args)Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The target principal name is incorrect.)
---> System.ComponentModel.Win32Exception (0x80090322): The target principal name is incorrect.
  at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
  at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
  at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose)
  at Microsoft.Data.SqlClient.TdsParserStateObject.SNIWritePacket(PacketHandle packet, UInt32& sniError, Boolean canAccumulate, Boolean callerHasConnectionLock)
  at Microsoft.Data.SqlClient.TdsParserStateObject.WriteSni(Boolean canAccumulate)
  at Microsoft.Data.SqlClient.TdsParserStateObject.WritePacket(Byte flushMode, Boolean canAccumulate)
  at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
  at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
  at Microsoft.AspNetCore.Hosting.WebHost.EnsureStartup()
  at Microsoft.AspNetCore.Hosting.WebHost.EnsureApplicationServices()
  at Microsoft.AspNetCore.Hosting.WebHost.Initialize()
  at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
  at UiPath.Orchestrator.Startup.Program.Main(String[] args)
ClientConnectionId:6f91ac8d-85c5-43df-a756-e61b34d13e68
Error Number:-2146893022,State:0,Class:20Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The target principal name is incorrect.)
---> System.ComponentModel.Win32Exception (0x80090322): The target principal name is incorrect.
  at void Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, bool breakConnection, Action<Action> wrapCloseInAction)
  at void Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, bool callerHasConnectionLock, bool asyncClose)
  at void Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(bool callerHasConnectionLock, bool asyncClose)
  at Task Microsoft.Data.SqlClient.TdsParserStateObject.SNIWritePacket(PacketHandle packet, out uint sniError, bool canAccumulate, bool callerHasConnectionLock)
  at Task Microsoft.Data.SqlClient.TdsParserStateObject.WriteSni(bool canAccumulate)
  at Task Microsoft.Data.SqlClient.TdsParserStateObject.WritePacket(byte flushMode, bool canAccumulate)
  at void Microsoft.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData, FederatedAuthenticationFeatureExtensionData fedAuthFeatureExtensionData)
  at void Microsoft.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, string newPassword, SecureString newSecurePassword)
  at void Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, string newPassword, SecureString newSecurePassword, bool ignoreSniOpenTimeout, TimeoutTimer timeout, bool withFailover)
  at void Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, string newPassword, SecureString newSecurePassword, bool redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
  at void Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, string newPassword, SecureString newSecurePassword, bool redirectedUserInstance)
  at new Microsoft.Data.SqlClient.SqlInternalConnectionTds(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, object providerInfo, string newPassword, SecureString newSecurePassword, bool redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, bool applyTransientFaultHandling, string accessToken, DbConnectionPool pool)
  at DbConnectionInternal Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
  at DbConnectionInternal Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
  at DbConnectionInternal Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
  at DbConnectionInternal Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
  at bool Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, uint waitForMultipleObjectsTimeout, bool allowCreate, bool onlyOneCheckConnection, DbConnectionOptions userOptions, out DbConnectionInternal connection) x 2
  at bool Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource<DbConnectionInternal> retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, out DbConnectionInternal connection)
  at bool Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry, DbConnectionOptions userOptions)
  at bool Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry, DbConnectionOptions userOptions)
  at bool Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource<DbConnectionInternal> retry, SqlConnectionOverrides overrides)
  at void Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides) x 2
  at string UiPath.Orchestrator.DataAccess.Common.SqlDatabaseFeatures.GetSqlServerEdition()
  at bool UiPath.Orchestrator.DataAccess.Common.SqlDatabaseFeatures.OnlineIndexOperationsSupported()
  at void UiPath.Orchestrator.Common.ApplicationContext.SetDatabaseFeatures(IConfiguration configuration, IDatabaseFeaturesFactory databaseFeaturesFactory, string connectionName, string dataMaskingFeatureFlag, string onlineIndexOperationsFeatureFlag)
  at void UiPath.Orchestrator.Common.ApplicationContext.SetUpdateServerSwitches(IConfiguration configuration, IDatabaseFeaturesFactory databaseFeaturesFactory)
  at new UiPath.Orchestrator.Startup.Startup(IConfiguration configuration, IWebHostEnvironment webHostEnvironment, ILoggerFactory loggerFactory)
  at object RuntimeMethodHandle.InvokeMethod(object target, in Span<object> arguments, Signature sig, bool constructor, bool wrapExceptions)
  at object System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
  at object Microsoft.Extensions.DependencyInjection.ActivatorUtilities+ConstructorMatcher.CreateInstance(IServiceProvider provider)
  at object Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, params object[] parameters)
  at object Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProvider provider, Type type)
  at StartupMethods Microsoft.AspNetCore.Hosting.StartupLoader.LoadMethods(IServiceProvider hostingServiceProvider, Type startupType, string environmentName, object instance)
  at IWebHostBuilder Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.UseStartup<TStartup>(IWebHostBuilder hostBuilder, Func<WebHostBuilderContext, TStartup> startupFactory)+(IServiceProvider sp) => { }
  at TResult Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor<TArgument, TResult>.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
  at object Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
  at TResult Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor<TArgument, TResult>.VisitCallSite(ServiceCallSite callSite, TArgument argument)
  at object Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
  at Func<ServiceProviderEngineScope, object> Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
  at TValue System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue>.GetOrAdd(TKey key, Func<TKey, TValue> valueFactory)
  at object Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope) x 2
  at T Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService<T>(IServiceProvider provider)
  at void Microsoft.AspNetCore.Hosting.WebHost.EnsureStartup()
  at void Microsoft.AspNetCore.Hosting.WebHost.EnsureApplicationServices()
  at void Microsoft.AspNetCore.Hosting.WebHost.Initialize()
  at IWebHost Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
  at async Task UiPath.Orchestrator.Startup.Program.Main(string[] args)

原因

統合認証による Insights データベースへの認証が成功しません。

解決策

Stack Overflow のスレッド「The target principal name is incorrect. Cannot generate SSPI context」に、問題の解決策が示されています。

このページは役に立ちましたか?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
Uipath Logo White
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.