Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with COM and Web Service
Message
From
24/10/2007 20:09:35
 
 
To
24/10/2007 12:37:01
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01263176
Message ID:
01263391
Views:
15
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform