Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
330 views
in Technique[技术] by (71.8m points)

c# - Cannot load file or assembly 'crystal decisions.windows.forms,version=13.0.2000.0'

I'm working on windows application. In this I designed Report module. I get error whenever I wanted to view report in Windows 7, Windows XP & Windows Vista, but it works in Windows 8.

Following steps I took before deploying setup

  1. I installed .NET Framework 4 in Windows XP & .NET Framework 4.5 in Windows 7
  2. I installed CRforVS_13_0_2 but its through error message like

You must already have Visual Studio 2010 installed to proceed with this installation. and
SAP Crystal Reports version for Visual studio 2010 installation ended prematurely because of an error.

  1. Then I installed my project setup (while creating setup manually I included all crystal report assemblies), logged in and went to Report Menu, on click to open preview of Crystal Report its through error message like

Cannot load file or assembly 'crystal decisions.windows.forms,version=13.0.2000.0,culture=neutral,Public keytoken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

Please guide me the how to resolve this issue.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You haven't correctly installed the required Crystal Reports Assembly, you have to install the Runtime of Crystal Reports on each client machine not the version for VS, it won't work just by copying the assmblies along with your application.

You can get the correct installers from SAP directly, maybe you will be required to create a free account.32Bit 64Bit

Regards,


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...