Business Objects – OpenDocument API – An error has occurred: An error occured while trying to view the document

Posted on Updated on


If you get this error when trying to use OpenDocument API to open up a Web Intelligence report (this is my case), you may be using iDocId parameter like I did.
Try using the sDocName parameter with the report name instead, it worked for me that way after scratching my head for several hours ;)

**Update: Turned out that the parameter name is case sensitive, after I changed the parameter from iDocId to iDocID, it’s working fine now ;)

Advertisements

One thought on “Business Objects – OpenDocument API – An error has occurred: An error occured while trying to view the document

    Ashish Kothare said:
    September 23, 2011 at 11:27 am

    Hi,
    Some of the users at my client’s place are facing this error when opening a crystal report. But this is happening at random i.e. sometimes the report opens and sometimes it returns this error.
    Also, when this error is encountered, all the reports return this error on opening unless the users logs out of the machine and logs back in.
    Any ideas on why this should happen?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s