Product:
Cognos Controller 10.1.4801.127
Windows 2008 R2 Server
Symptom:
Error when you surf to cognos controller (cognos connection) website after you have applied Cognos Controller fix pack.
Error message:
HTTP Error 404.0 – Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Detailed Error InformationModule IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://servername:80/cgi-bin/cognosisapi.dll?b_action=xts.run&m=portal/main.xts&startwel=yes
Physical Path C:\inetpub\wwwroot\cgi-bin\cognosisapi.dll
Logon Method Anonymous
Logon User Anonymous
Cause:
The content of the file default.htm and index.html in folder D:\Program Files (x86)\ibm\cognos\c10\webcontent are wrong.
Solution:
Open file default.html in notepad
Find section that contains:
function genMainContent()
{
document.body.innerHTML = ‘<div align=”center”><img src=”‘ + splashImg.src + ‘” style=”position:relative; top:80px”></div>’;
window.setTimeout(“window.location.replace(‘../cgi-bin/cognosisapi.dll?b_action=xts.run&m=portal/main.xts&startwel=yes’)”,5);
}
</script>
Remove the ../ part in front of cgi-bin so the section looks like this:
function genMainContent()
{
document.body.innerHTML = ‘<div align=”center”><img src=”‘ + splashImg.src + ‘” style=”position:relative; top:80px”></div>’;
window.setTimeout(“window.location.replace(‘cgi-bin/cognosisapi.dll?b_action=xts.run&m=portal/main.xts&startwel=yes’)”,5);
}
</script>
Save the file and exit notepad.
Do the same change in file index.html
Restart iis with the dos command iisreset.
Try to surf to the page again.