Re: VB6 - embedded report load error - lousy solution
- From: mthompso <miles@xxxxxxxxxxxxxxxxx>
- Date: Mon, 04 Apr 2005 14:15:54 GMT
Follow up ...
Tried setting new class id's in report.dsr's - did not work.
Finally used the Universal Windows Solution: Uninstalled and then reinstalled Crystal Reports.
Bummer - Miles Thompson
mthompso wrote:
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
.
- Follow-Ups:
- References:
- VB6 - embedded report load error - class not found
- From: mthompso
- VB6 - embedded report load error - class not found
- Prev by Date: How can I have a report that the Y axis is showing the Time Value?
- Next by Date: Setting OLE-DB Datasource
- Previous by thread: VB6 - embedded report load error - class not found
- Next by thread: Re: VB6 - embedded report load error - lousy solution
- Index(es):