IBM Support

Scheduled Database Optimization Fails with message "Database optimization completed with error" / "Remote server URL not defined!"

Troubleshooting


Problem

After setting up a scheduled database optimization, it seems to fail with no error details in the Batch Queue job detail.
However, manual database optimization works properly.

Symptom

Screen:
When scheduling a database optimization, it fails without giving any error in the batch queue list:
scheduled optimization error
Database optimization completed with error
Finished with Error Database Optimized
  
Event Viewer
In event viewer (on the Controller Application / Batch Server), the following error can be seen:
Description:
Error occured: System.Exception: Remote server URL not defined!
   at CCRRemoteServerProxy.RemoteServerProxy.InitProxy(ControllerSoapHttpClientProtocol& prx, String wssUrl)
   at CCRRemoteServerProxy.RemoteServerProxy.get_g_proxySessionManagerClient(String passport, String wssUrl)
   at ControllerServerCommon.SessionManagerClient..ctor(String guid, String userId, String database, Int32 applicationId, String wssUrl)
   at FrDatabaseBT.OptimizeT.RunOptimization(String sGuid, String sUser, String& Spara, Int32 lJobID, Int32 lSchedDate, Int32 lSchedTime, String& sLogErrText, Boolean bBatch, String wssUrl)

Document Location

Worldwide


[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.4.0","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Cognos Controller

Software version:
10.4.0

Operating system(s):
Windows

Document number:
886589

Modified date:
09 May 2025

UID

ibm10886589

Manage My Notification Subscriptions