T
Tim Burda
I posted this in another forum, but I'm adding it here to for more
exposure.I am using Visual Studio 2003 and trying to get Crystal
Reports to produce output. If you have any ideas, please let me know.
This is a common problem, but nobody seems to have an answer for it.
CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.
What does that mean, specifically? What logon is failing?
Like many, I created an .xsd file to use as a schema for designing a
crystal report. I added the reference to the .xsd file by going to the
Field Explorer, then right clicking on the Database Fields menu, then
selecting "Add/Remove Databases", I add a reference to the .xsd file
from the More Data Sources-> ADO.NET (XML) option. The .xsd imports
great, I then layout the fields on the page.
Now, at runtime, I use a dataset generated by SAME function that I
originally used to create the .xsd file. When I bind the report, I get
the failure listed above. However, if I go back to the .rpt file and
remove all fields from the report, I can get the blank report to come
up (a very small victory).
Here is the code that I use to load and display the report:
test objReport = new test(); //report of type test
DataSet dsReport = BuildReportDataSet();
//dsReport.WriteXmlSchema("C:\\temp\\schema.xsd");
objReport.SetDataSource(dsReport);
crvReport.ReportSource = objReport
Any help from anyone is greatly appreciated!
Thanks -
Tim Burda
(e-mail address removed)
exposure.I am using Visual Studio 2003 and trying to get Crystal
Reports to produce output. If you have any ideas, please let me know.
This is a common problem, but nobody seems to have an answer for it.
CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.
What does that mean, specifically? What logon is failing?
Like many, I created an .xsd file to use as a schema for designing a
crystal report. I added the reference to the .xsd file by going to the
Field Explorer, then right clicking on the Database Fields menu, then
selecting "Add/Remove Databases", I add a reference to the .xsd file
from the More Data Sources-> ADO.NET (XML) option. The .xsd imports
great, I then layout the fields on the page.
Now, at runtime, I use a dataset generated by SAME function that I
originally used to create the .xsd file. When I bind the report, I get
the failure listed above. However, if I go back to the .rpt file and
remove all fields from the report, I can get the blank report to come
up (a very small victory).
Here is the code that I use to load and display the report:
test objReport = new test(); //report of type test
DataSet dsReport = BuildReportDataSet();
//dsReport.WriteXmlSchema("C:\\temp\\schema.xsd");
objReport.SetDataSource(dsReport);
crvReport.ReportSource = objReport
Any help from anyone is greatly appreciated!
Thanks -
Tim Burda
(e-mail address removed)