Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load Report Failed

Status
Not open for further replies.

tek1ket

MIS
Jan 25, 2009
70
IR
i have the problem with crystal report.
my application is windows based
if i want to view the report while i am in visual studion enviroument( I mean while i am traceing the application) it works fine.

but when i setp the application and want to see the Reports, it is
"Load Report Failed"
for loading the Report i have this line
rd.Load(Application.StartupPath +"\\CrystalReport1.rpt");

but it does not work.
any idear is appreciated
 
what is the full stack trace? there isn't enough information here. You could also try
Code:
rd.Load(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "CrystalReport1.rpt"));
it could also be that the crystal binaries are not deployed on the client's box. I would think the error message would be different in that situation though.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top