ConfiguringIIS7.0 and Cognos8
ConfiguringIIS7.0 and Cognos8
0andCognos8
Thisisa6stepprocess: 1.CheckCGIorISAPIisenabledinIIS 2.CreatetheCognos8virtualdirectories 3.EditISAPIorCGIExtensions 4.Addmodulemapping 5.EditModulemapping 6.AllowCGIapplicationtouseexecute
1.CheckCGIorISAPIisenabledinIIS
GotoStart>AdministrativeTools>ServerManager
2.CreatetheCognos8virtualdirectories
IntheleftConnectionspane,expandtheservernode,expandSites,rightclickonDefaultWebsite, andclickAddVirtualDirectory Enter"c84"fortheAliasandenterthepathtothec8\webcontentdirectoryinthePhysicalPath (defaultC:\ProgramFiles\cognos\c8\webcontent).ClickOK.
3.EditISAPIorCGIExtensions
IntheleftConnectionspane,selecttheservernode,thendoubleclickISAPIandCGIRestrictions intherightpane.
IntheActionspaneclickAdd,enterthepathtoeithercognosisapi.dllorcognos.cgidepending onwhichyouwilluse(defaultC:\ProgramFiles\cognos\c8\cgibin\cognosisapi.dllorC:\Program
Or ClickeditfeaturesettingsonrighthandsideandAllowunspecifiedCGIModules
4.AddModuleMapping
WithinIISexpandthevirtualdirectoryandclickonthecgibinvirtualdirectory,DoubleclickHandler Mappingwithinthemainpane.
WithintheactionspaneclickAddModuleMapping.
N.b.ifyouareusingaCGIModuleyoudonotneedtoselectanythingintheexecutablesection UndertheMappingtabSelectInvokehandleronlyifrequestismappedto:File
UndertheverbstabensureAllverbsisSelected
UndertheAccessTab,SelectExecute
Dependingonthemethodusedinsection3amessagemayappearselectYes
YournewmodulemappingshouldbeaddedtotheModuleMappingList
5.EditModuleMapping
InorderforCognosAdministrationtofunctionproperly,thedirectiveaddedtotheIISconfiguration fileinpreviousstephastobeeditedmanually.DependingonhowIISissetup,thiswillhave beenwritteneitherto <cognos_home>/c84/cgibin/web.config.OpenupusingWordpadCheckthosefilesforthe followingentry:
ForCGIitwilloriginallylooklike: <addname="CGIcognos"path="*.cgi"verb="*"modules="CgiModule" resourceType="Unspecified"/> AddallowPathInfo="true"attheendofthestatementsoitlookslike: <addname="CGIcognos"path="*.cgi"verb="*"modules="CgiModule" resourceType="Unspecified"allowPathInfo="true"/> ForISAPIitwilloriginallylooklike: <addname="ISAPICognos"path="cognosisapi.dll"verb="*"modules="IsapiModule" scriptProcessor="E:\ProgramFiles\Cognos\C84_64\cgibin\cognosisapi.dll" resourceType="Unspecified"requireAccess="Execute"preCondition="bitness32"/> AddallowPathInfo=trueattheendofthestatementsoitlookslike <addname="ISAPICognos"path="cognosisapi.dll"verb="*"modules="IsapiModule" scriptProcessor="E:\ProgramFiles\Cognos\C84_64\cgibin\cognosisapi.dll" resourceType="Unspecified"requireAccess="Execute"preCondition="bitness32" allowPathInfo="true"/> n.b.youmayneedtoensurethatyouhaveaccesspermissionsonthefoldertoenableyouto savetothisfile
6.AllowingCGIapplicationtouseexecute
SelectcgibinvirtualdirectorywithinIIS,SelectHandlerMappingsandclickEditFeature Permissions.
SelectOKandClickOK