Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7636403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:40:14+00:00 2026-05-31T07:40:14+00:00

I am developing a website using Microsoft MVC3, and have built it upon the

  • 0

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.

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.

However, any form that submits via POST protocol returns page not found error 404 (this is on actions where I have asserted [HttpPost]).

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.

Has anyone else had this problem, or might anyone know how to help me?

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)

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.

Any help will be gratefully received. I’ve been stuck on this for days without luck.

Best Regards
Nick

STOP-PRESS-STOP-PRESS-STOP-PRESS-STOP-PRESS-STOP-PRESS-STOP-PRESS-STOP-PRESS-

It turned out to be a known issue with sitepreview. Switching to the proper domain sorted everything.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:40:16+00:00Added an answer on May 31, 2026 at 7:40 am

    I have noticed that you have some 404 javascript errors when performing your AJAX requests. For example you have a request to:

    http://213.229.125.117/$sitepreview/ase-limited.com/BuildingManager/Employees/2
    

    instead of:

    http://213.229.125.117/$sitepreview/ase-limited.com/Dev/BuildingManager/Employees/2
    

    Notice how /Dev is missing. That’s because in your javascripts you have hardcoded your urls instead of using url helpers to generate them. For example you wrote something like this:

    $.ajax({
        url: '/BuildingManager/Employees/2',
        ....
    });
    

    which works fine on localhost because you don’t have a virtual directory name but doesn’t work when you deploy on your server because now the correct path is:

    $.ajax({
        url: '/Dev/BuildingManager/Employees/2',
        ....
    });
    

    For this reason you should absolutely never hardcode urls like that.

    And when I try to POST the form in tries to post to http://213.229.125.117/Dev/BuildingManager/SaveBuilding which seems a very weird url as it is missing the whole beginning. Once again: never hardcode urls. Always use url helpers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a website (using asp.net-mvc) with a SqlServer 2005 database. I have numerous
I'm currently developing a website which stores bookmarks in a MySQL database using PHP
I'm developing a website using EPiServer. I have a form which submits to itself.
I am developing a website using zend framework. i have a search form with
I am developing a website using Codeigniter that will have different subdomains for different
I'm developing a website using PHP+Ajax. I have to fire a ajax request that
I'm developing a mobile website using the jQuery Mobile library. I have a header,
i am developing a website using asp.net 3.5.i have created a cascading dropdownlist for
I am developing a website using MVC 3, I have a web setup project
I'm developing an online website (using Django and Mysql). I have a Tests table

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.