Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call .NET COM from VFP COM from ASP.NET
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
00699599
Message ID:
00699625
Vues:
15
Try writing a small VFP program that calls EntreSystemServices from the same machine that ASP.NET is running from. The problem could be with security since the ASP.NET account runs under the user ASPNET unless impersonation is being used.

>We're getting this error in an ASP.NET application.
>
>Exception Details: System.Runtime.InteropServices.COMException: securityservice.recorderror f:\source code\codebook\flash\codebook\common\libs\csession.prg Error in line 379 Class definition ENTRESYSTEMSERVICES.SYSTEMSETTINGS is not found. 1733
>
>We are calling a VFP COM component from ASP.NET and the VFP COM component happens to call another COM component (which is a .NET COM component)
>
>Call path:
> ASP.NET
> calls SecurityService(VFP COM)
> calls EntreSystemServices (.NET COM)
>
>It works fine on the machine that everything is compiled on (iow, the developer machine) but once it's moved to a different box, it seems that the VFP component can't find the .NET COM component registration.
>
>On the test machine the .NET COM component intellisense works in VFP so it appears that the registration is correct.
>
>We've registered the COM component manually and registered the typelib, etc. but this one is dogging us.
>
>Oh, BTW, the VFP COM component is from the COMCodebook libs (that shouldn't affect anything in this scenario, but I mention it for interest's sake).
>
>TIA,
>Chris
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform