Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 7th, 2004, 03:27 PM
Registered User
 
Join Date: May 2004
Location: Dunedin, FL, USA.
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

Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:42 PM.


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