You need to use DCOMCNFG to set up the .EXE server called from the MTDLL. You must run DCOMCNFG on PDFrun.AVFPpdf or whatever your EXE server is prior to using it. Under DCOMCNFG Security, add Custom Access and Custom Launch permissions for the IUSR, IWAM, and ASPNET accounts. You may need to register too, in which case just use regsvr32.
Is your web server Win2k Server? Are you still using Print2PDF?
>I have deployed my VFP mtdll to the webserver. When I was running this on localhost I had not problems with the following command:
>
>loPrntPdf = CREATEOBJECT("prntpdf.prntpdf")
>
>PrntPdf.exe is located in the same directory as the vfp mtdll.
>The only class defined in PrntPdf.exe is called PrntPdf.
>
>I get the following error in my web browser:
>
>icreatepdf err#= 1733 line= 1718
>Class definition PRNTPDF.PRNTPDF is not found.
>1733 Class definition PRNTPDF.PRNTPDF is not found.
>PRNTPDF.PRNTPDF .NULL. .NULL. .NULL. .NULL.
>
>
>What could possible cause this?
>Execute rights? Class not registered? (How would I do that?) Problems with class definition?(but why does it work on localhost?)
>
>Any help is appreciated.
>
>Thanks,
>Einar