post html form to aspx page

  • Thread starter Thread starter Haim
  • Start date Start date
H

Haim

I have a small application which I'm trying to upgrade from asp to
asp.net. I have an html form which I want to post to an aspx page. It
works ok on my development machine (win2000), but when I deploy it to
the server (Win2k3) I get an http 405 error (verb used to access this
page is not allowed).

I been struggling to find my configuration errors but haven't succeeded
yet. Any help is appreciated.

Haim
 
Thanks for Tod's informative suggestion.

Hi Haim,

As for the problem you mentioned, I've done a simple test on a win2k3
machine, post a classic asp form to an ASP.NET web page and that works ok.
So I think there maybe something else ( IIS setting is one potential
cause). If you still have no luck after further test, would provide some
code of the ASP page and aspx page or how do you do the http post(via MSXML
?) so that we can do some futher tests on our side. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Thank you Steve and Tod. The problem was a mapping issue. My 'start'
page is an html form which did not map to asp.net. I added a mapping of
html to asp.net but it basically crashed the site.

I mananged to 'embed' the html page in an aspx web form, and it works
fine. I was surprised but the html button posts the form to the aspx
page just like the old days.

Haim
 
Thanks for your followup, Haim,

Glad that you've figured it out. Have a nice day!

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top