环境: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,如下图操作:

Configur Cognos 8.4 on IIS 7.0

Configur Cognos 8.4 on IIS 7.0

2、创建Cognos 8的虚拟目录

在Default Web Site下创建一个虚拟目录并命名为:cognos8

Configur Cognos 8.4 on IIS 7.0

在cognos8虚拟目下创建一个名为“cgi-bin”的虚拟目录,如:

Configur Cognos 8.4 on IIS 7.0

3、修改ISAPI 或者 CGI Extensions

在左边树形节点上选择Server一级,并双击进入右边的ISAPI and CGI Restrictions

Configur Cognos 8.4 on IIS 7.0

在最右侧Action面板里面点击“Add...”按钮,并输入如下内容:

Configur Cognos 8.4 on IIS 7.0

以上内容也可以改为

Configur Cognos 8.4 on IIS 7.0

需要注意的是,在添加以上内容的时候需要选中“Allow extension path to execute”复选框。

点击选择右边的“Edit Feature Settings”,同时选中“Allow unspecified CGI Modules”和"Allow unspecified ISAPIModules"

Configur Cognos 8.4 on IIS 7.0

4、给cgi-bin虚拟目录添加module mapping

点击选择虚拟目录“cgi-bin”,并在功能列表中选择“Handler Mapping”

Configur Cognos 8.4 on IIS 7.0

Configur Cognos 8.4 on IIS 7.0

点击选择刚添加的cgi-cognos,并在右侧选择“Edit Feature Permissions”,并选中"Execute"

Configur Cognos 8.4 on IIS 7.0

5、修改..\c8\cgi-bin\web.config的module mapping

在..\c8\cgi-bin目录下找到web.config并打开它

Configur Cognos 8.4 on IIS 7.0

找到如下的一段节点:

<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" />

Configur Cognos 8.4 on IIS 7.0

最后即可以访问cognos connection

Configur Cognos 8.4 on IIS 7.0

Configur Cognos 8.4 on IIS 7.0

相关文章:

  • 2022-01-03
  • 2022-03-01
  • 2021-11-01
  • 2021-09-16
  • 2022-01-15
  • 2022-12-23
猜你喜欢
  • 2021-06-19
  • 2021-06-05
  • 2021-12-15
  • 2021-10-06
  • 2022-02-02
  • 2021-09-03
  • 2022-12-23
相关资源
相似解决方案