Solved

Permissions Problem accessing Exe from ASP PDF2SWF

Posted on 2007-04-04
3
885 Views
Last Modified: 2008-01-09
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
0
Comment
Question by:apresto
3 Comments
 
LVL 18

Expert Comment

by:mgfranz
ID: 18851356
What's the error message?  Does the IUSER have permissions on the .dll?  Have you added the .dll to the IIS applications table?
0
 
LVL 23

Author Comment

by:apresto
ID: 18851705
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
0
 
LVL 4

Accepted Solution

by:
nstand earned 500 total points
ID: 18853011
Try running filemon and regmon on the server and then call your web page. Then stop file/regmon and search each log file for "Access Denied"

http://www.microsoft.com/technet/sysinternals/default.mspx

This should show you any file level or registry level permission problems.

It may of course be IIS that is blocking the calling of the .exe/.dll so make sure this has been allowed through the IIS MMC snap-in.

You may also want to check the IIS Log Files and http error log files for further information
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

There are some basic methods for preventing attacks on, hacking of and unauthorized access to a network -- maybe not completely, but up to a certain level. Start with a well-reputed firewall and unified threat management (UTM) system -- a gateway…
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now