Jump to content


Photo

Reports "OLE error code 0x80040154"

OLE Reports REPORTOBJ.MRUNRPT

  • Please log in to reply
22 replies to this topic

#1 MikeB

MikeB
  • Members
  • 9 posts

Posted 24 August 2015 - 09:37 AM

I have been running TMG 9.05 on a Win 7 laptop ever since it was released without difficulty. However, now I can not open any of the report generators, I get the following error message "OLE error code 0x80040154: Class not registered 70 REPORTOBJ.MRUNRPT". The 70 value varies depending on which report I try to open.
 
I have uninstalled, reinstalled and repaired TMG numerous time without fixing the problem. I also uninstalled the PDF printer.Any help will be appreciated. 


#2 Jim Byram

Jim Byram
  • Moderators
  • 7,340 posts
  • Gender:Male
  • Location:Framingham, MA

Posted 24 August 2015 - 09:53 AM

Here's the explanation and fix.

http://www.whollygenes.com/forums201/index.php?/topic/14260-tmg-v8-tips/#entry57483​

 

This has to do with the PDF driver installation, not the program installation. That's why messing with the program installation did nothing to resolve the issue.



#3 MikeB

MikeB
  • Members
  • 9 posts

Posted 26 August 2015 - 04:45 AM

I followed the instructions for removing the PDF printer and deleting the DLLs and then installed the PDF printer from TMG but, the problem still exist? What really has me baffled is the fact that TMG V9.05 had been running okay for such a long time and I do not recall doing anything to TMG or Win 7 that could have caused my problem. Thanks for the response.



#4 bsohn

bsohn
  • Members
  • 3 posts

Posted 20 September 2015 - 07:56 AM

I am receiving the same OLE error code (without the registration statement following, though).

While I can do a screen preview, I can not​ print to a file or any printer.

This is a showstopper to my work.

 

I first tried to reinstall the printer from TMG's print setup menu. I saw an error Code 32 in the Amyuni Document Converter window in reference to copying cdintf.dll "The process cannot access the file because it is being..." (message was truncated within a window that would not expand).

 

I then deleted the printer from control panel and verified on the driver page that there is not a corresponding print driver installed. I deleted the cdintf400.dll file as recommended in the January 2012 posting. I reran TMG using administrator privileges and then installed the print driver from TMG's print setup menu. I did NOT get the Code 32 error mentioned above. However, unfortunately, I still get the OLE error code referenced above.

 

My system:

  • Windows10
  • MS Surface Pro 3 / 8gb with >100gb of free space
  • TMG 9.05.0000

 

Thanks much for any help.

-bs



#5 Jim Byram

Jim Byram
  • Moderators
  • 7,340 posts
  • Gender:Male
  • Location:Framingham, MA

Posted 20 September 2015 - 08:50 AM

Windows 10 breaks the PDF printer driver. You don't need it as long as print preview works.

 

Read this topic for solutions.

http://www.whollygen...-in-windows-10/



#6 bsohn

bsohn
  • Members
  • 3 posts

Posted 21 September 2015 - 07:58 AM

Limited success Jim.

 

I do NOT have the TMG PDF printer installed (deleted from control panel devices and nothing showing in device drivers).

I am running TMG as an administrator.

 

Under printer set-up, I have selected my regular printer. If I try to send a Family Group report directly to the printer, I get the OLE error/class registration message. After ignoring it, I'm returned to TMG. Nothing printed.

 

If I try to send the Family Group report to a screen preview, I get the OLE error (which I ignore) followed by a "Unknown Member PDF" error (which I ignore 3 times in succession). The preview then shows on my screen as expected. Once I press the printer button in the upper left corner, I get the "Unknown Member PDF" error again...after which I get the normal Windows print dialog and all proceeds as expected.

 

-bs



#7 Jim Byram

Jim Byram
  • Moderators
  • 7,340 posts
  • Gender:Male
  • Location:Framingham, MA

Posted 22 September 2015 - 07:01 AM

You should run the installer and select [Repair] to fix the OLE registration error.



#8 bsohn

bsohn
  • Members
  • 3 posts

Posted 22 September 2015 - 02:15 PM

Thank you Jim.

 

Unfortunately. This did not solve my problem. I still get the OLE error when I print to a printer.

Print preview DOES work....but selecting the print button does not do anything.

 

Other ideas?

 

-bs



#9 Jim Byram

Jim Byram
  • Moderators
  • 7,340 posts
  • Gender:Male
  • Location:Framingham, MA

Posted 22 September 2015 - 03:28 PM

Try this.

http://www.whollygen...ips/#entry57483

 

If that doesn't work, I'll provide another method.



#10 MikeB

MikeB
  • Members
  • 9 posts

Posted 03 December 2015 - 09:24 AM

While there has been some discussion as to problems sending completed reports to printers that has not my problem. As I originally reported I can not open any of the report generators/ When I try to open any report tab I get the following error message "OLE error code 0x80040154: Class not registered 70 REPORTOBJ.MRUNRPT".  Since my original post I have upgraded to Win 10 in hopes that might fix my problem. Nothing I have tried has fixed my problem. The inability to generate reports severely limits my ability to use TMG. Any help is greatly appreciated.  



#11 Jim Byram

Jim Byram
  • Moderators
  • 7,340 posts
  • Gender:Male
  • Location:Framingham, MA

Posted 03 December 2015 - 10:14 AM

The issue is that a control or DLL used by TMG is not registered. In this case, the DLL not registered is cdintf400.dll.

 

Run the TMG installer and select [Repair].



#12 MikeB

MikeB
  • Members
  • 9 posts

Posted 03 December 2015 - 12:00 PM

Jim, I ran the installer again, as administrator, and selected repair, but I still have the same problem. Thanks for your help.



#13 Jim Byram

Jim Byram
  • Moderators
  • 7,340 posts
  • Gender:Male
  • Location:Framingham, MA

Posted 03 December 2015 - 01:02 PM

Sorry. That won't work. My bad.

 

The DLL is part of the Wholly Genes PDF driver.

 

Try this... Remove the PDF driver.

Settings / Devices / Printers & Scanners

Click on Wholly Genes PDF Writer v4 and click the [Remove device] button.

 

When you start TMG again, the PDF driver will be installed. If not, use File / Printer setup... / [Install PDF printer]

 

That should fix the issue.

 

If not, I can give you a manual registration fix.



#14 MikeB

MikeB
  • Members
  • 9 posts

Posted 03 December 2015 - 02:38 PM

Jim,

 

I removed the Wholly Genes PDF Writer as suggested. Restart TMG but the Wholly Genes PDF Writer did not show as a printer. I then used the File / Printer setup and it appeared to install. However, the Writer does not appear as installed in either Printers&Scanners or in TMG. I have tried to install from  File / Printer setup again but, I get a PDF already installed message. Needless to say since the PDF Writer doesn't show up in Printers&Scanners I can't uninstall the PDF Writer if I wanted to. I then used the pdfinstall.exe file to install the PDF Writer and the install.log shows that it is installed but the Writer does not show up anywhere. I am going to reboot but, I am pretty sure that won't solve my report problem.



#15 Jim Byram

Jim Byram
  • Moderators
  • 7,340 posts
  • Gender:Male
  • Location:Framingham, MA

Posted 04 December 2015 - 12:12 PM

The Windows 10 location that shows installed printers is...

Settings / Devices and the list under 'Printers & scanners' should show the 'Wholly genes PDF Writer v4' after it has been installed.

 

If it doesn't, I have no idea what is going on.

 

We can't proceed to the step of manually registering the DLL if the printer driver is not installed.



#16 MikeB

MikeB
  • Members
  • 9 posts

Posted 04 December 2015 - 12:47 PM

Jim Thanks for your patience 

 

I messed around and now have the Wholly Genes PDF Writer showing up in Printers&Scanners and it appears to be installed correctly. However, it still does not show in TMG. I also found a whollygenes 2006 post that describes my problem exactly.

 

http://www.whollygen...-report-errors/

 

I do not know if the problem was ever resolved since the last post was a recommendation by Virginia Blakelock that I have tried numerous times without success.  



#17 Jim Byram

Jim Byram
  • Moderators
  • 7,340 posts
  • Gender:Male
  • Location:Framingham, MA

Posted 04 December 2015 - 07:01 PM

You never select the Wholly Genes PDF driver in TMG.

 

And, again, there is a problem under Windows 10 outputting PDF reports by selecting the Adobe Reader (PDF) 'save to' option(which uses the WG PDF driver).

 

And you can create a PDF report by outputting to printer and selecting the Microsoft PDF printer driver.

 

Do you still get the error outputting a report? Or a different error such as in the topic you cited?



#18 MikeB

MikeB
  • Members
  • 9 posts

Posted 05 December 2015 - 10:27 AM

Jim, if you follow my thread my problem has existed in Windows 7 and then in Windows 10 so it is not Win 10 specific. While the Wholly Genes PDF Writer may contribute to my problem printing a created report is not my problem. I simply can not open any of the TMG report generators. The following is the sequence of error messages when I try to open a report generator: 
 
"ErrorMarker:: OLE error code 0x80040154: Class not registered.        123 REPORTOBJ.MRUNRPT"
 
Keyboard Input: Ignore
 
"ErrorMarker: Variable 'GCINIFILE' is not found.        131 REPORTOBJ.MRUNRPT"
 
Keyboard Input: Ignore
 
"ErrorMarker: File does not exist.          6 TMGAPPOBJ.MREADPRINTERINFO"
 
Keyboard Input: Ignore
 
"ErrorMarker: Function argument value, type, or count is invalid.         10 TMGAPPOBJ.MREADPRINTERINFO"
 
Keyboard Input: Ignore
 
"ErrorMarker: File does not exist.         55 GETINIENTRY"
 
Keyboard Input: Ignore
 
"ErrorMarker: Function argument value, type, or count is invalid.         56 GETINIENTRY"
 
The last two Error responses repeat 5 more times before the report generator closes altogether. This above sequence happens no matter which report I select.
 
That's as good as I can described what I am experiencing. Thanks again for you willingness in trying to help me solve my problem.

Edited by MikeB, 05 December 2015 - 10:37 AM.


#19 Michael Hannah

Michael Hannah
  • Moderators
  • 2,733 posts
  • Gender:Male
  • Location:Los Ranchos, New Mexico, USA
  • Interests:Genealogy, Computers

Posted 05 December 2015 - 04:59 PM

Mike,

 

You said:

I simply can not open any of the TMG report generators.

What do you mean by this?  The term "report generator" is not a term TMG uses for anything that I know of.  Do you mean that you get this error sequence when you simply click on the "Report" option on the Main Menu?  Or do get it when you click on any option in the Report menu, such as "Descendant Indented Narrative"?  Or do you get it when you try to change to a different "Configuration name" when in the Report Definition Screen?  Or do you get it when you try to "Create Report" within any Report Definition Screen?  Or when?

 

It sounds like we may be addressing the wrong issue.  What exact action(s) (using TMG's terms) do you do in TMG which triggers this error sequence?


Michael
See my book on how I customize TMG My Way.
My website.

#20 MikeB

MikeB
  • Members
  • 9 posts

Posted 05 December 2015 - 05:45 PM

I am sorry if I have misrepresented my problem. The problem occurs immediately when I select any one of the standard reports e.g. "Select Report > Ahnentafel". As soon I select any one of the reports the error message sequence I listed in my last post occurs. Consequently, I never see the report definition screen. I hope this helps


Edited by MikeB, 05 December 2015 - 06:17 PM.






Also tagged with one or more of these keywords: OLE, Reports, REPORTOBJ.MRUNRPT

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users