Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with COM and Web Service
Message
De
24/10/2007 20:09:35
 
 
À
24/10/2007 12:37:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01263176
Message ID:
01263391
Vues:
16
>Hi:
>
>I have a Web Service developed in Vb.Net. One of its methods does a call to a COM object developed in Visual Fox. When I run my application in production, I get the error:
>"Creating an instance of the COM component with CLSID {01DFFCBA-0138-4836-BD6F-CB17-CE94E2C5} from the IClassFactory failed due to the following error: 80004005"
>The user ASPNET has "Read" permissions in the folder where is the COM object.
>What more things should I check ?
>
>Regards.

I have seen similar things. This is usually caused by you testing the COM within the VFP IDE and then leaving it open.

The usual things to do is:

1. Shutdown VFP
2. Restart IIS since the COM will be cached in IIS.
3. Recompile the VFP DLL
4. In VS delete the Reference to the VFP Interop.Dll in the BIN directory and re create it.
5. Rebuild the solution. All should be well now.

Bernard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform