CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2003
    Posts
    2

    Angry CrystalDecisions.CrystalReports. Engine.DataSourceException: Query Engine Error

    Colleagues I am with the problem cited in the subject of this email.
    That the problem alone only occurs in the machine of the customer, in
    mine where I am developing the project, everything occurs perfect.

    It follows below the code that I am placing to fill the DataSet.

    String strConn = ConfigurationSettings.AppSettings
    ["ConnectionString"];

    SqlConnection connection = new SqlConnection(strConn);

    // SqlConnection connection = new SqlConnection("user
    id=sa;password=38714659;initial catalog=stiweb_bayer;data
    source=200.162.212.83; Timeout=500");

    SqlDataAdapter dadap = new SqlDataAdapter(dml, connection);

    dstLigPart dataset = new dstLigPart();

    dadap.Fill(dataset, "vwLigPartBayer");

    DataTable vdtI = dataset.Tables["vwLigPartBayer"];

    int vintTRow = vdtI.Rows.Count;

    CrystalReportViewer1.SeparatePages = (Boolean) Session["PPAG"];

    oRpt.SetDataSource(dataset);

    CrystalReportViewer1.ReportSource = oRpt;
    Last edited by Brad Jones; April 15th, 2003 at 03:32 PM.
    George Queiroz
    GA Systems
    São Paulo - Brazil

  2. #2
    Join Date
    Jan 2000
    Posts
    264
    Umm GEORGE...


    IT IS NOT a good idea to be posting your IP address of your SQL database with the login information as now anyone can connect to it if they have SQL Server.


    Other than that...I don't have an answer to your question.

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

Featured