Results 1 to 5 of 5

Thread: Crystl32.ocx error

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    15

    Crystl32.ocx error

    Hi

    Am using Crystal Report 8.5 in my vb6 application. it's all working fine but when i package it and install it on a computer that does not have crystal reports installed on it, it gives me an error that says " The file Crystl32.ocx or one of it's
    dependancies was not correctly registered"

    i have tried inno setup, package and deployment wizard and installshield and they all give me the same result after installation.

    Please help....

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Crystl32.ocx error

    Have you tried manually registering it using RegSvr32?

    I've had the same problem with various versions of Crystal, and the only way I've ever gotten around the problem was manual registration.

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    15

    Re: Crystl32.ocx error

    Thanks so much!!

    i have manually registered it and i am not getting that error anymore. Now the next thing is Do i have to maually register this file every time i install my application on a computer that does not have Crystal reports?


    Thanks...

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Crystl32.ocx error

    Quote Originally Posted by raketekc
    Thanks so much!!

    i have manually registered it and i am not getting that error anymore. Now the next thing is Do i have to maually register this file every time i install my application on a computer that does not have Crystal reports?


    Thanks...
    It is a toss up. As I mentioned, I gone through the same thing. Sometimes the installation will register it and sometimes it won't.

    Like you, I tried a few different installation packages, and had the same issue regardless of what I used, so all I can say is let everyone know that if they run into a problem after the installation, to give you a call.

    Or, you can provide written instructions for them to perform this themselves.

  5. #5
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918

    Re: Crystl32.ocx error

    I've never used Inno, but couldn't you script it so it runs Regsvr32 at the end of the installation and register the ocx that way? I use Wise and it would be a simple matter to have Wise run Regsvr32 and pass it Crtstal32.ocx as a parameter. I would guess Inno has similar capabilities.

    Just a thought.
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

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