HttpHandlers on a website NOT using port 80

From: Diggler (Diggler_at_discussions.microsoft.com)
Date: 08/20/04


Date: Fri, 20 Aug 2004 11:23:04 -0700

I have a web application that allows a user to manage their own page
content. The content is stored in a database. When a user is editing an
.htm page, the page that houses the preview screen requests the .htm page
(that doesn't really exist except in the database), the HttpHandler
dynamically generates the page from the database and it is rendered so the
user can preview it. If they choose to save it, it is written to another
website on the server. The purpose is to create static, less
server-intensive pages for a public site.

The problem is that we have changed the development server where the editing
is done so the applications have their own web sites. Before, everything was
a subweb of the Default Web Site (port 80). Now, it's running on port 86 and
the httphandler doesn't work. I have installed remote debugging on the
server and cannot step into the httpmodule when requesting an .htm page. I
get the following error:

System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---> System.Net.WebException: The remote server returned an error:
(404) Not Found. at System.Net.HttpWebRequest.CheckFinalStatus() at
System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at
System.Net.HttpWebRequest.GetResponse() at
myNamespace.myAssembly.myClass.readHtmlPage(String url) in
d:\myProject\pagegrabber.asmx.cs:line 85 --- End of inner exception stack
trace ---

This works fine on my local machine, where it is running on port 80. Is
there a problem with running httphandlers on a port rather than a default?
If not, is there a setting that I need to adjust to allow this to happen?



Relevant Pages

  • Re: SQL2005: Cannot connect error 11001
    ... user mapped to one database. ... Does the issue has to do with the login account / user ... Server connection. ... if you changed the port ...
    (microsoft.public.sqlserver.connect)
  • DB Fault Tolerance - network connections
    ... a Perl server which talks to a PostgreSQL database on a different phys. ... block the port on the DB server, ... Note that I'm using iptables on the box that is running the Postgresql ...
    (perl.dbi.users)
  • Re: Created on Access 2003, but.......................
    ... But that's not secure under any scenario, as any port scanner ... Well, you still need a userid, password and database name. ... You're assuming the server remains in a secured configuration. ...
    (comp.databases.ms-access)
  • Re: Created on Access 2003, but.......................
    ... fact an external connection via a server. ... port to make it available across the Internet. ... The name of the server, the port number, and the name of the database for my databse are only available to me. ... This is as secure as any external connection can be. ...
    (comp.databases.ms-access)
  • Re: Drag and drop
    ... Editing the database and editing and adding new ... > Does he really need to stop the server or ensure no one is using it before ... it's not the drag n drop method that's the ...
    (microsoft.public.frontpage.programming)

Loading