Information générale
Catégorie:
Crystal Reports
Hi Cyril,
Assuming you are reading VFP tables, are they on the same server? Think: permissions to access.
On modern systems, the CR9 dll's need to be registered as Administrator.
From an administrative CMD (or Administrative PowerShell, issue CMD once in):
c:\windows\syswow64\regsvr32 "C:\Program Files (x86)\Business Objects\Common\3.5\bin\craxdrt.dll" /s
c:\windows\syswow64\regsvr32 "C:\Program Files (x86)\Business Objects\Common\3.5\bin\crqe.dll" /s
c:\windows\syswow64\regsvr32 "C:\Program Files (x86)\Business Objects\Common\3.5\crystalreportviewers115\ActiveXControls\crviewer.dll" /s
Remove the /s if you want to get a messagebox with result for each command.
Hank
>>>My program has been running successfully for many years.
>>>
>>>All of a sudden we are seeing the C5 error on this line:
>>>This.crReport.ReadRecords()
>>>
>>>The first time the report is run, it is OK. The next time, it gives the C5 error.
>>>
>>>I use Crystal reports 9.
>>>
>>>If I exit my program and start again, the report runs fine again the first time. The next report gives the C5 error.
>>>
>>>Any suggestions on what to try?
>>>
>>>Cyril
>>
>>Have you tried to release This.crReport after first run? Also closing / removing Crystal with all you see you can remove? IOW Crystal Clear. :)
>
>Hi Lutz
>Good idea - that gives me something to try.
>
>I wonder if there is something in the latest Windows 11 update that caused this!
>
>Thanks
>Cyril
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement