post html form to aspx page

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
 
S

Steven Cheng[MSFT]

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.)
 
H

Haim

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
 
S

Steven Cheng[MSFT]

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.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,615
Members
45,301
Latest member
BuyPureganics

Latest Threads

Top