Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mtdll problem
Message
De
25/11/2004 07:28:46
 
 
À
25/11/2004 07:16:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Divers
Thread ID:
00964620
Message ID:
00964647
Vues:
7
>>>>>>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
Fil
Voir

Click here to load this message in the networking platform