Crystal reports-Datasource = xml file - logon error
using CR 9.1 bundled with vb.net 2003.
Created a report using a xml file as the datasource and calling the report via code in vb.
VB Code:
Dim ds As DataSet
ds = New DataSet
Dim crReportDocument As New Labels
ds.ReadXml(Application.StartupPath & "\Labels.xml")
crReportDocument.Database.Tables.Item("Label1").SetDataSource(ds)
CReportViewer.ReportSource = crReportDocument
crReportDocument.Refresh()
The report works fine on my development pc but installing it onto a client pc then as soon i call the report as above, CR viewer would present the user with a form that requests database logon information to the above table.(Label1 which resides in the xml file).
Any Suggestions of the cause/fix?
Thanks
Re: Crystal reports-Datasource = xml file - logon error
It would appear that the client PC is missing something that is required to successfully run your report, eg a .DLL etc
How did you deploy your app on the client?
Re: Crystal reports-Datasource = xml file - logon error
plz go through the follwoing link , abt crystal reports from xml database.
http://vb.net-informations.com/cryst...m_xml_file.htm
bonave.