![]() |
|
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
Posts: n/a
|
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 |
|
|
|
#3 |
|
Posts: n/a
|
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] |
|
|
|
#4 |
|
Posts: n/a
|
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 |
|
|
|
#5 |
|
Posts: n/a
|
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] |
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |