waiwai64 发表于 2015-8-13 11:06:20

Configur Cognos 8.4 on IIS 7.0

  环境:Cognos 8.4 + windows Server 2008 + SQL Server 2005
参考资料:Configuring IIS 7.0 and Cognos 8
Cognos configuration的配置完成以后,在配置IIS虚拟目录时和在windows 2003的环境中配置IIS有些差异,具体配置步骤分为五步:
1、检查IIS是否装了CGI或ISAPI;
  2、创建Cognos 8的虚拟目录;
  3、修改ISAPI 或者 CGI Extensions;
  4、给cgi-bin虚拟目录添加module mapping;
  5、修改..\c8\cgi-bin\web.config的module mapping
  具体如下:
  1、检查IIS是否装了CGI或ISAPI
  打开Server Manager,如下图操作:
  
  
  2、创建Cognos 8的虚拟目录
  在Default Web Site下创建一个虚拟目录并命名为:cognos8
  
  在cognos8虚拟目下创建一个名为“cgi-bin”的虚拟目录,如:
  
  3、修改ISAPI 或者 CGI Extensions
  在左边树形节点上选择Server一级,并双击进入右边的ISAPI and CGI Restrictions
  
  在最右侧Action面板里面点击“Add...”按钮,并输入如下内容:
  
  以上内容也可以改为
  
  需要注意的是,在添加以上内容的时候需要选中“Allow extension path to execute”复选框。
  点击选择右边的“Edit Feature Settings”,同时选中“Allow unspecified CGI Modules”和"Allow unspecified ISAPIModules"
  
  4、给cgi-bin虚拟目录添加module mapping
  点击选择虚拟目录“cgi-bin”,并在功能列表中选择“Handler Mapping”
  
  
  点击选择刚添加的cgi-cognos,并在右侧选择“Edit Feature Permissions”,并选中"Execute"
  
  5、修改..\c8\cgi-bin\web.config的module mapping
  在..\c8\cgi-bin目录下找到web.config并打开它
  
  找到如下的一段节点:
  <add name="CGI-cognos" path="*.cgi" verb="*" modules="CgiModule" resourceType="Unspecified"/>
  并在最后添加allowPathInfo="true",如:
  <add name="CGI-cognos" path="*.cgi" verb="*" modules="CgiModule" resourceType="Unspecified" allowPathInfo="true" />
  
  最后即可以访问cognos connection
  
  
页: [1]
查看完整版本: Configur Cognos 8.4 on IIS 7.0