Solved

"Invalid export DLL or export format".

Posted on 2004-10-19
14
2,863 Views
Last Modified: 2008-01-09
Getting the same error as has been previously reported: "Invalid export DLL or export format". Hhave a VB.NET web site exporting CrystalReports to PDF on on a Windows2003 server. Now trying to also deploy exact same thing to a Windows2000 server. Site works fine apart from this bit. Have copied msvcp60.dll to c\winnt\system32, installed CrystalReports SP2, tried differnt formats but made no difference. Urgent help/suggestions needed - please !!!
cj
PS.Framework 1.1, .VET 2003
0
Comment
Question by:CliffordEvans
  • 6
  • 4
  • 2
  • +1
14 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 12350772
>>> Have copied msvcp60.dll to c\winnt\system32

According to the documentation I've read this dll should be copied into the application directory not the sys32 directory (http://support.businessobjects.com/library/kbase/articles/c2013247.asp)

frodoman
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12350912
Interesting that this article states to put it where he did.

http://support.businessobjects.com/library/kbase/articles/c2013333.asp

Did you register it?

mlmcc
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12351128
That is interesting - especially considering both articles site the same exact version number of Crystal...

I would say to at least try it in the application directory since putting it in sys32 didn't seem to help - but given the contradictory information that's just a guess.

frodoman
0
 

Author Comment

by:CliffordEvans
ID: 12351254
Have copied to the website bin directory too but no difference.
msvcp60.dll does not register - "This file cannot be registered"
cj
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12351331
How about moving it to:

C:\Program Files\Common Files\Crystal Decisions\2.0\bin

I haven't seen anything saying to do this, however some of the other export dll's need to go here and obviously B.O. already has wrong info so it may be worth a shot...
0
 

Author Comment

by:CliffordEvans
ID: 12351821
It already got deployed to C:\Program Files\Common Files\Crystal Decisions\1.0\bin.
Rapidly losing my hair over this one !
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 42

Expert Comment

by:frodoman
ID: 12351874
Do you have a 2.0\bin folder already?  I was under the impression that the crystal components with VS 2003 when into the 2.0 folder and the the 1.0 folder was from VS 2002.  

Could be wrong but we upgraded in the past and I've got the dll in both my 2.0 and 1.0 folder...
0
 

Author Comment

by:CliffordEvans
ID: 12351986
No. Even on development PC (VS 2003) only have 1.0\bin, 1.1\Managed and a Patches directory.
Interestingly just noticed a new crxf_pdf.dll in the patches\files directory. Will try to copy this across to the remote server hosting the new website but have exceeded Remote Desktop logins (damn!). Must have been forgetting to logout each time.
Will get back to you once I can get hold of some remote support to reset the server.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12352220
How are you doing the export?  Is this through a viewer or code?

If code show the code.

mlmcc
0
 

Author Comment

by:CliffordEvans
ID: 12355687
The code works fine on development PC and on another web server (Window2003), just having problems deploying to a second web server (Windows2000) although I don't think this is specifically OS related - more likely DLL related. If you still would like to see code though let me know.
cj
0
 

Author Comment

by:CliffordEvans
ID: 12355773
Sorry, should have mentioned that this is through the CRReportViewer.
If I rename crxf_pdf.dll on the 'working' web server I can produce the same error. Have therefore tried putting the same DLL in all suggested places on the 'non-working' server but still no good.
0
 

Author Comment

by:CliffordEvans
ID: 12463722
Solved this myself by using ADO OleDB instead of ODBC RDO !?!
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12632878
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now