If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Cognos 841 and IIS7 Problem

Started by Peewee71, 16 May 2011 07:00:10 AM

Previous topic - Next topic

Peewee71

Hi I´ve installed cognos8.4.1 to windows 2003 servers with IIS6 ok but have had problems on windows 2008 servers with IIS7.
I have managed to installl cognos itself ok and have configured the gatewat to use isapi. I have tracing enabled on IIS and i am getting the following error message linked to the ISAPI Module. Any idea on how i get around this one?

MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName IsapiModule
Notification 128
HttpStatus 500
HttpReason Internal Server Error
HttpSubStatus 0
ErrorCode 2147942593
ConfigExceptionInfo 
Notification EXECUTE_REQUEST_HANDLER
ErrorCode %1 is not a valid Win32 application. (0x800700c1)


I Performed the following steps on IIS to enable Cognos to run there:
1. In the left Connections pane, expand the server node, expand Sites, right-click on Default Website, and click Add Virtual Directory.
2. Enter "cognos8" for the Alias and enter the path to the c8/webcontent directory in Physical Path (default C:\Program Files\cognos\c8\webcontent). Click OK.
3. Right click on the newly-created cognos8 Virtual Directory and click Add Virtual Directory
4. Enter "cgi-bin" for the Alias and enter the path to the c8/cgi-bin directory in Physical Path (default C:\Program Files\cognos\c8\cgi-bin). Click OK.
5. Right click on the cognos8 Virtual Directory again and click Add Virtual Directory
6. Enter "help" for the Alias and enter the path to the c8/webcontent/documentation directory in Physical Path (default C:\Program Files\cognos\c8\webcontent\documentation). Click OK.
7. In the left Connections pane, select the server node, then double-click ISAPI and CGI Restrictions in the right pane.
8. In the Actions pane click Add, enter the path to either cognosisapi.dll or cognos.cgi depending on which you will use (default C:\Program Files\cognos\c8\c
gi-bin\cognosisapi.dll or C:\Program Files\cognos\c8\cgi-bin\cogno.cgi), check the "Allow extension path to execute" box, then click OK.
9. In the left Connections pane, select the cgi-bin virtual directory, then double-click Handler Mappings in the right pane.
10. In the Actions pane click Add Module Mapping, then enter either "cognos.cgi" or "cognosisapi.dll" for the Request Path, choose either CGIModule or ISAPIModule for the Module, give it an identifiable name like "CGI-cognos" then click OK.
11. In order for Cognos Administration to function properly, the directive added to the IIS configuration file by step 11 has to be edited manually.

Depending on how IIS is set up, this will have been written either to C:\Windows\System32\inetsrv\config\applicationhost .config or to <cognos_home>/c8/cgi-bin/web.config. Check those files for the following entry:
<add name="CGI-cognos" path="*.cgi" verb="*" modules="CgiModule" resourceType="Unspecified" />
and add allowPathInfo="true" to it like this:
<add name="CGI-cognos" path="*.cgi" verb="*" modules="CgiModule" resourceType="Unspecified" allowPathInfo="true" />

SomeClown

Try setting the app pool to enable 32-bit applications  (advanced properties in iis)

Peewee71

Quote from: SomeClown on 19 May 2011 07:01:25 AM
Try setting the app pool to enable 32-bit applications  (advanced properties in iis)

thanks. this seemed to work.. I can now get the login page up and can successfully login.
However, i'm now getting the below cogudaor error when i'm testing a datsource connection. I am using oarcle client version 11 64 bit. Is there a work around for this?

https://www-304.ibm.com/support/docview.wss?uid=swg21382328


SomeClown

Not that I'm aware of.  Only solution I know is to get the 32-bit client installed like mentioned in the note.