J
JDS
I am a newbie to asp.net but have done traditional vb, asp and vb.net
- please forgive any dumb questions!
As a test I have a very simple page (Default.aspx) with a single
button which then redirects to a second page (MemberReport.aspx) using
Response.Redirect. I have the code working on a remote machine as
localhost and the same code running on the server as localhost both
with no problems. However, when I try to access the pages on the
server from a remote machine it does not work.
I can access either page directly from the remote machine, both from
within the network and from outside. When I click on the button on the
first page from within the network it just seems to refresh the same
page; when I access the page from outside the network and click the
button it comes up with an error message "Internet Explorer cannot
display the webpage".
The code is very simple:
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnSubmit.Click
Response.Redirect("MemberReport.aspx?MemberID=10058")
End Sub
(note I can open the target page directly with no problem).
Version information:
server: Windows SBS 2003, virtual directory running asp.net version
2.0
client: Windows XP Pro, IE 7.0
Any help greatly appreciated.
- please forgive any dumb questions!
As a test I have a very simple page (Default.aspx) with a single
button which then redirects to a second page (MemberReport.aspx) using
Response.Redirect. I have the code working on a remote machine as
localhost and the same code running on the server as localhost both
with no problems. However, when I try to access the pages on the
server from a remote machine it does not work.
I can access either page directly from the remote machine, both from
within the network and from outside. When I click on the button on the
first page from within the network it just seems to refresh the same
page; when I access the page from outside the network and click the
button it comes up with an error message "Internet Explorer cannot
display the webpage".
The code is very simple:
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnSubmit.Click
Response.Redirect("MemberReport.aspx?MemberID=10058")
End Sub
(note I can open the target page directly with no problem).
Version information:
server: Windows SBS 2003, virtual directory running asp.net version
2.0
client: Windows XP Pro, IE 7.0
Any help greatly appreciated.