Click to See Complete Forum and Search --> : CrystalDecisions.CrystalReports. Engine.DataSourceException: Query Engine Error


georgesq
April 7th, 2003, 07:44 AM
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;

gknierim
April 7th, 2003, 08:48 PM
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.