Access violation using the OLE interface

Author Message
Julien 10/21/2003 08:41 am
Hello,

I have problems using the OLE Interface of OE Ent. within VC++ programs. I sometimes get Error Access Violation at addresses 0046FFB7 and 006BC5C2.
I noticed that such a problem had been mentionned by "Jeremy" on 07/13/2002 in this forum, but can not see any further information.
Had this problem been solved, or is it due to a known bug ?

I am using the latest version of OE.

Thanks for your help.
Oleg Chernavin 10/23/2003 01:08 am
Hello,

Is there any way to reproduce it or to see which OLE calls cause the problem?

Thank you.

Best regards,
Oleg Chernavin
MetaProducts corp.
Julien 10/23/2003 03:19 am
Hello,

I will try to find a way to reproduce it.
In th meantime, I can give you the SCODE that go with these errors. These are:
-2147023170
-2147023174
-2147023169
Is there a way to know what they mean ?

Thanks for your help.
Oleg Chernavin 10/23/2003 10:21 am
These codes do not look like anything standard. I can`t find them in OLE documentation.

Oleg.
Julien 10/24/2003 03:36 am
Hi Oleg,

I looked for the meaning of these error codes. They are windows error codes, and the one which appear most often is "RPC_SERVER_UNAVAILABLE". It is always the first one in the serie of errors I get.

It occurs in a loop on the GetStatus() method of IOEProject to check the status of the project to detect the end of the download.

Does that help you to identify the problem ?
Julien 10/24/2003 03:36 am
Hi Oleg,

I looked for the meaning of these error codes. They are windows error codes, and the one which appear most often is "RPC_SERVER_UNAVAILABLE". It is always the first one in the serie of errors I get.

It occurs in a loop on the GetStatus() method of IOEProject to check the status of the project to detect the end of the download.

Does that help you to identify the problem ?
Oleg Chernavin 10/24/2003 04:09 pm
Do you have Offline Explorer Enterprise running on the same system where your controlling application runs? Or they are located on different computers and access each other via DCOM?

Oleg.
Julien 10/27/2003 03:25 am
Both Offiline Explorer Entreprise and the controller applications run on the same computer. Moreover, the Offline Explorer window is still present on the screen when I get the error.

Julien.
Oleg Chernavin 10/30/2003 08:04 am
Sorry for the long delay. Can you please try the updated version of oe.exe file (replace the old file with it):

http://www.metaproducts.com/download/betas/oee1331.zip

Let me know how it works.

Thank you.

Oleg.
Julien 10/31/2003 07:52 am
Hi,

I just tried this new version, but it does not solve the problem, unfortunately. I still get Access violations error, and the same error messages. However, now, it seems that the error message that cause the problem is RPC_CALL_FAILED and RPC_CALL_FAILED_DID_NOT_EXECUTE, followed, after, by some RPC_SERVER_UNAVAILABLE (3 projects run in the same time, and the first to hang seems to hang the 2 others)

Julien
Julien 10/31/2003 07:52 am
Hi,

I just tried this new version, but it does not solve the problem, unfortunately. I still get Access violations error, and the same error messages. However, now, it seems that the error message that cause the problem is RPC_CALL_FAILED and RPC_CALL_FAILED_DID_NOT_EXECUTE, followed, after, by some RPC_SERVER_UNAVAILABLE (3 projects run in the same time, and the first to hang seems to hang the 2 others)

Julien
Oleg Chernavin 11/02/2003 03:28 am
Can you try another thing - set 2 seconds delay between downloads? This helps with fast downloads, when Offline Explorer doesn`t parse loaded HTML files too fast and the queue becomes more and more crowded.

Oleg.
Julien 11/04/2003 10:43 am
Stil the same problem, except that the download os slower because of the waiting time.
I`ll try to reduce the number of projects active simultaneously, to see if that helps, but I`m afraid it won`t solve the problem

Thanks anyway

Julien.
Oleg Chernavin 11/05/2003 04:45 am
Yes, please let me know.

Oleg.