Link to home
Start Free TrialLog in
Avatar of alexking
alexkingFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Invalid Export dll using Crystal 8.5 under Terminal Server

Using Crystal Reports 8.5 with my VB6 SP2 application under Microsoft Terminal Server I get the following error when I save a report to disc with data:
"Error in file C:\Myfilename.rpt Invalid Export dll or Export format."

It is being saved as a crystal report file:
    CrystalReport1.Destination = crptToFile
    CrystalReport1.PrintFileName = myfilename.rpt
    CrystalReport1.PrintFileType = crptCrystal
    CrystalReport1.PrinterName = Trim(Printer.DeviceName)
    CrystalReport1.PrinterDriver = Printer.DriverName
    result = CrystalReport1.PrintReport

This works perfectly under Windows XP and on Windows Server 2003, but for PCs or terminals dialing into the 2003 server computer using Microsoft Terminal Server it gives the above error. Does anyone know what is missing?


ASKER CERTIFIED SOLUTION
Avatar of frodoman
frodoman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alexking

ASKER

I've just solved it!
Under normal use the files are in windows/crystal.
Under TS, it looks in %userprofile%/Windows/crystal.

Create the folder under the profile, copy the DLLs and hey presto!
Avatar of Mike McCracken
Mike McCracken

PAQ/refund

mlmcc
I did answer the question myself in the end as above so was unsure how to close it:

alexking:I've just solved it!
Under normal use the files are in windows/crystal.
Under TS, it looks in %userprofile%/Windows/crystal.

Create the folder under the profile, copy the DLLs and hey presto!
In the future you canpost a request in the Community Support with a link to the question asking a moderator to close the question.

mlmcc
Forced accept.

Computer101
EE Admin