0% found this document useful (0 votes)
58 views10 pages

ConfiguringIIS7.0 and Cognos8

This 6 step process configures IIS 7.0 to work with Cognos 8: 1) Check that CGI and ISAPI extensions are enabled in IIS. 2) Create virtual directories for the Cognos webcontent and cgi-bin directories. 3) Edit ISAPI or CGI extensions to allow the Cognos executables to run. 4) Add module mappings for the CGI or ISAPI handlers. 5) Edit the module mappings to allow path info. 6) Give execute permissions to the CGI application.

Uploaded by

paramaguru85
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views10 pages

ConfiguringIIS7.0 and Cognos8

This 6 step process configures IIS 7.0 to work with Cognos 8: 1) Check that CGI and ISAPI extensions are enabled in IIS. 2) Create virtual directories for the Cognos webcontent and cgi-bin directories. 3) Edit ISAPI or CGI extensions to allow the Cognos executables to run. 4) Add module mappings for the CGI or ISAPI handlers. 5) Edit the module mappings to allow path info. 6) Give execute permissions to the CGI application.

Uploaded by

paramaguru85
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

ConfiguringIIS7.

0andCognos8
Thisisa6stepprocess: 1.CheckCGIorISAPIisenabledinIIS 2.CreatetheCognos8virtualdirectories 3.EditISAPIorCGIExtensions 4.Addmodulemapping 5.EditModulemapping 6.AllowCGIapplicationtouseexecute

1.CheckCGIorISAPIisenabledinIIS
GotoStart>AdministrativeTools>ServerManager

Ontherighthandsidenexttorolesclickaddroleservices UnderneathApplicationDevelopmentensureCGIandISAPIExtensionsarelistedasInstalled.If notthencheckthemandclickInstall

2.CreatetheCognos8virtualdirectories
IntheleftConnectionspane,expandtheservernode,expandSites,rightclickonDefaultWebsite, andclickAddVirtualDirectory Enter"c84"fortheAliasandenterthepathtothec8\webcontentdirectoryinthePhysicalPath (defaultC:\ProgramFiles\cognos\c8\webcontent).ClickOK.

Rightclickonthenewlycreatedcognos8VirtualDirectoryandclickAddVirtualDirectory Enter"cgibin"fortheAliasandenterthepathtothec8/cgibindirectoryinPhysicalPath (defaultC:\ProgramFiles\cognos\c8\cgibin).ClickOK.

3.EditISAPIorCGIExtensions
IntheleftConnectionspane,selecttheservernode,thendoubleclickISAPIandCGIRestrictions intherightpane.

IntheActionspaneclickAdd,enterthepathtoeithercognosisapi.dllorcognos.cgidepending onwhichyouwilluse(defaultC:\ProgramFiles\cognos\c8\cgibin\cognosisapi.dllorC:\Program

Files\cognos\c8\cgibin\cogno.cgi),checkthe"Allowextensionpathtoexecute"box,thenclick OK. (youmayneedtosurroundthepathindoublequotesifitcontainsanyspaces)

Or ClickeditfeaturesettingsonrighthandsideandAllowunspecifiedCGIModules

4.AddModuleMapping

WithinIISexpandthevirtualdirectoryandclickonthecgibinvirtualdirectory,DoubleclickHandler Mappingwithinthemainpane.

WithintheactionspaneclickAddModuleMapping.

Entereither*.cgior*.dllintheRequestPathdependingonwhichoneitisyourequire.Withinthe ModulePathchooseeitherCGIModuleorISAPIModule.Inthenamesectiongiveitarealisticname i.e.ISAPIcognos IfyouareusingISAPIModuleyouwillneedtoclicktheellipsisnexttotheExecutablesection withinherenavigatetocognosisapi.dll ClickRequestRestrictions

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

You might also like