|
-
April 7th, 2003, 07:44 AM
#1
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
-
April 7th, 2003, 08:48 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|