TXtraDev
Hi,
im a rbserver newbie and i am trying to get the printer button visible in
the browser. I have waler's textradevices.
According to your manual i have to add include rsWebAdapterPDFWaler.
rsWebAdapterPDFWaler uses TXtraDev wich is not present in the source
directory of waler's. It is present in older versions (delphi7). I'am using
delphi2005, ReportBuilder Server 9.02 and walers dvd9.exe.
Do i have to contact waler for te file(s) or dou you have a different
version of rsWebAdapterPDFWaler for me. Using the older txtradev does'nt
work.
greetings
Ruud
im a rbserver newbie and i am trying to get the printer button visible in
the browser. I have waler's textradevices.
According to your manual i have to add include rsWebAdapterPDFWaler.
rsWebAdapterPDFWaler uses TXtraDev wich is not present in the source
directory of waler's. It is present in older versions (delphi7). I'am using
delphi2005, ReportBuilder Server 9.02 and walers dvd9.exe.
Do i have to contact waler for te file(s) or dou you have a different
version of rsWebAdapterPDFWaler for me. Using the older txtradev does'nt
work.
greetings
Ruud
This discussion has been closed.
Comments
Thanks for bringing this to our attention. We have contacted Waler about
getting the latest version of TExtraDevices for D2005.
I installed the trial. Looks like the 'uses' clause of the
rsWebAdapterPDF.pas unit needs to be modified. Try modifing it to the
following.
uses
TXRB,
TXComp;
When I try that, I receive an error about TXRB beinging compiled with a
different version of IdSMTP (an Indy unit). I think D2005 supports multiple
versions of Indy. I do not know which one Waler requires.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I now see the printer button and id seemed to work fine.
Are there restrictions to what i can print this way? If i put an image on a
report i get an "Canvas does not allow drawing" message in mij browser after
i click the print button.
We normaly create reports in a delphi/rbuilder win32 app using report
designer/rap/dade/sql/teechart etc environment. We save the reports in an
Oracle database. Now i retrieve the reports in the browser. It works...
starts to work... fantastic.
How do i do things thread save? The report definition holds an sql connected
to the session of the win32 app. When i retrieve the report that session is
not there. When I change the name of the oracle session into the same name
as the report holds then it works. When is change daod.pas that it overides
the session name and uses the oracledatabase name then it works as wel.
When i open 2 browsers then pictures in the "explorer" and report start to
disappear. if i start a third browser the page can not be opened. I feel
that somewhere i mis thomthing crusial.
Can you give me a hint?
Thanx in advance
Ruud
1. Please specifiy whether the "Canvas does not allow drawing" error occurs
when previewing the report or only when print to PDF. I will email you a
couple of patches for PDF issues reported with RB 9.02.
2. Ensuring a thread-safe data connection usually requires putting a
Connection component on the datamodule that contains the report volume. If
the data access component set includes a separate session component (i.e.
BDE), then you also need a Session component. See the RB Server Developers
Guide for more details.
You did not specify what type of connectivity you are using. Most customers
uses Oracle are using Direct Oracle Access (DOA). Check out
RBServer\Demos\Servers\Explorer Databases\Oracle for an that uses Direct
Oracle Access. If you using another component set, the same concepts apply.
Consult the documentation for your component set or ask their tech support
about thread-safety.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
error only occurs when printing to pdf. It opens a new browser and in stead
of opening the pdf it only gives the error message. I recieved the patches
and tried them but it makes no difference. It only happens with a image.
printing of charts barcodes etc. works fine.
2 I started by using the demo in RBServer\Demos\Servers\Explorer
Databases\Oracle and it seems to work but i don't trust it because of the
1. The cause of that error can often be that no default printer driver is
installed for the account under which the application is executing. As a
test try using the ClientReport to generate pdf's and see whether the same
error occurs. If it does you can see whether the error is on the server or
the client. (Note that server exceptions are passed back to the client, so
sometimes it is hard to tell). If you do not receive an error using
ClientReport, then try a WebDebugger app. Both of these apps will run under
your user account.
An ISAPI dll will run under a special account created by IIS, typically is
called IWAM_MachineName. That account likely has no printer driver
installed.
We strive to remove all dependency on having any printer driver installed.
Sometimes a customer finds a new case.
2. The examples are all thread-safe. Keep in mind that when you originally
create a report, the DataSettings are saved as part of the report
definition. So the DatabaseName saved in the report needs to be the same as
the name of the Connection object.
3. The deployment licensing is server machine and per CPU. RB Server
Edition includes one Server Deployment license for a single CPU. This
enables you to install a report server solution to a single CPU machine.
Additional Server Deployment licenses are US $249.00 per CPU. Thus to deploy
a server solution to a dual processor machine requires two deployment
licenses. A report server can support as many clients as the hardware will
allow. In summary, the licensing is per server CPU, not per client seat.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I dont recieve the error using the thinclient app, What doe you mean with:
Where can i find a WebDebugger app?
Ruud
\RBServer\Demos\Web Tier\Web Debug
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thanks, I had the same problem and this was my solution. The IIS user
obviously has no printer, so I changed the user the site is running under.
This can be done on the security tab in the properties page of the site (or
virtual directory).
(BTW: the documentation is not updated yet, it states I need an add-on to
produce PDF on a webapplication. I used the standard rsWebAdapterPDF)
regards,
Marcel
Thanks for the feedback.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com