Solved

not sure if this is xp or crystal problem - dll registering error 1904

Posted on 2004-09-24
15
1,066 Views
Last Modified: 2011-12-08
I've posted this in the XP section as well with no results so I thought I'd try here.

Trying to install a program for construction billing that apparently uses crystal reports on a XP Pro workstation.  It gets right to the very end of the install and comes up with a 1904 error module c:\****.dll failed to register.  If I ignore, the install comes up with the same error for multiple dll files.

Already ran sfc (system file check) - still getting error.

What to do, What to do?
0
Comment
Question by:paleface
  • 7
  • 7
15 Comments
 
LVL 28

Expert Comment

by:bdreed35
ID: 12147211
Do you know what version of Crystal is used with the application?
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12147292
bdreed's question is a very good one, but probably you won't be able to find the answer w/out contacting the software author.  The older versions of Crystal are not compatible with WinXP.  

Is the message actually ****.dll or did you do that to indicate various dll's?  If the first dll to fail is named let us know as that may help pinpoint at least if it is a Crystal problem.
0
 

Author Comment

by:paleface
ID: 12147390
Thanks,

The software author could not give me specifics on the version but said he thinks it is recent and a .net version.  The **** only indicated from me that several dll's were failing to register. The first one is "module c:\keycode.dll" then they proceed to Program files\common files\crystal decisions\2.0\export modeller.dll, etc ...

hresult-2147221164
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12147457
That makes it version 9 or 10.  If you're getting the message that keycode.dll is failing to register then this is most likely a license problem with the software author.

When you purchase Visual Studio .Net, you get a license to distribute the Crystal Reports components along with any .Net software you write.  The installation package that you develop must include a "keycode" which links the Crystal components back to the registered version of Visual Studio .Net that it came from.  Basically this insures that you can't distribute the Crystal components without having a valid Visual Studio registration.

The problem you're describing indicates that the software author probably did not enter the keycode when he/she created the installation package or the keycode entered was invalid or the software is not properly licensed.  You're probably going to have to kick this one back to the software author for resolution.

The only other situation I'm aware of that could cause this is if you don't have rights to install software on the XP machine - I doubt this is the case however as it sounds like some of the installation works correctly...

frodoman
0
 

Author Comment

by:paleface
ID: 12147676
Thanks Frodoman, I have admin rights on this puter.

I'm going to try it on a different machine.  Then ask the author what's up.  Puts me in a bind as this company needs this software to run for billing, and the author is knocking off for the weekend.
0
 

Author Comment

by:paleface
ID: 12147876
Frodoman ... it installed on a different computer ... any idea what could be the problem on this newer computer???
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12148107
In that case it's probably a conflict between one of the installing dll's and a dll already on the machine.  Does the machine have an old version of Crystal on it?  If so you should uninstall it.

On the problem computer - make sure the regional settings / languare is English (assuming it's the English version of Crystal being used).  I assume it is if the install worked on the another system but there is a known issue w/ language compatibility.

Otherwise the only advice I can give is the usual stuff - close other applications, stop all non-critical services, etc. and try the install again.

Wish I could give you something more specific...

frodoman

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:paleface
ID: 12150361
Thanks Frodoman again,

I'm on the east coast and it was almost 6 o'clock when they ran me out of that office, so I can't get back to it until early next week.  There is an older version on the error producing box, and I had come across something else that said that might cause a conflict.  Also this morning I recalled that the succesful install went on a newly formatted clean machine with no older versions.  So I'll check it out by Tues most likely and hopefully send some points your way.
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12151223
Sounds good paleface - let me know how it goes.

frodoman
0
 

Author Comment

by:paleface
ID: 12163515
I uninstalled, but if you ask me the uninstall didn't do much - the program files were still there... which leads me to believe the registry entries are too.  Still won't install.
0
 
LVL 42

Accepted Solution

by:
frodoman earned 500 total points
ID: 12163653
Well, you could always try to kill the registry entries manually.  Of course the usual "do this at your own risk" warnings apply.  As far as I know all the keys are in up to four places:

HKEY_CURRENT_USER/Software/Crystal Decisions
HKEY_CURRENT_USER/Software/Seagate Software/Crystal Reports
HKEY_LOCAL_MACHINE/Software/Crystal Decisions
HKEY_LOCAL_MACHINE/Software/Seagate Software/Crystal Reports

Other than that I don't know what to tell you.  It really sounds like it's probably a conflicting registry setting with an old version.  Of course scrubbing the machine and rebuilding it should resolve the problem but that's always the last resort since it's such a PITA.

frodoman
0
 

Author Comment

by:paleface
ID: 12163926
My thinking too - reinstall XP after trying the registry.

BTW - what is PITA????
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12164229
Sorry - we use that one at work to avoid the filters...

PITA = Pain In The A__  :-)
0
 

Author Comment

by:paleface
ID: 12176247
LOL ... I will remember that one.

Well it turned out the only thing that would work was reinstalling XP.  I tried everything else listed above to no avail.  After reinstalling the OS (not wiping and formatting) the software loads like a charm.  Thanks for the help and hanging in there with me ... have some points  :)
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12178640
Glad to help.  Sorry I couldn't find you a simpler solution, but at least it's working!

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

861 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

23 Experts available now in Live!

Get 1:1 Help Now