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:
>