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

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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform