report not working on other computers
Hi,
I wrote a programme but the report doesn't work on other computers where fastreport is not installed. What should be the problem and how can I solve it?
I wrote a programme but the report doesn't work on other computers where fastreport is not installed. What should be the problem and how can I solve it?
Comments
- Are you building with Run time packages? If so report may only show if BPL file is installed on destination machine.
- Is the FR version a full, licence paid version? If not you will have problems.
- If you installed a trial version of FR & then installed the full version later you may not have fully "uninstalled" the trial ... which can cause problems. Try completely uninstalling FR & re-installing full version.
Adam
I have got licence-paid version.
What is BPL and how can I install it?
This is the error I get
Retrieving the COM class factory for component witt CLSID {4764040E-4222-4DEC-9F2E-82D46E212B3A} failed due to the following error: 80040154
Thanks in advance for your help.
BPL file is the library or link file used by FR with a compiled program. You should find it on your computer, with the name fr3.bpl (or similar ... i.e. fr4 etc., search for fr*.bpl).
If you include this in the same directory as your application program on the users machine it may help things, however BPL files are only used if you "switch on" using them (though this may happen by accident!). You do this in "Project, Options, Library".
--
If the error is the same on all computer then the problem *is* due to some package or library file which is installed on your computer but not on the other computers. I assume you are testing the program on a variety of other computers?
However it is not neccessarily the FR BPL file.
The error message refers to a COM Library ... this is usually something that comes up when your program (or FR itself) is trying to communicate with another application (i.e. FR trying to use part of a WORD doc).
In that case you get a COM error if the version of that program (i.e. WORD) does not support the command you are requesting from FR.
However, I do not use COM, so I cannot comment. You should probably request information from a DELPHI newsgroup covering COM, as they are likely to have a better idea how to solve the problem.
If you are not intending to use COM then you should try to remove that linkage from the build of your application.
Try removing packages you do not think your application requires from the "Project Options Packages" page, then rebuild ... if the application builds without a package then it will be smaller (better) and you may also remove this issue.
Adam
I solved the problem. I registered fastreport3.dll using regsvr32.exe. It worked on other computers.