Results 1 to 9 of 9

Thread: Dang Crys and XP...

  1. #1

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492

    Dang Crys and XP...

    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
    Attached Files Attached Files

  2. #2

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492

    Re: Dang Crys and XP...

    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

  3. #3

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    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!!!

  4. #4
    Hyperactive Member VB4fun's Avatar
    Join Date
    May 2003
    Location
    too far from Fiji
    Posts
    342
    Jon

    not sure if this will fix the activeX issue...

    but it should help with the registering...

    I noticed the implode.dll does not have a selection for only below versions xx.xx, so I corrected that script in the attached....(this is a correction to the one I originally posted, not a correction to your file)

    In addition, in your file, I am not sure I am seeing the CR9deploy line....
    Source: C:\MyPrograms\crFiles\CR9deploy.reg; DestDir: {cf}\Crystal Decisions\2.0\bin\; MinVersion: 4.1,4.0; OnlyBelowVersion: 5.0,5.01


    if that is in your script somewhere else, you might want to check MinVersion and OnlyBelowVersion...to make sure they are correct.
    (not sure it would be registering correctly without this.

    Let me know what you find.
    Talk does not cook rice.
    -Chinese Proverb

  5. #5

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by VB4fun
    Jon

    not sure if this will fix the activeX issue...

    but it should help with the registering...

    I noticed the implode.dll does not have a selection for only below versions xx.xx, so I corrected that script in the attached....(this is a correction to the one I originally posted, not a correction to your file)

    In addition, in your file, I am not sure I am seeing the CR9deploy line....
    Source: C:\MyPrograms\crFiles\CR9deploy.reg; DestDir: {cf}\Crystal Decisions\2.0\bin\; MinVersion: 4.1,4.0; OnlyBelowVersion: 5.0,5.01


    if that is in your script somewhere else, you might want to check MinVersion and OnlyBelowVersion...to make sure they are correct.
    (not sure it would be registering correctly without this.

    Let me know what you find.
    In the attached?

    So did you make changes? Where are the changes? Did you get my post regarding the craxdrt9.dll file with windows XP. Can you let me know what you have added, where it is, or changes you have made. I want to keep track of all this for a book :-p.

    Jon

  6. #6
    Hyperactive Member VB4fun's Avatar
    Join Date
    May 2003
    Location
    too far from Fiji
    Posts
    342
    sorry,
    one thing I hate about this forum...if I preview my submission, and then click submit....it seems to lose the attachment.

    here it is again.

    The changes were to the lines with:
    implode.dll
    unicows.dll

    both are for w98 machines


    the CR9deploy I dont believe was changed from the original file...just didnt see it in your script.
    Attached Files Attached Files
    Talk does not cook rice.
    -Chinese Proverb

  7. #7

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    After I did this with getting rid of regserver for the file:

    craxdrt9.dll

    for MY script not yours as I said it went through the installation, but I had the activeX error. So I decided to register the file right through DOS with regsvr32 craxdrt9.dll

    And it registered successfully...

    So I went into my app and opened the report and sure as **** it worked....

    Now my problem...

    Why doesnt it register through INNO but it does register through DOS? Should I write a batch file that registers this file ????
    If so can anyone tell me is it possible to run the batch through INNO? Also how to write the batch? Would it just be:

    regsvr32 pathofdll\craxdrt9.dll

    And save the file as a .bat

    Thanks Jon

  8. #8

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    I moved it to the last item to be registered and now it works...
    what in the world!

  9. #9
    Hyperactive Member VB4fun's Avatar
    Join Date
    May 2003
    Location
    too far from Fiji
    Posts
    342

    stretching me here....
    I havent had issues deploying on XP at all...(with the changes)

    I didnt see the following line, in your code....

    [Registry]
    Root: HKLM; SubKey: SOFTWARE\Crystal Decisions\9.0\Crystal Reports; ValueType: string; ValueName: CommonFiles; ValueData: c:\program files\common files\crystal decisions\2.0\bin


    is it in there...? It was the last line of my Inno Setup...
    Talk does not cook rice.
    -Chinese Proverb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width