Getting an Error 1904.Module error when installing a VB developed application that uses Crystal Reports dll

Posted on 2006-04-13
Last Modified: 2008-01-09
I have an application developed in VB6 that uses Crystal Reports 10.  Everything has worked fine for a year now, but recently I started getting the following error during installation:

Error 1904.Module C:\Program Files\Common Files\Crystal Decisions\2.5\bin\ReportRenderer.dll failed to register. HRESULT -2147319780

The only difference I can think of is that the machine I am installing onto recently had Office 2000 uninstalled and Office 2003 installed in its place.  Could that be creating the problem.  Any ideas as to how to resolve it?

Question by:Ron_Rea
    LVL 42

    Expert Comment

    I can only see that being a potential problem if you're reporting off an Access database (or otherwise using the MS Jet DB Engine).  I don't know for sure but I suspect that the Office upgrade may change the MDAC package installed on the machine.

    Have you tried to manually register the dll?

    Author Comment

    Thanks for the reply, frodoman.  You are correct, I am using an Access 2000 database.  I have included merge modules for it.  Is there something else I need to include when I create the setup.exe that will remove this problem?
    LVL 42

    Accepted Solution

    I don't really know what the solution to this might be.  I checked some Microsoft documentation and the error number is a problem referencing the OLE registry.  My guess is that when Office 2000 was uninstalled there was some registry key and / or data access component that was removed or replaced.  I do know for certain that there is a huge difference in data access between Access 2000 & 2003.

    Probably you could install the latest version of MDAC on your development computer then add the necessary components to your project and recompile.  I suspect that would solve the installation problem; however, there is more security overhead and considerations with remote access of an Access 2003 database so you might have some work ahead of you to get the application working again.  I'm afraid though that this may be your only option.

    What you might try is to reinstall Office 2000 and see if both versions will co-exist on the same machine and if your application will work.  I suspect that it won't work because the problem is probably in MDAC and I'm certain that two versions of that can't co-exist (also an older version cannot be made to overwrite a newer version) but I can't foresee any damage from giving it a try.  You could completely uninstall Office 2003 and then reinstall 2000, but that means you're stuck staying at 2000 with no upgrade path.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
    Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now