Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - post html form to aspx page

 
Thread Tools Search this Thread
Old 10-31-2004, 03:31 PM   #1
Default 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


Haim
  Reply With Quote
Old 11-01-2004, 03:08 AM   #2
Tod1d
 
Posts: n/a
Default Re: post html form to aspx page
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 <> wrote in message news:<>...
> 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



Tod1d
  Reply With Quote
Old 11-01-2004, 05:30 AM   #3
Steven Cheng[MSFT]
 
Posts: n/a
Default Re: post html form to aspx page
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.)



Steven Cheng[MSFT]
  Reply With Quote
Old 11-01-2004, 09:21 AM   #4
Haim
 
Posts: n/a
Default Re: post html form to aspx page
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.)
>
>
>



Haim
  Reply With Quote
Old 11-02-2004, 01:33 AM   #5
Steven Cheng[MSFT]
 
Posts: n/a
Default Re: post html form to aspx page
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.)



Steven Cheng[MSFT]
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
export aspx page to word format or pdf format as it is display in aspx page getmeaditi Software 0 03-10-2009 07:15 AM
Logging html page id into php brentcole General Help Related Topics 0 12-28-2008 01:53 PM
how to access iframe from an aspx page eyal1234 Software 1 07-22-2008 10:57 AM
html form POST to aspx page, then to SQL db ikeson General Help Related Topics 0 10-09-2007 03:47 AM
Enbedding aspx page into another aspx page and post back Naga_01 Software 0 06-06-2006 06:51 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46