Discussion:
0x800706f4 A null reference pointer was passed to the stub
(too old to reply)
Drew
2009-08-17 19:15:39 UTC
Permalink
I have an Excel (VBA) script that runs perfectly on a development machine
but when my out-of proc server is placed on a machine with no development
environment it gives me error 0x800706f4 "A null reference pointer was
passed to the stub". When I attach a debug version using remote debugger my
code is not even hit. Any ideas what the problem might be?

Thanks,
Drew
Igor Tandetnik
2009-08-17 19:25:25 UTC
Permalink
Post by Drew
I have an Excel (VBA) script that runs perfectly on a development
machine but when my out-of proc server is placed on a machine with no
development environment it gives me error 0x800706f4 "A null
reference pointer was passed to the stub". When I attach a debug
version using remote debugger my code is not even hit. Any ideas what
the problem might be?
Do you at least know which method is being called when the failure
occurs? Can you show an IDL definition of this method?

Are you using TLB-driven marshaling, or are you building proxy/stub DLL?
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
Drew
2009-08-17 22:14:28 UTC
Permalink
Sorry for wasting your time. It turns out that when we stopped supporting a
certain method instead of changing the implementation to return E_NOTIMPL, I
commented out the method in the ODL file and every method that followed that
commented out method failed in one way or another. Guess that's a good
example why not to change interface definitions.

Thanks,
Drew
Post by Drew
I have an Excel (VBA) script that runs perfectly on a development
machine but when my out-of proc server is placed on a machine with no
development environment it gives me error 0x800706f4 "A null
reference pointer was passed to the stub". When I attach a debug
version using remote debugger my code is not even hit. Any ideas what
the problem might be?
Do you at least know which method is being called when the failure occurs?
Can you show an IDL definition of this method?
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
Loading...