Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running Report from .asp page...
Message
De
05/03/2003 10:25:44
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Running Report from .asp page...
Divers
Thread ID:
00761492
Message ID:
00761492
Vues:
62
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
Fil
Voir

Click here to load this message in the networking platform