|
-
Sep 22nd, 2005, 02:40 AM
#1
Thread Starter
New Member
Automation Error
--------------------------------------------------------------------------
Run-time errro '-2147418105(80010007)':
Automation error
The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call may have been executed.
--------------------------------------------------------------------------
I have a VB6 application that supports plugins. All the plugins (activex dll's) interface with the application through an activex dll.
I get this error when the plugin tries to call a function in the application [through the plugin interfacing dll]
On some rare occasions I dont get this error.
Can this be fixed????
Thanks in advance!
-
Sep 22nd, 2005, 03:06 AM
#2
Hyperactive Member
Re: Automation Error
This maybe a duuuuuuuh kind of offering but I have only ever seen this error relating to ActiveX Exe's and it occurs if the ActiveX Exe has gone out of memory for whatever reason. Is the Interface structure EXE > ActiveX DLL > DLL or is there some hooking singleton object (ActiveX EXE (namely Server type)) object in the mix ?
Chubby..
-
Sep 22nd, 2005, 03:44 AM
#3
Thread Starter
New Member
Re: Automation Error
Not using Activex EXE anywhere.
The interfacing dll is partly implemented by the application exe and partly by the plugin dll.
I get this error only while debugging the plugin and not while using the compiled version of the plugin.
This is making debugging very difficult.
Btw, both the interfacing dll & plugin dll are activex dll's
-
Sep 22nd, 2005, 04:30 AM
#4
Hyperactive Member
Re: Automation Error
 Originally Posted by chand
Not using Activex EXE anywhere.
The interfacing dll is partly implemented by the application exe and partly by the plugin dll.
I get this error only while debugging the plugin and not while using the compiled version of the plugin.
This is making debugging very difficult.
Btw, both the interfacing dll & plugin dll are activex dll's
OOK,.... doesnt happen in production.... one suggestion maybe that the ActiveX Dll plugin cannot see the running instanace of the EXE project at some point or other.. If this is purely debugging then for my money I would implement some kind of debugging file write, compile the lot and and run some test scripts to ensure all calls & sinks get to and from their destination... ??
Chubby..
-
Sep 22nd, 2005, 07:10 AM
#5
Junior Member
Re: Automation Error
I experience the similar automation error in the following scenario:
When there was a runtime error in any Active-X DLL that my program used (some error that may sound more reasonable like Type Mismatch etc).
This error caused the DLL to crash. Now if I try to execute some operation of the same DLL, the automation error appeared.
I would suggest that you investigate/debug some message that appeared before this automation error. This might give you the idea where error actuallyu exists.
-
Sep 23rd, 2005, 02:05 AM
#6
Thread Starter
New Member
Re: Automation Error
I seem to have found a little pattern that allows debugging without the main application exitting.
Before I break in the plugin dll's source, I make sure that the ide has focus and not the main application.
For example - currently for my import plugin a common dialog appears first for file selection - next I give the ide focus & after that I focus on the common dialog.
If the application exe is given focus before the common dialog then most of the times the application exits {even with a completely functional plugin}.
Thanks for ur help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|