Note that there are some explanatory texts on larger screens.

plurals
  1. POFTP deployed Microsoft MVC3 website. POST protocol ISN'T working. GET protocol IS working
    primarykey
    data
    text
    <p>I am developing a website using Microsoft MVC3, and have built it upon the default MVC3 Application template. It accesses an external database and works on localhost.</p> <p>I have deployed it to a shared server I rent from storminternet via the publish tool using ftp method (storminternet do not yet support web deploy), and it runs well. It accesses the database okay and get requests work fine. </p> <p>However, any form that submits via POST protocol returns page not found error 404 (this is on actions where I have asserted [HttpPost]).</p> <p>Storm internet assure me that POST and GET are allowed by default, and since the helpdesk are not developers, I'm unsure who to turn to. I don't have an excellent understanding of web.config, although I can read and understand xml and see what's going on by reading through and googling. I have tried adding the protocols to the root web.config, and I think I might be barking up the wrong tree.</p> <p>Has anyone else had this problem, or might anyone know how to help me?</p> <p>To replicate my error, my site is here... 213.229.125.117/$sitepreview/ase-limited.com/Dev (sorry it isn't blue. The dollar gets parsed to % something)</p> <p>and the quickest route to a POST request is to click 'Add Building' at the top of the left-hand side and then click 'Save' at the top of the dialogue box.</p> <p>Any help will be gratefully received. I've been stuck on this for days without luck.</p> <p>Best Regards Nick</p> <p>STOP-PRESS-STOP-PRESS-STOP-PRESS-STOP-PRESS-STOP-PRESS-STOP-PRESS-STOP-PRESS-</p> <p>It turned out to be a known issue with sitepreview. Switching to the proper domain sorted everything.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload