Click to See Complete Forum and Search --> : xp and crystal WHY O WHY
jhermiz
Oct 22nd, 2003, 09:51 AM
I had finally got my frigging reports to open fine in my vb application. It took some time to get it to work for win 2k finding the right dll's and ocx files. Now I try to open a report from my app in windows xp and I get the following error:
ActiveX could not create the object
What the heck is all that about. I have also posted my INNO portion of the files I use for crystal reports. The INNO shows the required dll's. Can someone tell me if I am missing one or there is a mistake or an add on for windows XP with crystal.
Thanks Jon
jhermiz
Oct 22nd, 2003, 02:17 PM
Anyone?
I noticed something quite odd....
while installing my file on win2k all is well...goes right through the inno installation and registers the files at the end.
For windows XP when I do an install it just sits there at the end while registering the files. The hourglass remains on and it just sits there...seems like it is having problems registering the files.
Does anyone have a list of all the required DLL's and OCX's for XP or BETTER yet there INNO script that uses these files.
Im not sure what files need to be registered and what dont...seems like XP is trying to register something that it cant....
Again my INNO script is attached to help!
Thanks again,
Jon
jhermiz
Oct 22nd, 2003, 02:41 PM
Im very close!!!!!
I just realized that it was not registering one file:
craxdrt9.dll
I took regserver out from the inno file and it went through the installation file without a problem.
The line I am talking about in INNO read this:
Source: C:\Documents and Settings\jhermiz\Desktop\SPI\CrystallInstallationFilesForSPI\CRFiles\craxdrt9.dll; DestDir: {cf}\Crystal Decisions\2.0\bin\; Flags: uninsneveruninstall sharedfile regserver
and I changed it to:
Source: C:\Documents and Settings\jhermiz\Desktop\SPI\CrystallInstallationFilesForSPI\CRFiles\craxdrt9.dll; DestDir: {cf}\Crystal Decisions\2.0\bin\; Flags: uninsneveruninstall sharedfile
Now the installation went through, BUT I still need to register this file. Does anyone know why XP wont register this file? I have to register it because when I try to run a report from my app, it says that the ActiveX object could not be created.
Somehow I think its refering to this file craxdrt9.dll
Anyone out there please!!!
lfwolf
Oct 22nd, 2003, 08:13 PM
i have the same problem ,but craxdrt.dll can register in xp
Have u found way to resolve the problem?
Ken Bradford
Oct 23rd, 2003, 07:07 AM
Look at this post
http://www.vbforums.com/showthread.php?s=&threadid=252120
lfwolf
Oct 24th, 2003, 12:57 AM
Thank u!
But i think that cann't resolve my problem!
I know what dll files i need to distrabitued and what key i should
write to register ,
but my problem is:
HOW to register craxdrt9.dll in Windows XP ?
by regsvr32.exe ? it has no response if you do that.
jhermiz
Oct 24th, 2003, 07:25 AM
Originally posted by lfwolf
Thank u!
But i think that cann't resolve my problem!
I know what dll files i need to distrabitued and what key i should
write to register ,
but my problem is:
HOW to register craxdrt9.dll in Windows XP ?
by regsvr32.exe ? it has no response if you do that.
Worked for me in windows XP and Crystal 9.0.
I just moved it in my inno script to one of the last crystal files.
Or in dos manually do a:
regsvr32 c:\pathtofile\craxdrt9.dll
Jon
DeeGeeBee
Nov 17th, 2005, 02:49 AM
For anyone who's interested I was having the same problem of regsvr32 craxdrt9.dll not responding and resolved this by registering the crystal file keycode.dll THEN registering craxdrt9.dll. All was sweet.
The instructions at http://support.businessobjects.com/library/kbase/articles/c2012421.asp tell you to do the regsvr32 before loading and registering the keycode.dll file where as http://support.businessobjects.com/library/kbase/articles/c2012205.asp get it right.
Hack
Nov 17th, 2005, 07:02 AM
For anyone who's interested I was having the same problem of regsvr32 craxdrt9.dll not responding and resolved this by registering the crystal file keycode.dll THEN registering craxdrt9.dll. All was sweet.
The instructions at http://support.businessobjects.com/library/kbase/articles/c2012421.asp tell you to do the regsvr32 before loading and registering the keycode.dll file where as http://support.businessobjects.com/library/kbase/articles/c2012205.asp get it right.Welcome to the forums :wave: and thanks for the tip. :thumb:
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.