Results 1 to 3 of 3

Thread: Crystal reports-Datasource = xml file - logon error

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Posts
    1

    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:
    1. Dim ds As DataSet
    2.         ds = New DataSet
    3.         Dim crReportDocument As New Labels
    4.  
    5.         ds.ReadXml(Application.StartupPath & "\Labels.xml")
    6.  
    7.         crReportDocument.Database.Tables.Item("Label1").SetDataSource(ds)
    8.  
    9.         CReportViewer.ReportSource = crReportDocument
    10.         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

  2. #2
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918

    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?
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

  3. #3
    New Member
    Join Date
    Jul 2008
    Posts
    5

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width