We have a program written in VB.net using the version 2 framework.

The program uses a fox com object written using vfp8 and compiled as an
exe.

On our development machine everything works fine, it also works on SBS 2003
in our office.
The problem is when we deploy it on our customer's SBS2003 machine we get
the following error.

The server threw an exception. (Exception from HRESULT: 0x80010105
(RPC_E_SERVERFAULT))
at satnavcom.htsatnavClass.set_CEXEPATH(Object CEXEPATH)
at satnav.Form1.startdata()
at satnav.Form1.DoWork()

The error occurs at the point where a property of the com object is set. If
I comment out the code which sets this property we get the same error but on
the line which sets the next property.
CEXEPATH in the exception above is the com object property it fails on.

All necessary runtimes are on the machine and it is registered correctly.

I have spent hours on this problem without success, has anyone come across
any similar problems.

I have tried giving everyone permission to this com object use dcomcnfg but
it still doesn't work.

TIA

Dave

Re: .net + fox com objects by swdev2

swdev2
Thu Sep 20 14:36:27 PDT 2007

Hullo Dave -

I'd suggest getting back to the original VFP developer,
and asking exactly how to deploy his package.

Usually, a VFP developer will make an installation set for this kinda thing.

Basically, the installation set will DEPLOY the COM object properly,
and also make that extra thing for proper dcomcnfg configuration.

Hopefully, it's not something as obvious (to me) as including the VFP 8
runtime module for
the distribution set.

Good Luck !

Mondo Regards [Bill]
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net

"dave" <dave@somewhere.com> wrote in message
news:eoQooDh#HHA.3916@TK2MSFTNGP02.phx.gbl...
> We have a program written in VB.net using the version 2 framework.
>
> The program uses a fox com object written using vfp8 and compiled as an
> exe.
>
> On our development machine everything works fine, it also works on SBS
2003
> in our office.
> The problem is when we deploy it on our customer's SBS2003 machine we get
> the following error.
>
> The server threw an exception. (Exception from HRESULT: 0x80010105
> (RPC_E_SERVERFAULT))
> at satnavcom.htsatnavClass.set_CEXEPATH(Object CEXEPATH)
> at satnav.Form1.startdata()
> at satnav.Form1.DoWork()
>
> The error occurs at the point where a property of the com object is set.
If
> I comment out the code which sets this property we get the same error but
on
> the line which sets the next property.
> CEXEPATH in the exception above is the com object property it fails on.
>
> All necessary runtimes are on the machine and it is registered correctly.
>
> I have spent hours on this problem without success, has anyone come across
> any similar problems.
>
> I have tried giving everyone permission to this com object use but
> it still doesn't work.
>
> TIA
>
> Dave
>
>
>
>
>
>
>