Link to home
Start Free TrialLog in
Avatar of apresto
aprestoFlag for Italy

asked on

Permissions Problem accessing Exe from ASP PDF2SWF

Hi all

i have a pain problem at the moment.

I have a very nifty exe, Pdf2Swf, which funnily enough converts PDFs to SWF.

Now, if i run this app from the server straight from the command prompt, i do not have a problem, however if i run it from a .net DLL from an asp page i get an error.  Obviously this can only be permissions - Can someone tell me which permissions i would need to give to the exe and anything else i would need to change.

Or if anyone else has any other suggestions they are more than welcome

Thanks

apresto
Avatar of Mark Franz
Mark Franz
Flag of United States of America image

What's the error message?  Does the IUSER have permissions on the .dll?  Have you added the .dll to the IIS applications table?
Avatar of apresto

ASKER

Hi mgrfanz

well i get a few errors:

- Couldn't find font Times-Roman- did you install the default fonts?
- RegOpenKeyEx failed

the first one relates to the exe i am trying to run, and the other , well i dont know.

All i know is that these errors do not appear if i run the command from the command prompt

I havent added the dll to the iis application table.

Here is some more info.  What is happening is this, i am creating a PDF programatically ( in the same dll), and i am converting that very dll to a swf with this exe.  if i embedd the fonts in the PDF it converts fine (but i get a dodgy looking pdf), if i dont embed, which is what i need, it doesnt work at all.  its a catch 22

any help is greatly appreciated

thanks
ASKER CERTIFIED SOLUTION
Avatar of nstand
nstand

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial