473,378 Members | 1,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

post html form to aspx page

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
Nov 18 '05 #1
4 4042
Hi Haim,

See if this link helps out:
http://www.somacon.com/docs/iis_http...wed_error.html

Tod Birdsall
http://tod1d.blogspot.com

Haim <ha**@nospam.nospam> wrote in message news:<Om**************@TK2MSFTNGP14.phx.gbl>...
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

Nov 18 '05 #2
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.)

Nov 18 '05 #3
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

Steven Cheng[MSFT] wrote:
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.)

Nov 18 '05 #4
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.)

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Omar E Contreras | last post by:
Hi guys, Let me explain what I want to do in just 3 steps: Step 1: An HTML page that has a form which passes some data to an aspx page Step 2: The aspx page take this values and add some...
6
by: Phillip N Rounds | last post by:
I have a webform, from which I have to submit info to another site. Their instructions are to have a html form, with the following as the submit: <form method="post"...
1
by: Lewis | last post by:
Hi, Im having a problem with an aspx page that I'm building (and rather urgently needing to complete!). Situation is this... Im transforming some XML using an XSLT which builds an HTML form...
7
by: Matt | last post by:
Hi all, Not very sure about this. I have one button (not a submit button) will "post" partial page(form) info to another url(the user will also redirect to this url :-). I dont' want to change...
2
by: Matt | last post by:
When we submit the form data to another page, we usually do the following: <form action="display.aspx" method="post"> will submit the form data and open display.asp in the current browser ...
4
by: TR | last post by:
MyPage.htm has <FORM ACTION="Register.aspx" METHOD="POST">. Where does Register.aspx reference the values passed to it via the Post method in MyPage.htm? Thanks in advance. TR
12
by: Britney | last post by:
Hi guys, in my default.aspx file, I have following code. when I go to browser, I enter values in both textboxs, then I hit submit Button, however, it didn't go to page2.aspx. instead, it was...
0
by: WIWA | last post by:
Hi, I want to login to a password protected website and fetch the content of the page behind. I have based my code on http://weblogs.asp.net/jdennany/archive/2005/04/23/403971.aspx. When I use...
8
by: Laith Zraikat | last post by:
I am trying to invoke a post request from code behind of an asp.net page using "WebClient" object, and I want the user to be redirected to the action url as well. So far Ive been able to send...
3
by: Jag | last post by:
Hi I am facing a strange issue. I have 3 ASP pages in the default website 1. auth.aspx <html> <body>
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.