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
Register | FAQ | Members List | Calendar | 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 13th, 2003, 10:22 AM
Registered User
 
Join Date: Jun 2003
Location: Willowbrook, Illinois, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default type load exception

I followed the example in Chapter 6 of "Professional Crystal Reports for Visual Studio .NET" (Wrox, David McAmis). In this example, I create a dataset and "tie" the report to the dataset. When I run the report, I get this error: "A first chance exception of type 'System.TypeLoadException' occurred in crdb_adoplus.dll

Additional information: Could not load type CPmonitor.CPTradeReportDataset from assembly crdb_adoplus, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304."

It alomost looks like Crystal Reports thinks my dataset should be part of its assembly. I'm looking to see if anyone else has run into this problem and if so how it was handled.
Reply With Quote
  #2 (permalink)  
Old June 26th, 2003, 08:48 PM
Registered User
 
Join Date: Jun 2003
Location: San Diego, CA, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hmmmm just in case...in .NET when you created your Crystal Report.NET dataset, after you created it, did you build your project solution before creating your .rpt Crystal Report. If not this could be the problem. You need to Build your solution, even if you have already done a Build or reBuild.
Reply With Quote
  #3 (permalink)  
Old November 12th, 2004, 04:52 AM
Registered User
 
Join Date: Nov 2004
Location: Pretoria, Gauteng, South Africa.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hallo crazy_eye_bob

Could you solve this problem or find out more information about it?

regards
Henko

Reply With Quote
  #4 (permalink)  
Old March 2nd, 2005, 05:39 PM
Registered User
 
Join Date: Mar 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am having the same problem. Please email me and reply to this if you have any idea what causes this problem.

nicholas.a.wegener@wellsfargo.com

Reply With Quote
  #5 (permalink)  
Old November 7th, 2005, 01:16 PM
Registered User
 
Join Date: Nov 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I got that error when using a dataset for my report. I realized that I forgot:
report.SetDataSource(ds)

Hope it helps.
Reply With Quote
Reply


Thread Tools
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
Could not load type 'WebForm1' error hastikeyvan ASP.NET 2.0 Professional 10 July 14th, 2008 02:16 PM
Could not load type 'WebForm1' error hastikeyvan ASP.NET 2.0 Basics 0 June 22nd, 2006 02:31 AM
Could not load type 'Namespace.PageName'. Bhavin Crystal Reports 0 December 16th, 2004 03:58 PM
Cannot load Type Abstract planoie VS.NET 2002/2003 2 September 3rd, 2003 04:13 PM



All times are GMT -4. The time now is 03:19 PM.


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