Solved

Permissions Problem accessing Exe from ASP PDF2SWF

Posted on 2007-04-04
3
894 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

832 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