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
Cetin
I have a anonymous users guest account (its named slightly differently) and I have given that user rights to my dll. Still not loading it though. Same error.
Thanks
Nick
>>
>>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
>
>Nick,
>Go to your control panel and if that user is not there add it. It's a special built-in account (guests group).
>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