Home Knowledge Articles IBM Cognos 10 IBM Cognos Controller Link Exception has been thrown by the target of an invocation
Follow us on Twitter


Countries

50.1%United States United States
7.6%India India
7%United Kingdom United Kingdom
5.1%Australia Australia
4.8%Canada Canada

Visitors

Today: 37
Yesterday: 573
This Week: 37
Last Week: 3348
This Month: 9422
Last Month: 15365
Total: 383509


IBM Cognos Controller Link Exception has been thrown by the target of an invocation Print E-mail
(0 votes, average 0 out of 5)
Written by Roger   
Sunday, 16 October 2011 00:00

Product:
Cognos Controller 10.1 (32 bit)
Microsoft Windows 2008 R2 (64 bit)
Microsoft Excel 2010 (32 bit)

Symptom:
Get error message when you start excel from inside Cognos Controller 10 client on the server.
Cognos Controller is installed on a Microsoft Windows 2008 R2 server, and you test the Controller client by starting ccr.exe from the D:\Program Files (x86)\ibm\cognos\c10\webcontent\ccr folder.

Error message:
IBM Cognos Controller Link
Exception has been thrown by the target of an invocation.

Possible Cause:
Excel reads from the ccr.exe.config file to find the way to the Cognos Controller files.
The file will have this row if it is not working:
<add key="CASUrl" value="http://servername/ibmcognos/controllerbin" />

File ccr.exe.config, that excel is using, is found in folder C:\Users\username\AppData\Roaming\Cognos\ccr

If changed to this it will work
  <add key="CASUrl" value="D:\Program Files (x86)\Cognos\ccr\" />

Solution:
Instead of test Cognos Controller by starting the ccr.exe direct, you should install Cognos Controller client on the server.

Ensure you have Microsoft Excel installed on the server
Ensure you have Adobe Reader installed on the server
Ensure you have Net framework 3.5 installed on the server
Ensure you have User Account Control Settings to lowest value

Copy the excel.exe.config file to the same folder as excel.exe
Run a batch file to set trust to the controller server in net framework 2.00
Ensure that the controller server name is in trusted zone in Internet Explorer on the server.

Run CCRLocalClient.msi from folder D:\Program Files (x86)\ibm\cognos\c10\webcontent\ccr to install the client.

Select Typical and enter the following for the WSSUrl
http://servername/ibmcognos/controllerserver

Enter the following for the HelpUrl
http://servername/ibmcognos/controllerhelp

Leave "CacheDir" blank and press next.

After installation, you start Cognos Controller Client from the Start menu.

Note:
Replace servername above with your name of your Cognos Controller server.
More information about how to install the Controller client can be found here:

http://addedo-support.com/index.php?_m=downloads&_a=view&parentcategoryid=6&pcid=0&nav=0

www.cogknowhow.com

Comments

Please login to post comments or replies.
 
 

Login

For more content en features!



CogKnowHow Newsletter

Season's Greetings


Receive HTML?

Polls

How many users are working on your Cognos environment?