Hi,
I am loading a crysrtal report using reportdocument.load method which takes filename(as string) as an argument. When run my application in development environment it works fine but when i make an exe and install it on the same system or on the client machine, it gives the following error:
"Failed to load the report: couldn't find the file"
I think the problem is with the path of the file "report.rpt" which is given as string to the load method.when i install my appl on client machine it looks for this file. This file is included in the exe file, then why it couldn't find it.
How can i fix this problem.Should i give the full path of the file but that crystal report is part of my project as an object.
What should i do?
Thanks
Ayyaz