Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Running Report from .asp page...
We run IIS on NT4. We want users to generate statements from our website by converting a report form to PDF. You guys probably know how this is done (create a .ps file then use adobe or something else to create the pdf from the .ps file). Anyway, here is how it goes. The user clicks a button on the .asp page which then makes a call to foxpro com object. The foxpro object runs the report to a printer with postscript drivers (report form rpt.frx noconsole to file name1.ps). The problem is if you are in unnattended mode - sys(2335,0) - which you need to be if you are running a webserver, you get a "user interface not allowed at this time" error. However, if you turn off unnattended mode - sys(2335,1) - it will work. The problem comes if there is an error when running that report. The foxpro object becomes unavailable and you won't be able to stop the webservice. You ultimately will have to reboot. Why won't it run a report in unnattended mode? Any help or insight would be extremely appreciated. Thanks.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement