Dean le Pere

Cognos 8 Error: An error occurred while performing operation ‘sqlPrepareWithOptions’ status=’-121′

In BI, Technology on August 11, 2010 at 10:02

 

Every now and then when I or a user runs a Cognos report we get the following error: 

An error occurred while performing operation ‘sqlPrepareWithOptions’ status=’-121′. 

 Description:
UDA-SQL-0564 [Microsoft OLE DB Provider for SQL Server]Deferred prepare could not be completed. UDA-SQL-0564 [Microsoft OLE DB Provider for SQL Server]Connection failure (SQLSTATE=08S01, SQLERRORCODE=0) RQP-DEF-0149   

 Up until today I always had to reboot the Cognos server to resolve this issue. But I found that if you restart the IBM Cognos 8 Service within the IBM Cognos Configuration, it also fixes the problem. I hope this assists you if you also get this error popping up every now and then. 

Screenshot of the Cognos Configuration

 

If this solution works for you, or if it does not, please leave a comment to that effect so that others can also learn from what you have found. 

  

Advertisement

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 )

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

Follow

Get every new post delivered to your Inbox.