Kbase P85855: Can not open pdf file with wsnsa.dll messenger running SunOne6.1
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  05/11/2009 |
|
Status: Unverified
SYMPTOM(s):
Can not open pdf file with wsnsa.dll messenger
Getting a file download dialog
Only with SunOne6.1 and web servers with higher versions
No problem with cgiip messenger
FACT(s) (Environment):
OpenEdge 10.0A
iPlanet 6.0
CAUSE:
Bug# 20040624-042
CAUSE:
HTTP consists of a "header" followed by a "body". The delimiter between these two differs based on the webserver being used. WebSpeed contains a check for the webserver being used and puts in the correct delimiter for that webserver. However, since Iplanet changed it's name to Sun Once in V6.1, this check was failing.
FIX:
Upgrade to Progress 10.0B or use following workaround:
1. Make a copy and modify the $DLC\src\web\objects\web-util.p file.
In following section
http-newline = (IF SERVER_SOFTWARE BEGINS "Netscape-":U
OR SERVER_SOFTWARE BEGINS "IPlanet-":U
OR SERVER_SOFTWARE BEGINS "FrontPage-PWS":U THEN "~n":U
ELSE "~r~n":U)
Add a check for Sun One
http-newline = (IF SERVER_SOFTWARE BEGINS "Netscape-":U
OR SERVER_SOFTWARE BEGINS "IPlanet-":U
OR server_software begins "Sun ONE":U
OR SERVER_SOFTWARE BEGINS "FrontPage-PWS":U THEN "~n":U
ELSE "~r~n":U)
2. Compile the modified code
2. Build a web/objects directory structure under your working directory, drop the modified compiled web-util.r in this directory
3. Make working directory at the beginning of propath
4. Trim agents
5. Retry the code to load pdf