VB Crystal Report >> VB6 - embedded report load error - class not found

by mthompso » Sat, 02 Apr 2005 08:25:37 GMT

I attempted to load a Visual Basic 6 project with 5 embedded reports and
received an error for each, stating that it could not be loaded.

The error log for each report reads as follows:
Line 2: Class {BD4B4E61-F7B8-11D0-964D-00A0C9273C2A} of control BCR_5Yr
was not a loaded control class.
Line 0: The file
C:\Clients\profac\working\svn_repos\fpm\trunk\BCR_5Yr.Dsr could not be
loaded.
(Same message for each, only the name of the .dsr changed.)

The project's .vbp file has a class that is very close,
"BD4B4E53-F7B8-11D0-964D-00A0C9273C2A", the difference in the first
group, which ends in "E53" rather than "E61" - the numbers are otherwise
identical. The class number in the .vbp refers to craxdui.dll, the
Crystal Reports 9 library.

Searched the registry for the key "BD4B4E61-F7B8-11D0-964D-00A0C9273C2A"
, and found this (broken at the backslash to avoid a wordwrap problem):

HKEY_LOCAL_MACHINE\
SOFTWARE\
Classes\
CLSID\{BD4B4E61-F7B8-11D0-964D-00A0C9273C2A}\
TypeLib
Default:{BD4B4E53-F7B8-11D0-964D-00A0C9273C2A}

Now I seem to have some options:

1. Change this default setting to BD4B4E61-F7B8-11D0-964D-00A0C9273C2A

2. Change the setting in the .vbp file to
BD4B4E61-F7B8-11D0-964D-00A0C9273C2A

3. Change the setting within the .dsr files to
BD4B4E53-F7B8-11D0-964D-00A0C9273C2A

4. Forget all this, uninstall Crystal Reports, then reinstall and patch
to latest level.

5. Check the Windows XP restore points and jump back a couple of days.

Suggestions will be welcome.

Regards - Miles Thompson


VB Crystal Report >> VB6 - embedded report load error - class not found

by fendi » Mon, 09 May 2005 18:35:45 GMT



Do have any luck solving the problems, cos I have the same proble
too....

Regards
Fend


-
fend
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
-----------------------------------------------------------------------




Similar Threads

1. VB6 - embedded report load error - lousy solution - VB Crystal Report

2. Scope error: "public" member not found in "friend" class/sub

I have encountered a situation that I don't understand. When I call a sub of 
Friend scope (in an object with Friend scope), I am getting an error "Public 
member 'subname' not found in type 'myType'". Any idea why? Since Friend 
scope should be visible within my assembly, and everying is taking place 
within a single project, I don't understand why this error is occuring. 

Here is some illustrative code, where I would get the error in the 
"MyA.MySub" line in class B:

Friend Class A
	Friend Sub MySub()
                        ....do some stuff
	End sub
End class

Friend Class B
	Friend Sub AnotherSub()
		Dim myA as New A
		myA.MySub()
	End Sub
End Class

--- end code sample

If I change the scope of MySub from Friend to Public, the error goes away, 
but it doesn't make sense to me to have a Public sub in a Friend class. I 
would like to understand why I am getting the error in the first place.

Thanks in advance!

Tim

3. File name or class name not found during Automation operation (Error 432) - Visual Basic/VB

4. Designer Module problem - ".dsr could not loaded" error with old program + vb6

I have a old program (1999) and have been trying to load with VB6.
However, it generate an error:
"
Line 2: Class {BD4B4E61-F7B8-11D0-964D-00A0C9273C2A} of control ENReport was
not a loaded control class.
Line 0: The file C:\VB\Backup 9-15 1130\ENReport.Dsr could not be loaded.
"

ENReport.dsr/.dca/.dsx files exist in the program folder.
I register mmproxy.dll, mssnapd.ocx and mssnapr.dll but did not work.

I wonder if designer modules only work with VB5.

If you know about this issue please let me know.


Regards,
Haji


5. Error Physical Database not found for a Simple Report connected to database using a DSN - VB Crystal Report

6. Cystal Report Error message "Physical database not found"

Hi,

I am using VB6 SP6 and Crystal Report 8.5 SP2 in Win2003 server. After I
installed my application using setup file to WinXP, I got error message
"Physical database not found" when I ran the application. Can anyone give me
some hints for the solution?

Thanks in advance


7. Crystal Reports - Report does not load - VB Crystal Report

8. Crystal Report:The LoadSaveReportException: Load Report Error

I have a web system which will display a crystal report for clients. It is 
written in Visual Studio 2003, VB.Net and Crystal Report which comes with 
VS2003, running on Windows 2000. It works very well. Now we moved it to 
Windows XP and I cannot run the report again at design time. There is no 
change to my code. I got the following error: The LoadSaveReportException: 
Load Report Error.

I searched all possible answers through the web. It seems that the 
LoadSaveReportException is thrown when the report engine cannot open the 
report file.

By the way, I have Crystal Report 9 installed in this computer. Is there any 
conflict between Crystal Report 9 and the one within Visual Studio 2003?

Is there any difference between Windows 2000 and Windows XP which caused 
this error? How to resolve it? I need your help. Thanks.

Regards,

Bing Chen

 XXXX@XXXXX.COM