Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Error exporting to PDF (RPC server is unavailable)

roedeckerroedecker SpainMember Posts: 0
edited February 2015 in C++ Builder

Hello.

First of all, sorry for my English, it's not my first language.

I have a problem testing my C++ Builder 2007 applications in a Windows 8 HP tablet, when I try to export a Crystal Reports archive to PDF. It works in two computers with the same operating system, but in the tablet it shows the following error: "System Error. Code: 1722. The RPC server is unavailable"

The code is simple, as it seen:

crystal->ExportOptions->FileType=AdobeAcrobatPDF;
crystal->ExportOptions->FileName = this->archivo;
crystal->Export();

I try changing the process from Export() to Print(), and the result is the same. Whereas a random third party program exports correctly.

I have found some answers on the Internet, but they don't help me. I already have running the print spooler and both RPC services. I have disabled the firewall and change the registry like said in the Microsoft link (although it's all in local, even the tablet isn't in the network) and I'm using an administrator local account. Can somebody help me?

Thanks in advance.

Sign In or Register to comment.