文書種別
制限事項
エディション
Documentファミリー
コンポーネントの種類
JavaScript
コントロール
ImageViewer
詳細
「\LEADTOOLS21\Examples\JS\AnnotationsDemo\AnnotationsDemo.sln」を実行すると、下記のエラーが表示され初回実行時に画像が表示されません。
The LEADTOOLS service could not be reached.
回避方法
AnnotationsDemoを実行するには、DemoServicesを事前に実行しておく必要があります。
下記の手順を実施してください。
- 以下のlaunchSettings.jsonファイル内にあるURLのポート番号をすべて「20300」から「20200」に変更してください。
\LEADTOOLS21\Examples\JS\Services\DemoServices\fx\Properties\launchSettings.json
- 以下のサービスを実行します。
\LEADTOOLS21\Examples\JS\Services\DemoServices\fx\DemoServices.csproj
- AnnotationsDemoを実行します。
\LEADTOOLS21\Examples\JS\AnnotationsDemo\AnnotationsDemo.sln
※JavaScriptのサンプルで使用するサービスは、以下のように対応しております。
- \LEADTOOLS21\Examples\JS\Services\DocumentServiceDotNet
DocumentViewerDemosで使用します。 - \LEADTOOLS21\Examples\JS\Services\DemoServices
DocumentViewerDemos以外で使用します。
※JavaScriptのサンプルはネットワークに接続した環境でご確認ください。
0 コメント