Click here to Skip to main content
15,921,542 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friend

I am using C#.net 2008 as front end and Ms sql2005 as database. In C#.net I have used CRV for viewing crystal report.

Now the problem is that when I'm moving the folder to any other path then some login id and password occurs in crystal report, which shows the wrong path so now is there any relative or dynamic path for viewing crystal report.

Is there any other properties of CRV in which we can give the relative path so that if we move folder from one place to another then also we can see the crystal report? Or is there any other way to set relative path for crystal report?

Hope so you all got the meaning what I want to say. Can any one say in simple way

reportdoc.load("C:\\Documents and Settings\\Desktop\\Company_Details\\Forms\\SalesInvoice.rpt");

but i need dynamic path...
Posted

1 solution

To fix the error, check this Tip/Trick
Crystal Reports: Fix for "Load report failed" error.[^]
For dynamic path, check this answer
How to give the path for crystal report in .NET[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900