Professional Documents
Culture Documents
Version : Cognos8.1.1
Documented By :
1) ANOOP KUMAR S.
Installing Cognos8 .x
Installing cognos standalone and configure with IIS server
1.Navigate to path
C:\Program Files\cognos\c8\configuration\cogstartup.xml
2. <crn:value xsi:type="cfg:hostPort">localhost:1433</crn:value>
<crn:value xsi:type="cfg:hostPort">bi-projectsrv:1521</crn:value>
3. <username>sa</username>
<password>sa</password>
<username>cogrep</username>
<password>cogrep</password>
4. <crn:parameter name="name">
<crn:value xsi:type="xsd:string">cm</crn:value>
<crn:parameter name="servicename">
<crn:value xsi:type="xsd:string">bidwh</crn:value>
Installing Cognos8 .x
• Point the JRE to C:\Program Files\cognos\c8\bin\jre folder in Environmental settings(Path &
Classpath).
• Goto C:\Program Files\cognos\c8\bin\cogconfig.bat and add classes12.jar file into the path.
For IISserver :
1.Goto Control panel->Add/Remove program-> Add/Remove program window component and check the IIS
and install.
2.Goto Control panel->Administrative Tool-> Internet Server Manager-> Goto web default server and create
virtual directory
B.Create a virtual directory cgi-bin under cognos8 directory and point it to \program files\cognos\cgi-
bin (give it exec rights)
Optional-->C. create a virtual directory help under the cognos8 directory and point it to \program
files\cognos\webcontent\document( give read and write rights)
Note:- Check the cognos configuration->Environment->gateway URI and create the virtual directory with
the same name.
http:\\localhost:80\cognos8\cgi-bin\cognos.cgi
Installing Cognos8 .x
Alias /cognos8/help/ "c:/Program Files/cognos/c8/webcontent/documentation/"
<Directory "c:/Program Files/cognos/c8/webcontent/documentation/">
Options Indexes FollowSymlinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Report Generation
SQL> create table student (studentNo int primary key, studentName varchar2(20));
SQL> create table studentDetails (studentNo int, studentAdd1 varchar2 (20), constraint foreign_1 foreign key
(studentNo) references student (studentNo));
• Create a data source from Control Panel > Administrative Tools>Data Sources (ODBC)
Installing Cognos8 .x
• Click on Test Connection,.
• Click on create a new project, give name of the project and location, click on OK.
Installing Cognos8 .x
• click on New.
Click on next, enter the name for data source, click on next
Installing Cognos8 .x
Give the data source name (which was given in administrative tools)
Installing Cognos8 .x
Click on Test
Installing Cognos8 .x
Test the connection. If the test is successful, click on close.
Click on finish
Expand the cogtest user and tables, select the newly created tables which contains data.
Click on next
Uncheck the use primary and foreign keys checkbox as shown below.
Installing Cognos8 .x
Click on Import
Click on Finish
Frame Work Manager with Newly created project appears as shown below
Installing Cognos8 .x
Select the newly created data source. Select Edit Governors from Tasks.
Select the radio button to allow cross product joins as shown below.
click ok.
Right click package and create a new package as shown below.
Give the name of the package.
Click on next, below page appears, click on next
Installing Cognos8 .x
Installing Cognos8 .x
Click on next, below page appears, click on next
Installing Cognos8 .x
click Finish.
Click yes.
Installing Cognos8 .x
Click publish.
Click on finish.
Installing Cognos8 .x
Log on to http://localhost/Cognos 8
Installing Cognos8 .x