G
Guest
Hello, friends, help please:
Deployed a web app, (it worked fine in IDE). The first page displayed
correctly. Then when I clicked Submit to go to the second page, I got errors:
The page you are looking for cannot be displayed because the page address is
incorrect.
HTTP 405 - Resource not allowed
Internet Information Services
In the Page_Load() of the first page, I had:
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
if (this.IsPostBack)
{
Server.Transfer("SecondPage.aspx");
}
}
It was so simple, there should be no error, it should go to the second page?
Any ideas? Thanks a lot.
Deployed a web app, (it worked fine in IDE). The first page displayed
correctly. Then when I clicked Submit to go to the second page, I got errors:
The page you are looking for cannot be displayed because the page address is
incorrect.
HTTP 405 - Resource not allowed
Internet Information Services
In the Page_Load() of the first page, I had:
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
if (this.IsPostBack)
{
Server.Transfer("SecondPage.aspx");
}
}
It was so simple, there should be no error, it should go to the second page?
Any ideas? Thanks a lot.