Solved

problem with crviewer.dll during VB runtime

Posted on 2004-10-06
8
5,593 Views
Last Modified: 2012-06-27
Visual Basic 6
    Visual Studio Service Pack 6
    Visual Studio Installer 1.1
Crystal Reports 10 (developer)
    All the latest hotfixes/patches up to today
SQL Server 2000
Windows 2000 Pro (client and development environment)
Windows 2000 Server (server for app)
Windows 2003 Server (where SQL resides)

I have a Visual Basic application with a form that utilizes CR Viewer to view a previously made report. During runtime however, when this form is accessed, I get the following error:

Run-time error 339
Compinent 'crviewer.dll' or one of its dependencies not correctly registered: a file is missing or invalid

Also, (this may or may not be relevant,) I created an installation file using the Package & Deploy wizard. During this installation I get the following error:

An error occurred while registering the file C:\Program Files\Common Files\Crystal Decisions\2.5\bin\crqe.dll

It gives me the Retry, Abort, Ignore options. I click Ignore and it says the application was installed successfully.

I have no other problems with the running of the application, accessing/writing/updating data. Everything works great. Just this one form is giving me problems. I have been working with technical support at businessobjects to no avail.

Has anyone had this problem and/or knows how to fix it?
Or, can someone point me in the direction to figure out how to resolve it?
Any help is much appreciated. Thanks.

0
Comment
Question by:Mike Miller
8 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 12240421
You can try manually registering crqe.dll.  From the run command:
 
   regsvr32 "C:\program files\common files\Crystal Decisions\1.0\bin\CRQE.dll"

Check the file location though - the 1.0 may need to be 2.0 instead depending on where it's location.
0
 

Author Comment

by:Mike Miller
ID: 12241106
I've tried and successfully registered crviewer.dll but when I try to register crqe.dll I get
"Access Denied"
I tried this will full admin rights.
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12241141
Hmmm - possibly there's an older version already on the system that's in use?  Make sure you don't have any unnecessary applications and services running.  As a last resort try booting into safe mode and registering it from there.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:Mike Miller
ID: 12241471
Well I did find another version of the crqe.dll. I tried using regsvr to unregister it but I got the same error. I thought about trying to do it in Safe Mode, but here's the deal...I have to install this application on way more computers than just this one. It hardly seems practical to have to go into safe mode just and register these .dlls manually for every machine.

The actual error I get when trying to register or unregister crqe.dll is

LoadLibrary("\path\crqe.dll)failed - Access is denied.

0
 
LVL 42

Accepted Solution

by:
frodoman earned 500 total points
ID: 12241535
My advice is to go ahead and register this dll in safe mode and make sure that resolves the problem.  If it doesn't then we need to keep looking and don't worry about it - if it does then worry about how to deal w/ the mass installations.
0
 
LVL 13

Expert Comment

by:vidru
ID: 12242650
Also, I'd suggest using the CR 10 Merge Modules in your .msi instead of relying on the P&D Wizard.  You can get them here:
http://support.businessobjects.com/communityCS/FilesAndUpdates/cr10_rdc_merge_modules.zip.asp

-dave
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12242668
I agree w/ Dave - I just wasn't going to go there 'til we knew that was the problem :-)   If your manual registration does the trick then Dave is right, you should use the merge modules.

0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12244735
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

792 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