OLE control or Automation server Error

Ashish_GuptaAshish_Gupta Member Posts: 56
dear all,
I have made code unit where i use automation variables and problem is that when run code unit directly then they work fine but when i use this code unit on report then its give error.


Microsoft Dynamics NAV Classic
This message is for C/AL programmers:

An exception was raised in method Append. The OLE control or Automation server has returned error (HRESULT) -2147352567.
The component did not provide the exception description.

OK
-


:(

Thanks in advance
Ashish Gupta
Navision Technical Consultant

Comments

  • Jorge_Torres_[MSFT]Jorge_Torres_[MSFT] Member, Microsoft Employee Posts: 29
    0x80020009 or -2147352567 is a general Exception that has occurred on your component.
    Look for the Append method on your component, or better yet, attach Visual Studio to finsql.exe, or finsql and enable Exceptions. This should stop where you encounter the problem.
    “This posting is provided "AS IS" with no warranties, and confers no rights.”
  • MrJackalMrJackal Member Posts: 29
    Did you ever find out the route cause of this issue because i have a codeunit which i execute directly and this works. If i run it automatically from the job queue it fails :-(
Sign In or Register to comment.