Quantcast
Channel: PDFCreator - pdfforge forums
Viewing all articles
Browse latest Browse all 2625

PDF Creator Asp.Net on server

$
0
0

@mozila11 wrote:

Hi There,

I've an application which requires users to upload a document in .doc or .docx format and I have to convert it to PDF.

In my code - I'm calling an exe which will call pdfcreator.exe with command line arguments.

Code :

var psi = new ProcessStartInfo(System.Configuration.ConfigurationManager.AppSettings["pdfcreator"])
{
Arguments = "/PrintFile=\"" + path + key + ext + "\" /PrinterName=\"PDFCreator3\"",
UseShellExecute = false

        };

        var p=Process.Start(psi);
        p.WaitForExit();

It runs very well on local muchine. But after deploying to server it stucks at some point.

I'm using Open Office as word application.

I'm running this under Administrator account.

Any ideas to help?

thnx

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 2625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>