Product:
Cognos Controller 85

Symptom:
Error message in Cognos Controller 8.5 when you try to access menu Maintain – Jobs – Define.
(This menu is only available when you use a Cognos Controller database in the New Consolidation Engine mode. You can test with a new empty controller database)

Problem:
Model not found in context; job
Unable to find instance of model of type: job, ttype interface com.cognos.ccr.models.job.JobModel (load=LAST)
Exceptionid=ERR.ANY.WEBSERVICECONNECTIONEXCEPTION.CANNOT_EXECUTE_SERVICE, argument(s)=[http://server.domain.com/cognos8/controllerserver/ccrws.asmx,
010:2e850961-51f1-11df-b404-d5d34bef5812:0650936176]
FAIL: Message: Permission denied source: FrJavaProxyB

Cause:
The Cognos service IBM Cognos Controller Java Proxy is run as local system on the controller application server.

Solution:
Change the IBM Cognos Controller Java Proxy service to run as the same windows account used by the Cognos Controller COM+ service.

Product:
Cognos Controller 8.5 fixpack 1

Symptom:
Error message when you start Cognos Controller from the Cognos Connection on a Windows 2008 R2 Terminal Server.

Error message:
Microsoft IE Execute shell
Microsoft IE Execute shell has encountered a problem and needs to close.
We are sorry for the inconvenience.

If you are in the middle of something, the information you were working on might be lost.

Cause:
The Cognos Controller client is a 32 bit application, but the Internet Explorer you are running on the Windows 2008 R2 server may be a 64 bit application.

Solution:
Instead of starting the Cognos Controller application from the web site, install the ccrlocalclient.msi on the Microsoft Windows 2008 R2 terminal server.
This will give you a local ccr.exe program on the start menu – and then you use that instead.

CCRlocalclient.msi is found on the controller application server and can be started from
http://servername/cognos8/controllerbin/ccrlocalclient.msi

When you get the file download – Security warning, you should select RUN.
During installation you will be ask to enter the URL to the application server, should be something like this:
WSS URL: http://servername/cognos8/controllerserver
Help URL: http://servername/cognos8/controllerhelp

You find the correct values in Controller Configuration on the Application server.
Supported version of OS is found here for Cognos Controller
http://www-01.ibm.com/support/docview.wss?rs=3450&uid=swg27017475

Product:
Cognos Controller 8.4

Symptom:
New install of Cognos Controller and when you run a standard report
(Like maintain – rights – reports – users) you get a error when you select the format XLS.

The view of the standard report in HTML and PDF works fine.

Error dialog:
A critical error occurred in Controller Link, probably due to missing file(s),
And you won´t be able to work with it.
Please contact your system administrator.

Error Descr:
Fil- eller sammansättningsnamnet ControllerXLPusher, eller ett av dess beroenden, hittades inte.

Cause:
The excel.exe.config file that direct Excel to use the correct version of NET framework is not in correct folder on the client computer.

Solution:
Copy the excel.exe.config file to same folder as the excel.exe file.
For Excel 2003 that is folder C:\program files\microsoft office\office11.

Product:
Cognos Controller 8.5

Symptom:
Error direct when you start the Cognos Controller Client, before you have selected the database to use.
The user gets this message:
An error occurred while trying to access the server.

This can be because of other things also – but look into the Windows event log to get more clues.

Windows event log shows:

Event Type: Error
Event Source: DCOM
Event Category: None
Event ID: 10016
Date: 2010-06-01
Time: 14:09:57
User: NT AUTHORITY\NETWORK SERVICE
Computer: SERVER
Description:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{114133CF-5DC0-4DB1-8796-4642553B2499} to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security permission can be modified using the Component Services administrative tool.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Event Type: Warning
Event Source: Cognos Controller
Event Category: None
Event ID: 0
Date: 2010-06-01
Time: 14:09:57
User: N/A
Computer: SERVER
Description:
Error occured at 2010-06-01 14:09:57 in IBM Cognos 8 Controller, Error No=5, Source=FrangoDirect.ConnectionDirect.SetSelectDb#ControllerProxyClient, Description=System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {114133CF-5DC0-4DB1-8796-4642553B2499} failed due to the following error: 80070005.
at Cognos.Controller.Proxy.CCRWS.ConnectionBusiness_SetSelectDb(String sGuid, String sUser, Boolean bSelectDb)
— End of inner exception stack trace —, HelpFile= HelpContext=0
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Cause:
The user account does not have rights in the Cognos Controller COM parts to perform.

Solution:
You can inside Cognos Controller Configuration on the COM+ server dialog do this;

Uncheck the settings for “Enforce Access checks for the Controller COM+ application”.
OR
Add the group Everyone to the list of users that is allowed to run Cognos Controller in the same Cognos Controller Configuration dialog. It is in the “Controller COM+ roles and users” section.

Product:
Cognos Controller 8.4

Symptom:
When user changes company in there Data Entry reporting session they get an error message and then Excel is hanging.
In this environment the controller client is started from the ccr.exe file that is installed on the citrix servers with use of the ccrlocalclient.msi package.

Problem:
Error found on client in Windows Event log:

Event Type: Warning
Event Source: Cognos Controller
Event Category: None
Event ID: 0
Date: 2009-12-07
Time: 10:27:31
User: N/A
Computer: CITRIX1
Description:
Standard Error
Source: ControllerForms
Description: OpenWorkbook
Object reference not set to an instance of an object.
at Cognos.Controller.ControllerForms.clsDataEntry.ActivateDataEntryForm()
at Cognos.Controller.ControllerForms.clsDataEntry.OpenSelectedForm(UserParameters& UserSelection)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Cause:
The NET framework 2.00 on the Cognos Controller Client does not have full trust to the Cognos Controller Application Server.
On the computer you can check if the FULLTRUST is set to the server by run the commando CASPOL –LG from the command prompt.
Go to the command prompt
Go to the folder c:\windows\microsoft.net\framework\v2.0.50727
Enter caspol –lg
You will see a list of the connections to FULLTRUST.
Check the last lines of code group to find the Controller app server name to be listed.

Solution:
On the Cognos Controller Client Computer ( citrix server ) run a commando to set the trust to the server.
Create a text file (named setcaspol.cmd) on a share on the Cognos Controller server:

c:
cd\
cd c:\windows\microsoft.net\framework\v2.0.50727

Caspol.exe -m -q -ag All_Code -url http://cognosserver/cognos8/* FullTrust -n name1a
Caspol.exe -m -q -ag All_Code -url http://151.156.176.97/cognos8/* FullTrust -n name1b
Caspol.exe -m -q -ag All_Code -url http://cognosserver.domain.com/cognos8/* FullTrust -n name1c

Caspol.exe -e off

In above file you need to change “cognosserver” with you controller app server name.
Then run the setcaspol.cmd file from the Citrix servers, to set the trust in NET framework 2.00.

From the start menu – select run
Enter the \\servername\share to connect to the share there the setcaspol.cmd file is saved.
Double click on the setcaspol file to run it on the Client computer (citrix server)
You should briefly see 4 “Success” roll by, if the script is working.

Product:
Cognos Controller 8.5

Symptom:
Error after the selection of database when you login to the Cognos Controller client.

Problem:
Error message to user

System.Web.Services.Protocols.SoapException: Server was unable to process request: Permission denied …

Error in windows event viewer
Event Type: Error
Event Source: DCOM
Event Category: None
Event ID: 10016
Date: 2010-04-27
Time: 14:59:24
User: server\frangoadm
Computer: PTP280
Description:
The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID
{BE913F44-118C-11D5-A324-00C04FA0E3B7}
to the user server\frangoadm SID (S-1-5-21-57989841-2049760794-725345543-1924). This security permission can be modified using the Component Services administrative tool.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Cause:
In some cases the windows service account used for the Cognos Controller service need more users rights than the default administrator groups gives it.

Solution:
Add the windows user account used for Cognos Controller COM+ package to the local group “Distributed COM users” on the Windows 2003 server for Cognos Controller application.

Product:
Cognos Controller 85

Symptom:
Error message when you try to convert old Frango Controller forms to the new Controller version 85.
You find this on menu MAINTAIN – SPECIAL UTILITIES – CONVERT – FORMS TO NEW DESIGN.
You successes to convert a few – but after a while you get stuck with a error message.

Error message:
Standard Error
Source: frmConvertOldForms
Description: Exception of type ‘System.OutOfMemoryException’ was thrown.
At Cognos.Controller.Forms.Form.frmConvertOldForms.PopulateLayout(String sForm, String sFormType, String sRad1, String sRad2,String sKol1, String sKol2, String& sLayout)
At Cognos.Controller.Forms.Form.frmConvertOldForms.PrepareLayouts()
At Cognos.Controller.Forms.Form.frmConvertOldForms.PerformMigration()
At Cognos.Controller.Forms.Form.frmConvertOldForms.IForm_DoClick(Int32 ICmd, String& sTag)

Information:
Other cause to make this happen can be a damage/not used data entry form.
Remove all forms that you do not need before you start the conversation.

To be able to convert the forms you must install the CONTROLLERCONV.MSI on a client computer with Excel 2000, which is then connected to the Controller Application server.

Workaround:
Export all the forms from the Controller database with use of the Transfer – Export Structures menu in the Cognos Controller client.
Create a new empty Cognos Controller database and import the forms structures into this database.
Then from inside the empty database with only Cognos Controller forms, run the convert of forms to the new version and you may be lucky and it works.
Then you export the forms from the empty database to a file.
Import that file into you old converted database, and you have a working form set.

Product:
Cognos Controller 8.5.1

Symptom:
After a new installation the Cognos Controller Client does not start when you click on the link for “Consolidate my financial information” in Cognos Connection website.

You may get IE webpage error details to show “Message: Permission denied”
Line 184
Char 108
Code 0

Problem:
If you look in task manager there are no IEEXEC process started.

If you start the CCR.EXE file direct on the Controller Application Server, the Controller Client program will show that the WSSURL is wrong after the Cognos Copyright Message.

Cause:
In IIS manager the Web Server Extension for ASP.NET v2.0.50727 is set to Prohibited
Or
The controller app server is in the Trusted Sites list in Internet Explorer 8.

Solution:
Change in IIS manager the Web Server Extension for ASP.NET v2.0.50727 to Allowed
Or
Change in Internet Explorer – Tools – Internet Options – Security – Local intranet
Click on sites
Enter the controller server http://servername to “add this website to the zone” and click Add.

The Cognos Controller server must be listed in the Local Intranet Sites when using Internet Explorer 8 (both on server and client computers).

Product:
Cognos Controller 8.5.1

Symptom:
On a new installation of Cognos Controller 8.5.1 you get an error message when you try to start some of the new java functions.
E.g. you get an error when you select menu MAINTAIN-JOBS-DEFINE inside Cognos Controller.
There are different error message and probably different solutions at different installations environments. This is only suggestions to solutions for this issue.

Error message:
Model not found in context: job
Unable to find instance of model of type: job, type interface com.ibm.cognos.ccr.job.JobModel (load=LAST)
exceptionId=ERR.ANY.WEBSERVICECONNECTIONEXCEPTION.CANNOT_EXECUTE_SERVIC, argument(s)=[http://SERVERNAME/cognos8/controllerserver/CCRWS.asmx,
010:e86b8e3e-90c7-11df-b642-93cfe15c0313:4108201324]
Fail:!No driver found – dbtype is invalid:com.ibm.cognos.ccr.common.DbConfiguration$DbType, SQL_SERVER=’MS SQLServer’ (provider=SQLNCLI.1)!

Solution:
Ensure that a SQLJDBC.JAR file is placed in the c:\program files\cognos\c8\server\integration folder from Microsoft if you are using Microsoft SQL 2008 server.

Error message:
Model not found in context: job
Unable to find instance of model of type: job, type interface com.ibm.cognos.ccr.job.JobModel (load=LAST)
exceptionId=ERR.ANY.WEBSERVICECONNECTIONEXCEPTION.CANNOT_EXECUTE_SERVIC, argument(s)=[http://SERVERNAME/cognos8/controllerserver/CCRWS.asmx,
010:38c30464-933b-11df-b410-97c9b6150a8d:1881910691]
FAIL:!com.ibm.cognos.ccr.common.SQLConnectionException: exceptionId=ERR.ANY.CONNECTIONEXCEPTION.CANNOT_OPEN_CONNECTION, argument(s)=[MappingModel, type interface com.ibm.cognos.ccr.classic.MappingImportDAO (load=DEFAULT),
Jdbc:sqlserver://imcogbi84.DatabaseName=xC82_05std.SelectMethod=Cursor.,[Ljava.lang.Object.@2d722d72]!

Solution:
Ensure that you have updated the file c:\program files\cognos\c8\server\integration\ccr-dbTypes.properties with the correct name of the database server and the correct name of the controller database file on that server.

The SQL section in ccr-dbTypes.properties lines can look like this;

SQL_SERVER.name = MS SQLServer
SQL_SERVER.driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
SQL_SERVER.url = jdbc:sqlserver://imcogbi84;DatabaseName=xC82_05std;SelectMethod=Cursor;

(imcogbi84 should be the DNS name of the database server)
(xC82_05std should be the SQL manager name of the database file)

Error message:
Model not found in context: job
Unable to find instance of model of type: job, type interface com.ibm.cognos.ccr.job.JobModel (load=LAST)
exceptionId=ERR.ANY.WEBSERVICECONNECTIONEXCEPTION.CANNOT_EXECUTE_SERVIC, argument(s)=[http://SERVERNAME/cognos8/controllerserver/CCRWS.asmx,
010:e86b8e-90c7-11df-b642-93cfe15c0313:4034713480]
FAIL:!null!

Solution:
This means that the sqljdbc is working – but you do not have any data in the controller database.
Exit Cognos controller and log in again against an existing database with controller data in it.

Error message:
Model not found in context: job
Unable to find instance of model of type: job, type interface com.ibm.cognos.ccr.job.JobModel (load=LAST)
exceptionId=ERR.ANY.WEBSERVICECONNECTIONEXCEPTION.CANNOT_EXECUTE_SERVIC
argument(s)=[http://SERVERNAME/cognos8/controllerserver/CCRWS.asmx, 010:b3edc368-9336-11df-9234-b0f427c64e84:2448656821]
FAIL:Could not attach to JVM.

Solution:
Ensure that you have set the CCR_JAVA_HOME variable on the Controller server to point to the folder where you have unzipped the file jre.zip. Recommendation is to unpack it to folder c:\program files\cognos\java60.
Jre.zip is found in folder c:\program files\cognos\c8\webcontent\ccr.

Background information:
Cognos Controller 8.5.1 new parts made in JAVA need the JAVA database driver. For Microsoft SQL 2008 this must be download from Microsoft Web site and installed on the Controller application server in folder c:\program files\cognos\c8\server\integration.

Cognos Controller 8.5.1 new parts works only when you use the SQLNCLI.1 database client, therefore this must be downloaded and installed on the Cognos Controller Application server – even if you use Microsoft SQL 2008 server. That client is not included in the installation of Microsoft SQL 2008 server.
You must also define in Cognos Controller Configuration on database connections to use SQLNCLI.1 and not as before SQLOLEDB.1 in the field for database connection.

Links to more information:
http://www.microsoft.com/downloads/details.aspx?familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en
http://www-01.ibm.com/support/docview.wss?uid=swg21440254

Product:
Cognos Planning 8.4

Symptom:
Error when doing synchronize with Planning Analyst in Cognos Planning Contributor Administrator Console from a macro.
If you do it manually it works fine.

Message:
{3A9A7B10-F0A6-4A75-8517-6E9967C319BA} 1 2010-05-26 11:03:53.974 UTC +120 MacroUtilities_84 8.4.2721.0 AFWHelper ReportAFWError 140 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME None\None None\None 4244 2604
{3A9A7B10-F0A6-4A75-8517-6E9967C319BA} 2 2010-05-26 11:03:53.974 UTC +120 MacroUtilities_84 8.4.2721.0 AFWHelper LoggedOnAFW 150 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 4244 2604
{3A9A7B10-F0A6-4A75-8517-6E9967C319BA} 3 2010-05-26 11:03:53.974 UTC +120 MacroUtilities_84 8.4.2721.0 AFWHelper GetLibraryNames 100 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 4244 2604
{3A9A7B10-F0A6-4A75-8517-6E9967C319BA} 4 2010-05-26 11:03:53.974 UTC +120 EAdminDB_84 8.4.2721.0 iDB AnalystGetLibraryNames 100 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 4244 2604
{3A9A7B10-F0A6-4A75-8517-6E9967C319BA} 5 2010-05-26 11:03:54.005 UTC +120 MacroAControls_84 8.4.2721.0 frmSelectBatchJob SetupForm 160 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 3140 2824
{3A9A7B10-F0A6-4A75-8517-6E9967C319BA} 6 2010-05-26 11:03:54.021 UTC +120 MacroAControls_84 8.4.2721.0 peBatchJob cmdConfigure_Click 120 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 3140 2824

Above message in Planningerrorlog.csv is found when executing the macro.

{EDED3F30-E2F5-4BF4-B943-EA9083F27678} 1 2010-05-26 11:22:37.052 UTC +120 MacroUtilities_84 8.4.2721.0 AFWHelper ReportAFWError 140 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME None\None None\None 4244 3968
{EDED3F30-E2F5-4BF4-B943-EA9083F27678} 2 2010-05-26 11:22:37.068 UTC +120 MacroUtilities_84 8.4.2721.0 AFWHelper LoggedOnAFW 150 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 4244 3968
{EDED3F30-E2F5-4BF4-B943-EA9083F27678} 3 2010-05-26 11:22:37.068 UTC +120 MacroUtilities_84 8.4.2721.0 AFWHelper GetLibraryNames 100 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 4244 3968
{EDED3F30-E2F5-4BF4-B943-EA9083F27678} 4 2010-05-26 11:22:37.068 UTC +120 EAdminDB_84 8.4.2721.0 iDB AnalystGetLibraryNames 100 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 4244 3968
{EDED3F30-E2F5-4BF4-B943-EA9083F27678} 5 2010-05-26 11:22:37.099 UTC +120 MacroAControls_84 8.4.2721.0 peLibraryList PopulateListOfLibraries 130 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 3140 2824
{EDED3F30-E2F5-4BF4-B943-EA9083F27678} 6 2010-05-26 11:22:37.099 UTC +120 MacroAControls_84 8.4.2721.0 peLibraryList RenderSimpleParameter 120 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 3140 2824
{EDED3F30-E2F5-4BF4-B943-EA9083F27678} 7 2010-05-26 11:22:37.115 UTC +120 MacroSControls_84 8.4.2721.0 ocxLabelAndBox RenderParameter 160 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 Unable to set parameter object for ‘ParameterRendererspecifylibraryname’ with ProgID of ‘MacroAControls_84.peLibraryList’~~~~E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 3140 2824
{EDED3F30-E2F5-4BF4-B943-EA9083F27678} 8 2010-05-26 11:22:37.115 UTC +120 MacroSControls_84 8.4.2721.0 ocxOptionPE RenderParameter 580 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 Unable to set parameter object for ‘ParameterRendererspecifylibraryname’ with ProgID of ‘MacroAControls_84.peLibraryList’~~~~E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 3140 2824
{EDED3F30-E2F5-4BF4-B943-EA9083F27678} 9 2010-05-26 11:22:37.130 UTC +120 MacroSControls_84 8.4.2721.0 AdvContainer Add 130 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 Unable to set parameter object for ‘ParameterRendererspecifylibraryname’ with ProgID of ‘MacroAControls_84.peLibraryList’~~~~E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 3140 2824
{EDED3F30-E2F5-4BF4-B943-EA9083F27678} 10 2010-05-26 11:22:37.130 UTC +120 EAdminUI_84 8.4.2721.0 ocxParameters RenderParameters 420 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 Unable to render parameter ‘libraryname’~~~~Unable to set parameter object for ‘ParameterRendererspecifylibraryname’ with ProgID of ‘MacroAControls_84.peLibraryList’~~~~E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 3140 2824
{EDED3F30-E2F5-4BF4-B943-EA9083F27678} 11 2010-05-26 11:22:37.146 UTC +120 EAdminUI_84 8.4.2721.0 frmMacroStepEditor RenderMacroStepScript 230 MacroUtilities_84.AFWHelper.ReportAFWError -2147219667 Unable to render parameter ‘libraryname’~~~~Unable to set parameter object for ‘ParameterRendererspecifylibraryname’ with ProgID of ‘MacroAControls_84.peLibraryList’~~~~E1008 Failed to logon to CAM. Logon aborted.. The return code was 1008. PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 3140 2824
{4155F309-465C-4A51-A725-018AFE311328} 1 2010-05-26 11:22:37.146 UTC +120 EAdminUI_84 8.4.2721.0 pgMacros CreateNewMacroStep 320 0 Unable to create new macro step.~~~~ PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME None\None None\None 3140 2824
{4155F309-465C-4A51-A725-018AFE311328} 2 2010-05-26 11:22:37.146 UTC +120 EAdminUI_84 8.4.2721.0 pgMacros cmdMacroStepAdd_Click 150 5 Unable to create new macro step.~~~~ PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME PLANNINGSERVERNAME\UserName CD\PLANNINGSERVERNAME 3140 2824

Above error is found in planningerrorlog.csv when try to create a macro that access analyst files.

Cause:
The Cognos 8 Planning service is run as local system on the Windows server
Or the filesys.ini file is not using UNC path to the applications.

Solution:
Check the filesys.ini file on the Cognos planning servers, ensure that they use UNC path to the Cognos planning applications. You may need to register the planning applications again in Cognos Planning Analyst with UNC path to get this to work correctly.

Create a windows domain account that is used for the Cognos services.
The windows account must be local administrator on all Cognos servers in the solution.

Stop the Cognos 8 Planning service
Stop the Cognos 8 Bi service
Change the user from local system to the created windows service account.
Enter the password and click apply.
Start the Cognos 8 Bi service
Start the Cognos 8 Planning service

Start CAC (contributor administration console) and test again your macro.