cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reportsで帳票出力時のエラー

Former Member
0 Kudos

VS.NET 2005 で作成したプログラムからCrystal Reportsで帳票出力機能を作成しています。

帳票出力時に以下のエラーが発生します。

<エラーメッセージ>

Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine,Version=10.2.3600.0,Culture=neutral,PublickeyToken=692fbeat5521e1304'or one of its dependencies.指定されたファイルが見つかりません。

<対応>

対応として以下の2つのdllを設定しました。

・CrystalDecisions.Shared.dll

・CrystalDecisions.CrystalReports.Engine.dll

上記エラーは発生しなくなりましたが、異常処理となりレポートが表示されません。

対応を教えていただけませんでしょうか。

環境:

 Crystal Reports のバージョン (VS.NET 2005, CR 10)、開発言語(.NET)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Google で出力されたエラーで検索すると以下の内容が見つかりました。

Could not load file or assembly u2018CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304u2032 or one of its dependencies. The system cannot find the file specified.

You have probably deployed your application with crystal report on to remote server and that server have not crystal reports installed. Find CRRedist2005_x86.msi on your local computer and isntalled it on the sever and atleast the error which the title of this post will be gone with wind

Crystal Reports に必要なランタイム ファイルが正しく配布されていないのではないでしょうか。

上記の記事に書いてあるように CRRedist2005_x86.msi を実行してみたらどうでしょうか。

Answers (1)

Answers (1)

former_member583013
Active Contributor
0 Kudos

更新が無いので answered に変更させて頂きます。

SCN フォーラムモデレーター