Link to home
Create AccountLog in
Avatar of AhmedHindy
AhmedHindyFlag for Egypt

asked on

C# with Crystal Report 2010 Deploy Problem

Hello All

I Have Created A C# Desktop Application With Crystal Report And Crystal Report Viewer After Downloading and setup The Crystal Report For Visual Studio 2010 ( CRforVS_13_0_4 ) And Crystal Report RunTime And Every Thing Works Fine,
But When I Try To Deploy The Application with prerequisites " SAP  Crystal Reports Run time Engine for .Net framework 4.0 "
I Get The Following Error
" Error      5      The install location for prerequisites has not been set to 'component vendor's web site' and the file 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_4.msi' in item 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' can not be located on disk. See Help for more information.      D:\Projects\Apps\Bills Application With DB\BillsManagement\stpBillsManagement\stpBillsManagement.vdproj      stpBillsManagement"

So I Decided To Create The Application And Setup it With The Crystal Report Runtime Manually

And When Run The Application And Try To Open the Report I Get The Following Error
" Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. "

So Now I Don't Know What To Do Next

Thanks In Advance For the Help
Any Working Solution Is Okay For me except " Download Prerequisites From The Component Vendors Website " Cause I Don't Have Internet Connection in Clients Machine

I Didn't Know Where Exactly To Post The Question, So If There Is A suitable Place Please Let Me Know
Thanks Again
Avatar of Mike McCracken
Mike McCracken

Avatar of AhmedHindy

ASKER

I get Them All And Installed Them Previously
With This Tutorial http://wiki.sdn.sap.com/wiki/display/BOBJ/Using+Crystal+Reports+for+Visual+Studio+2010+Merge+Modules+(MSM)+to+create+a+Setup+project

I Followed All Steps Until the step
ensure that the Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update  is included in the deployment project. This is a Crystal Reports for Visual Studio 2010 dependency. The actual Microsoft Visual C++ 2005 merge modules are; Microsoft_VC80_CRT_x86.msm, Microsoft_VC80_MFC_x86.msm, Microsoft_VC80_ATL_x86.msm and Microsoft_VC80_OpenMP_x86.msm

I Cant Get the Previous Files Even After the setup of " Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update "

Please If you get it run on Client Machine, Tell Me The Steps Or Give Me A tutorial  to Follow Or if I did something wrong please tell

Thanks Again For Your Fast Response
WHy are you installing the VS2005 service pack?

CR For VS2010 is strictly for VS2010.

mlmcc
ASKER CERTIFIED SOLUTION
Avatar of AhmedHindy
AhmedHindy
Flag of Egypt image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Searching the net till Get the Right solution and tested