Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 7th, 2004, 03:27 PM
Registered User
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kschori
Default 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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 'Exception from HRESULT: 0x800A03EC' vipin_pc ASP.NET 2.0 Professional 3 November 6th, 2009 09:17 AM
Needhelp Error- Exception from HRESULT: 0x800A0057 remya1000 General .NET 1 November 6th, 2008 11:45 AM
Exception from HRESULT: 0x800A03EC adorable.ashish General .NET 0 February 18th, 2008 06:33 AM
access denied. [exception from HRESULT: 0x80070005 p2ptolu Internet Information Services 0 December 18th, 2007 02:58 PM
Exception from HRESULT : 0x800A2740. remya1000 .NET Framework 1.x 0 November 8th, 2007 04:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.