Hi,

I am getting an error when I run the report in the applicaiton call ADM. Its a medical relatted appln which runs the reports.
I get the error :OLE error code 0x80040154. Class is not registered. OLE Object is being ignored. I get this error when i run a form which has a chart .

help needed.

Thanks
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I just found out that the C:\Program Files\Common Files\crystal decisions\2.5\crystalreportviewers10\activexcontrols\crviewer.dll was not getting registered. I tested manually by regsvr32.exe.

Now the question is how to get this DLL registred. I am using installshield...

Thanks,
Answered 07/01/2010 by: bulbul
Senior Purple Belt

Please log in to comment
0
how to write a script for the above location as I know that VBscript don't like the spaces....
Answered 07/01/2010 by: bulbul
Senior Purple Belt

Please log in to comment
0
Where did you get the idea that VBScript deosn't like spaces? As in DOS, you just need to enclose paths with quotes.

InstallShield, if set up correctly, will extract the COM information from registerable files and populate the relevant tables. Avoid using the SelfReg/ISSelfReg tables. Also, I would try and separate the Crystal Reports element from the package and install that as a separate item.
Answered 07/01/2010 by: VBScab
Red Belt

Please log in to comment
0
Below is the script i wrote...

Dim objShell
Set objShell = CreateObject("WScript.Shell")
objShell.Run "regsvr32.exe C:\Program Files\Common Files\crystal decisions\2.5\crystalreportviewers10\activexcontrols\crviewer.dll"


Thanks
Answered 07/02/2010 by: bulbul
Senior Purple Belt

Please log in to comment
0
objShell.Run "regsvr32.exe C:\Program Files\Common Files\crystal decisions\2.5\crystalreportviewers10\activexcontrols\crviewer.dll" objShell.Run "regsvr32.exe " & Chr(34) & "C:\Program Files\Common Files\crystal decisions\2.5\crystalreportviewers10\activexcontrols\crviewer.dll" & Chr(34)
Answered 07/03/2010 by: VBScab
Red Belt

Please log in to comment
0
worked like a charm.
Thanks IAN
Answered 07/07/2010 by: bulbul
Senior Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity