PDA

View Full Version : Convert Word docs to PDF on a server


kdbarrett
02-20-2008, 07:52 AM
Hi,

I'm trying to have PrimoPDF convert Word docs to PDF on a webserver. The reason for this is that there are a number of restrictions on the machine where the Word docs are created. So the solution I'm working on allows the user to upload the Word doc to a webserver where it is converted to PDF. Works just fine in my development environment (Visual Studio C#.Net), but when I publish the site and try to just run it in a browser, I get errors saying that ASP.NET is not authorized to use the requested resource. So obviously I need to get some permissions set up but so far I haven't been able to get that piece working.

Has anyone done this sort of thing before?

Thanks

Lance Kayashima
02-25-2008, 05:21 PM
In an development environment a lot of the security restrictions are removed which is allowing your application to run. However, once it is moved under the restrictions of IIS, then abilities to launch processes, and access directories/files/Registry is blocked and the application fails.

PrimoPDF is not intended to run as a server solution (it is a simple desktop application). This ASP application would need activePDF DocConverter/Server which is designed to run in this restricted server environment.

kdbarrett
02-26-2008, 05:33 AM
When I was evaluating the product I explained to my contact person what I wanted to do and I was assured that PrimoAPI could do it.

kdbarrett
02-26-2008, 05:40 AM
I am using PrimoPDF API. Perhaps it's more correctly referred to as activePDF API? Does that make the difference?

Lance Kayashima
02-26-2008, 08:25 AM
I'm sorry, I thought that you were referring to the free version of PrimoPDF.

Be aware that PrimoAPI like PrimoPDF is meant for the single user desktop environment and not for server applications. Using PrimoAPI for a Web base server application is not supported. activePDF DocConverter and Server is designed for server applications.

Note: In addition to this forum, PrimoAPI qualifies for direct support. Please registry and enter your support request at:
http://www.activepdf.com/support/portal.cfm