Exception from HRESULT: 0x80131524.
I am using cr.net 2003. I have an xml doc that I am loading into a dataset and then pushing that dataset into my report. When I get to the reportsource line I get the following error:
Exception from HRESULT: 0x80131524.
I have searched online and found a hot fix from business objects but it did not correct the problem. I do know that my xml doc contains data and that my data set contains 11 tables each with 1 row. I wrote the dataset schema to file and used that build my crystal report so they would match. However I still get the same error. My code is below any help would be appreciated.
Dim sr As System.IO.StringReader = New System.IO.StringReader(_xmlPrintDoc.OuterXml)
Dim objDs As New DataSet
objDs.ReadXml(sr)
objDs.WriteXmlSchema(Server.MapPath("PMCont.xsd"))
Dim t As Integer
For t = 0 To (objDs.Tables.Count - 1)
cbsMain.Database.Tables(t).SetDataSource(objDs.Tab les(t))
Next
cvwMain.ReportSource = cbsMain
cvwMain.Visible = True
|