> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Licensing Server の問題

> 診断のための手動起動や、3020 で発生する「RPC Service is not available」エラーの修正を含む、ABBYY FlexiCapture Licensing Service のトラブルシューティング。

ABBYY FlexiCapture Licensing Service は、サーバーが正常に動作していることを確認する役割を担います。まず、サービスが実行中であることを確認してください。

<Frame>
  <img src="https://mintcdn.com/abbyy/XVEmG3cTpHwMKf5X/images/flexi-capture/TG_Communication_LicensingSever_1.png?fit=max&auto=format&n=XVEmG3cTpHwMKf5X&q=85&s=1c0ee41d7131aae88fb2e6f0b519bc50" alt="Windows のサービス コンソールで、ABBYY FlexiCapture 12 Licensing Service が選択され、スタートアップの種類が Automatic、状態が Running と表示されているスクリーンショット。" width="1012" height="593" data-path="images/flexi-capture/TG_Communication_LicensingSever_1.png" />
</Frame>

サービスを起動できない場合は、次のコマンドを使用して手動で起動してみてください。

```
"C:\Program Files (x86)\Common Files\ABBYY\FlexiCapture\12.0\Licensing\LicensingService.exe" /standalone
```

このコマンドを実行すると、詳細な診断情報が表示されます。この診断情報と、`C:\ProgramData\ABBYY\FlexiCapture\12.0\Licenses` にあるログ ファイルをコピーし、問題の説明を添えて ABBYY のテクニカル サポートに送信してください。

<div id="the-rpc-service-is-not-available-error">
  ## 「RPC Service is not available」エラー
</div>

プログラムが Licensing Server にアクセスしようとしたときに「RPC Service is not available」というメッセージが表示される場合は、ポート `3020` がファイアウォールでブロックされておらず、また他のアプリケーションで使用されていないことを確認してください (たとえば、このポートは Common Internet File System でよく使用されます) 。ポート `3020` が他のアプリケーションで使用されている場合は、別のポートを指定してください。

1. Licensing Server がインストールされているコンピューターで、`LicensingSettings.xml` ファイルを開きます。既定では、このファイルは `C:\Program Files (x86)\Common Files\ABBYY\FlexiCapture\12.0\Licensing` にあります。
2. `LicensingSettings.xml` ファイル内で `EndPointName="3020"` を見つけ、引用符内のポート番号を別のものに変更します。
3. ABBYY FlexiCapture Licensing Service を再起動します。

手順 1～3 を完了したら、Licensing Server にアクセスするすべてのコンピューター (Processing Server、Processing Stations、Verification Stations、Project Setup Station など) でもポートを変更してください。各コンピューターで `LicensingSettings.xml` ファイルを開き、`EndPointName` を見つけて、その値を手順 2 で指定したポートに変更します。
