Kbase 22083: AppBuilder Remote Development with IIS and Multiple WebSites
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  6/21/2002 |
|
SUMMARY:
When developing with WebSpeed and using the AppBuilder in 'Remote Development' mode, problems have been witnessed when trying to access the 'File Open' window with an IIS Web Server.
When trying to open a new file, you may see the following error:
'An error occurred while reading the WebSpeed
directory and will be displayed in your Web
browser.'
Upon checking the pxxxxxws.tmp file as per Progress Knowledge Base Solution 20054, it says:
<html><head><title>Error</title></head><body>The system cannot find
the file specified. </body></html>
Click 'Ok', and you get a directory listing of the remote broker's
Working Directory listed in the browser instead of in the 'File Open' window.
EXPLANATION:
The problem is that the Web Server is denying the request because the OCX that Progress uses to display this window (CIHTTP from Crescent) is not sending it the Host information that it requires. You will find that the same URL works fine from the browser because it actually sends this required information.
This is a limitation of the OCX, but you can work around the problem by changing the Web Site configuration in the IIS Web Server.
SOLUTION:
1) Open Internet Information Services Manager.
2) Right click on the Web Site in question and select 'Properties'.
3) In the Web Site tab, click on the 'Advanced' button next to the
IP Address. This will open a screen where you can select the
identities for that Web Site.
4) Click on the identity, and then the Edit button. You should see
that the 'Host Header Name' is set. If it will not affect any
other applications, remove the 'Host Header Name'.
The error should no longer occur because the Web Server will not require the Host Information to be sent in the request.
References to Written Documentation:
Progress Knowledge Base Solution 20054, "AppBuilder Remote Development with IIS - File Open Error"
IIS Online Documentation