Welcome! and rules
Joel on Software
Running a program to create a pdf
I want to port some existing powerbuilder reports to the web. I have a powerbuilder app that takes a command line argument of the report name and creates a pdf file. I want to have the user select the report to run from an asp.net page run the report and send back the pdf.
Because ASP.NET app is running as the ASPNET user which most likely doesn't have the "PDF printer" (or whatever it is) in its user profile. Secondly if it's creating files somewhere, the ASPNET account needs write permissions to whatever directory it's using. Basically, ASPNET needs to be granted the permissions/rights to do whatever it needs to do. Another approach would be to have ASP.NET run under a different user account that can do these things. See: http://msdn.microsoft.com/library/en-us/dnnetsec/html/SecNetHT01.asp
are you creating your pdf reports by printing to a pdfprinter?
It appears that Acrobat will not run in a server environment (this is from the Adobe website) and apparently ASP.NET qualifies as a server environment.
I solved exactly this problem on a project a while back, using a PDF printer driver from Black Ice Software. (I remember discussing it on the main message board about a year ago.)
Better Than Being Unemployed...
bulent f. cavan dnm123
bulent f. cavan
Fog Creek Home