Solved

"Invalid export DLL or export format".

Posted on 2004-10-19
14
2,862 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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

705 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

20 Experts available now in Live!

Get 1:1 Help Now