Link to home
Start Free TrialLog in
Avatar of paleface
paleface

asked on

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

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?
Avatar of bdreed35
bdreed35
Flag of United States of America image

Do you know what version of Crystal is used with the application?
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.
Avatar of paleface
paleface

ASKER

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
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
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.
Frodoman ... it installed on a different computer ... any idea what could be the problem on this newer computer???
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

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.
Sounds good paleface - let me know how it goes.

frodoman
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.
ASKER CERTIFIED SOLUTION
Avatar of frodoman
frodoman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
My thinking too - reinstall XP after trying the registry.

BTW - what is PITA????
Sorry - we use that one at work to avoid the filters...

PITA = Pain In The A__  :-)
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  :)
Glad to help.  Sorry I couldn't find you a simpler solution, but at least it's working!