M
Matram
Hi,
I have a NET 2 application which builds a Word report through automation. It
is mostly text but with a few charts. Charts are drawn to the Clipboard and
then transferred to Word by a range.Paste().
The application has been working like this for some years. I have recently
started getting intermittent errors: RPC_E_CALL_REJECTED when doing the
Paste. If I disable the Paste everything is OK.
I am using Word 2003. I am not aware of any changes done to the code in this
area.
The report generation is run on a separate thread which has its apartment
state set to STA.
Any suggestions for how to further debug or a possible workaround?
Mats
I have a NET 2 application which builds a Word report through automation. It
is mostly text but with a few charts. Charts are drawn to the Clipboard and
then transferred to Word by a range.Paste().
The application has been working like this for some years. I have recently
started getting intermittent errors: RPC_E_CALL_REJECTED when doing the
Paste. If I disable the Paste everything is OK.
I am using Word 2003. I am not aware of any changes done to the code in this
area.
The report generation is run on a separate thread which has its apartment
state set to STA.
Any suggestions for how to further debug or a possible workaround?
Mats