>>>Hi
>>>
>>>I've created a foxpro mtdll and am trying to load it from a .net web page web page. WHen I try to load it I get
>>>
>>>System.Exception: Cannot create ActiveX component.
>>>
>>>The mtdll has been created on the PC running a copy of IIS for development.
>>>
>>>Any ideas what I need to do.
>>>
>>>Thnaks
>>>
>>>Nick Mason
>>
>>Nick,
>>Check security. Both DCOM default permissions and your COM.
>>Cetin
>Cetin
>
>can you expand a bit on how I would do that.
>
>Thanks
>
>Nick Mason
From start\run (assuming XP, w2K, 2003 similar - 2003 needs extra app pool settings) run 'dcomcnfg'. Dblclick:
Component services
Computers
Right click 'My Computer' and select properties.
Under 'COM security' tab edit Access Permission and give Internet guest account (machinename\IUSR_machinename where machinename is your computre's name) access right. This is for DCOM default.
Next expand DCOM config folder under 'My computer'. Locate your server MTDLL. Select its properties via rightclick. Under security tab edit Access permissions and give inet guest account access right there to as above.
Cetin