J
Jeff
I am using System.Net.WebRequest to request an aspx from another aspx.
If the remote requested page is accessed using a url in the form
http://localhost everything works fine. However if the request is
made using http://<machinename> I get an internal server error. The
requests are made to the same machine and same page. Ultimately the
second page will be on a remote server, but for development/debug
purposes it's currently on the same machine to enable to debug.
If I put a break point on the requested page during Page_Load and step
through, everything appears to work ok. No exceptions are thrown. but
as soon as the flow returns to the requesting page and I attempt to
get the responseStream a WebException occurrs.
Any suggestions would be greatly appreciated.
cheers
If the remote requested page is accessed using a url in the form
http://localhost everything works fine. However if the request is
made using http://<machinename> I get an internal server error. The
requests are made to the same machine and same page. Ultimately the
second page will be on a remote server, but for development/debug
purposes it's currently on the same machine to enable to debug.
If I put a break point on the requested page during Page_Load and step
through, everything appears to work ok. No exceptions are thrown. but
as soon as the flow returns to the requesting page and I attempt to
get the responseStream a WebException occurrs.
Any suggestions would be greatly appreciated.
cheers