>Bill,
>Thanks for the reply. I've been reading Rick's articles, but they are for NT 4.0 and I'm running IIS on 2000 Server so I'm getting lost in the configuration instructions.
>Also, is IUSR_machinename the machine name of the box that has the NT Server which runs my network or the machine name of the box that my IIS Server is installed on, or the machine name of the box I'm developing on?
>Thanks,
>John
I see Claude gave you some more good info on this. I don't think the configuration should vary that much from NT4.0 to Win2K. You basically run DCOMCNFG, locate your COM server in the list, click the Properties button and set the various configuration options. You can also set all this in the DCOMCNFG Default options and set the COM server to run under the Default setting, and I believe R. Strahl indicates this as acceptable for a development box but generally you should set the options for each individual COM server to maintain security.
The key items to set in DCOMCNFG are the Security and the Identity.
Identity needs to be set to a User who has all necessary rights to the box ( and possibly LAN drives, etc. ) for the COM server to perform it's functions.
The Security needs to be set to allow the particular users to run the server. This usually means IUSR_machinename and possibly IWAM_machinename ( as Claude indicated ) depending on how IIS is configured. I believe Rick's articles cover this pretty well. The IUSR_machinename is the machine the COM server is registered on and run on, I.e. the box you are running DCOMCNFG on. ( At least that's the way I've always seen it done. If there are other possibilities here, I ahve not run into them. ) E.g. if the box you registered the COM server on, the COM server is executing on and that DCOMCNFG is run on to configure the COM server has the name
BillsMachine, then the IUSR_machinename account you want to set up in the DCOMCNFG Security tab is IUSR_BillsMachine and the IWAM_machinename account you want to set up in the DCOMCNFG Security tab is IWAM_BillsMachine.
If you will be doing a lot of work in this area, you might want to pick a copy of Rick's book
Internet Applications with Visual FoxPro 6.0 as he covers all this stuff in detail there.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.