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 June 13th, 2003, 09:22 AM
Registered User
 
Join Date: Jun 2003
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.
 
Old June 26th, 2003, 07:48 PM
Registered User
 
Join Date: Jun 2003
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.
 
Old November 12th, 2004, 04:52 AM
Registered User
 
Join Date: Nov 2004
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

 
Old March 2nd, 2005, 05:39 PM
Registered User
 
Join Date: Mar 2005
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

 
Old November 7th, 2005, 01:16 PM
Registered User
 
Join Date: Nov 2005
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.





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 01:16 PM
Could not load type 'WebForm1' error hastikeyvan ASP.NET 2.0 Basics 0 June 22nd, 2006 01: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 03:13 PM





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