Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CRPE32.DLL not found

Status
Not open for further replies.

djpatrick

Programmer
Aug 27, 2002
7
US
I have created an application in VB.NET. It works fine on my machine but when I create the install and try to run it on another one I get CRPE32.DLL not found. Does anyone know why this might be happening?
 
Does the machine in question have CRPE32.DLL? If so is it located in a folder which the user has access to?

What OS and Crystal version are you using?
 
I am using Windows 2000 and have Crystal 9 Dev on my development machine. The file does exist on the box in question in C:\Program Files\Common Files\Crystal Decisions\1.0\bin. The user does have access to this file.
 
Why are you using CRPE under .NET? The CRPE is a COM interface. There is a native .NET interface available.

Craig Berntson
MCSD, Visual FoxPro MVP, Author, CrysDev: A Developer's Guide to Integrating Crystal Reports"
 
I have recently started using .NET and don't really know what I am doing yet. We have Crystal 9 Dev and now with .NET have the Crystal that comes with it. I think part of the problem is that an older crpe is being added to the project, however, I can not figure out how to get the newer version. In my bin directory I have 1.0, 1.1 & 2.0 directories. I appears as though the files that .NET is pulling are from the 1.0 folder. If you have any insight into this I would appreciate the help.
 
.NET should be able to pull the requried dll's from the proper bin folder associated with that application.

There should be no need for crpe32 in the .NET app unless you have inadvertenly refrenced the API or the Automation server in the app.

I would check out the Crystal site for some .NET samples and check out the .NET help there is a section for Crystal

Here are a couple fo papers for you

VB

C#

Cheers,

SurfingGecko
Home of Crystal Ease
 
Thanks, I will check out the papers. I have concluded however that .NET is pulling files out of the 1.0\bin rather than the 2.0\bin. When the bin directory is created it is created under 1.0. If I change it to 2.0 I get a little further. If I copy the contents of 2.0 to 1.0 it works. The problem is that I can't seem to get .NET to do this for me properly. Any other thoughts?
 
It should be pulling files out of the 1.0 folder. This is the folder set up by the installation.

CR9 would have created the 2.0 folder and will be the location for CR9 to look to pull its resources from.

Cheers,

SurfingGecko
Home of Crystal Ease
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top