Host was not found error in PH Web
Edis, Bob
bob.edis@fleetpride.com
Thu, 26 Jul 2001 15:06:12 -0500
Thanks Bob, I'll try it and let you know.
Where exactly does this SET HTTP statement go, in the procedure just prior
to the DEFER LINKSCREEN statement or at the start of the code prior to the
SCREEN statement?
Blue
-----Original Message-----
From: Deskin, Bob [mailto:Bob.Deskin@Cognos.COM]
Sent: Thursday, July 26, 2001 2:55 PM
To: 'powerh-l@list.swau.edu'
Subject: RE: Host was not found error in PH Web
I suspect it's the DEFER LINKSCREEN processing that's causing the problem.
We've seen this before. Try using the SET HTTP statement to specify the
complete path to the PHCGI as in
"HTTP://web-server-machine-root/cgi-bin/phcgi.exe". What may be happening is
that the hostname is being used instead of the server name. In the next
release, we'll have a parameter to let you specify which to use, but in the
mean time you'll have to "hard code it".
Bob
-----Original Message-----
From: Edis, Bob [mailto:bob.edis@fleetpride.com]
Sent: Thursday, July 26, 2001 3:41 PM
To: 'powerh-l@list.swau.edu'
Subject: RE: Host was not found error in PH Web
G'day Bob
The web server is on a different machine. The setup is three machines,
data, web and app servers. IIS and the PHCGI stuff is on the web server.
PH Web, PH, the dispatcher, etc. are all on the app server.
ALL the screens are behaving the same way.
Here is the report section from the HTML of one of them:
<!--PH:REPORT-->
<center>
<font size="+3"></font>
<table border="1" width="594">
<tr>
<td width="84">Corp Cust Id</td>
<td width="278">Corp Cust Name</td>
<td width="157">City</td>
<td width="47">State</td>
</tr>
<!--PH:REPORTDATA:MAX=10-->
<tr>
<td width="84">
<A
HREF="/cgi-bin/phcgi.exe?PH_HTML=cc_vw_corp_cust.htm&PH_QKC=cc_vw_corp_c
ust&PH_APP=CorpCust_App&PH_SEARCH=<!--PH:LINKVALUE:PH_SEARCH-->&
PH_ACTION=LoadData&CORP_CUSTOMER:corp_cust_Id=<!--PH:LINKVALUE:CORP_CUST
OMER:corp_cust_Id-->"> <!--PH:VALUE:CORP_CUSTOMER:corp_cust_Id-->
</a>
</td>
<td width="278"><!--PH:VALUE:CORP_CUSTOMER:corp_cust_name--></td>
<td width="157"><!--PH:VALUE:CORP_CUSTOMER:corp_cust_city--></td>
<td width="47"><!--PH:VALUE:CORP_CUSTOMER:corp_cust_state--></td>
</tr>
<!--PH:/REPORTDATA-->
</table>
<!--PH:REPORTPREVIOUS-->
<A
HREF="/cgi-bin/phcgi.exe?PH_HTML=cc_vw_corp_cust.htm&PH_QKC=cc_vw_corp_c
ust&PH_APP=CorpCust_App&PH_SEARCH=<!--PH:LINKVALUE:PH_SEARCH-->&
PH_ACTION=LoadPage&PH_LOADID=<!--PH:VALUE:PH_LOADID-->"> <<
Previous Result
</A>
<!--PH:/REPORTPREVIOUS-->
<!--PH:REPORTNEXT-->
<A
HREF="/cgi-bin/phcgi.exe?PH_HTML=cc_vw_corp_cust.htm&PH_QKC=cc_vw_corp_c
ust&PH_APP=CorpCust_App&PH_SEARCH=<!--PH:LINKVALUE:PH_SEARCH-->&
PH_ACTION=LoadPage&PH_LOADID=<!--PH:VALUE:PH_LOADID-->"> Next Result
>>
</A>
<!--PH:/REPORTNEXT-->
</center>
<br>
<br>
<!--PH:VALUE:PH_MSG-->
<br>
<!--PH:/REPORT-->
And here is the POSTPATH procedure from the same screen. This is used to
populate the search screen with the values selected from the search results
list.
PROCEDURE POSTPATH
BEGIN
IF PROMPTOK FOR corp_cust_id OF corp_customer &
AND t_flag NE "Y"
THEN BEGIN
LET t_flag = "Y"
DEFER LINKSCREEN cc_vw_corp_cust &
ACTION "loaddata" &
PASSING corp_cust_id, t_flag, &
t_inv_doc_type, t_cc_central_invoice, &
t_statement_field
END
END
Blue
-----Original Message-----
From: Deskin, Bob [mailto:Bob.Deskin@Cognos.COM]
Sent: Thursday, July 26, 2001 2:32 PM
To: 'powerh-l@list.swau.edu'
Subject: RE: Host was not found error in PH Web
Is this a self-contained test or is the web server on a different box than
PH Web? Is this a straight link or are you using DEFER LINKSCREENS?
Bob Deskin
PowerHouse Web Product Manager, Application Development Tools, Cognos Inc.
bob.deskin@cognos.com (613) 738-1338 ext 7268 FAX: (613) 727-1178
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA
-----Original Message-----
From: Edis, Bob [mailto:bob.edis@fleetpride.com]
Sent: Thursday, July 26, 2001 3:21 PM
To: 'powerh-l@list.swau.edu'
Subject: Host was not found error in PH Web
G'day all
PowerHouse 4GL 8.21D
PowerHouse Web 2.21D
Windows NT 4.0 sp6
IIS 4.0
We have replicated our PH Web environment on a test box. We copied the
programs, source and compiled, Quick and HTML, from the production box to
the test box. The IIS configuration and PH Web dispatcher configuration are
identical on both machines other than references to host machine names.
Here is the problem:
We open a screen from a HTML menu page and click on the Search button. A
list of records is returned with the key item hilited so we can select a
particular record. In the production system we are returned to the first
screen with the fields filled in using the record selected from the list.
On the test box we get a Proxy error:
Proxy Reports:
11001 Host was not found
The host specified in your URL could not be found.
This error could have been caused by:
* Bad / misspelled URL
* Following an invalid link
* Your network connection and/or transient conditions on the Internet
The host specified in the URL is the same that allowed into the first search
screen so that's OK.
Any ideas where we should look to find the source of the problem?
Regards to all,
Blue
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.