Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling VFP Com Object
Message
 
To
17/04/2006 15:25:30
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
01114135
Message ID:
01114452
Views:
16
What kind of object? DCOM Object or InProc dll?

If it's an EXE you'll need to register it with DCOMCNFG and make sure the Web Server account has the appropriate rights to execute it.

DLL Servers should work though as long as you imported the object into a .NET assembly.

+++ Rick ---

>I have a small Com object in VFP that I am trying to call from a .net web service. However I get the following error which makes me beleive it is a permisions error. I have tried to use impersonation but either I did something wrong there or that wasn't the issue. Any ideas?
>
>Thanks
>
>
>System.Web.Services.Protocols.SoapException was unhandled
>  Actor=""
>  Lang=""
>  Message="System.Web.Services.Protocols.SoapException: Server was unable to process request. --->
>System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID
>{793497DD-9713-41A2-A656-3B5D46B30564} failed due to the following error: 80070005.
>   at Service.Test()
>   --- End of inner exception stack trace ---"
>  Node=""
>  Role=""
>  Source="System.Web.Services"
>  StackTrace:
>
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform