Information générale
Catégorie:
Applications Internet
>>>>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
Hi Cetin
when I enter PC030555\IUSR_PC030555 on the access permissions I get name not found.
Any ideas ?
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement