Showing posts with label crystal. Show all posts
Showing posts with label crystal. Show all posts

Thursday, March 29, 2012

Error loading report

I have created many crystal reports within VB.Net that are based upon an *.xsd file as the report source is dynamic. This works fine on the machine they were developed on. However I now wish to roll out the final solution and store the reports on a shared network drive whilst the VB app is on each desktop. I have tried copying the *.rpt file to the shared drive along with the *.xsd files. I even changed each report to now look at the *.xsd in the new location. However when I try to open a report I get the following error:

Error in file e:\directory\report.rpt.
Failed to load database information.

Any ideas.?

ThanksMake sure it is pointing the correct database|||Check if proper DSN is created and Verify the Database in the report at design time.|||With e:\ being the network drive my report e:\myreport.rpt is pointing to e:\myreport.xsd

which is correct as far as I know.|||Have ttried changing network paths to UNC, no joy.

Strangely, if I load the project within VB.Net, the app and the reports run fine. But when I run the installed package I get this error. This makes me think that maybe I need to package up some additional files with the app.?

Sunday, March 11, 2012

Error in printreport method of Crviewer

Hi!

I used vb6.0 and crystal Report 11 ,. I integrated the report to VB form. By calling the report in vb th viewreport method working fine . But the .printreport method have the problem " Method 'printreport' of Object 'ICrystalreportviewer11' Failed"

What is the problem and how to solve the problemMake sure that the printer is properly connected to the system

Friday, February 24, 2012

Error in CrystalReport

I have an application developed in VB 6.0, SQl and
Crystal Reports. I am getting the following error message.

"Line 77: Cannot load control CrystalReport1."

the code is

CrystalReport1.SQLQuery = lstrsql.

I have also activated the crystal report control in the components dialog box.

regs
R.PriyaraniIs there an error number? Try looking up the error number or the error description online. Sometimes you can find the answer that way.

Did you rename the control to something different and are trying to call it by the default name?

Do you have the correct dll installed on the machine you're getting the error on?|||Thank you, Malleyo I've solved the problem