Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exception??? with COM server and REPORT form
Message
 
To
14/10/2002 13:39:51
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00711026
Message ID:
00711040
Views:
12
>I have been using REPORT FORM TO FILE ... to be able to generate PDF files ( with the help of PDF Writer printer) for the last 2 years.
>I am in the process of upgrading the application to work as a COM server ( via FOXISAPI and all hell broke loose...
>The code works like a charm if the object is called within Fox interface, it generates the PDF without problems... but when called via ISAPI it just dies in lala land...
>I read some stuff... that it creates a COM exception... because of the dialog window that the reporter creates... is that right? and if so... is there any way of circumventing this particular problem? or I should just forget REPORT form... and also probably Foxpro.
>alex
>
>P.S. worse than that when I disable any user interaction...
> i.e. use of SYS(2335,0)
>it comes back with a funky error that operation is not allowed.

Please clarify some points:
  • are you building the COM object as Multithreaded-DLL? If this is the case, no need of sys(2335); user interaction is already disabled.

  • how are you activating your COM object? if it's inside an IIS, you should grant the anonymous user the necessary permissions to write the file (not granted by default, if you are just using IUSR_xxxxxx)


  • Regards
    Jose.
    ------------------
    Jose Marcenaro
    Tercer Planeta - Argentina
    http://www.tercerplaneta.com
    Previous
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform