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 873231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:54:03+00:00 2026-05-15T10:54:03+00:00

I am using .NET MVC 2 with Windows XP (IIS 5.1). I have set

  • 0

I am using .NET MVC 2 with Windows XP (IIS 5.1). I have set up wildcards per this blog.
The problem I run into is sometimes when I call some of my actions, they are returning 404 errors. Here’s how I’m calling them (using a button):

            <% using (Html.BeginForm("MyController", "MyAction")){ %>
        <input type="submit" value="Submit" />
        <% } %>

I’m thinking it might have to do with my buttons, but I’m not sure. My actions are accepting Posts only. Any ideas?

  • 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-15T10:54:04+00:00Added an answer on May 15, 2026 at 10:54 am

    Re: 404 errors:

    Did you do all the fancy setup for the URL rewriting in MVC for IIS 5.1? I have not been able to get that to work correctly for me, so I ALWAYS debug to see my stuff ASP.NET MVC stuff on my XP Pro machine. When I deploy to the IIS 7 environment, I don’t have any problems.

    Re: Posts only:

    Are you decorating the ActionResults with AcceptVerbs? If you decorate it with [AcceptVerbs(HttpVerbs.Post)] then that is the only verb that an action will allow.

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

Sidebar

Related Questions

We have an ASP.NET application on ASP.NET 4.0 using MVC 3 which uses Windows
I have an ASP.NET MVC 3 application with a auto-authorization using the client's windows
I am using IIS 7.5 on Windows 2008 x64 server, ASP.NET MVC, and .NET
I'm using Windows Identity Foundation (WIF) for authentication in my ASP.NET MVC 3 project.
I recently started looking into building web applications using .NET MVC and I stumbled
Using ASP.Net MVC on my Site.Master I have: <head runat=server> <title><asp:ContentPlaceHolder ID=TitleContent runat=server />
Using ASP.NET MVC 2.0, I have an actionlink that is used for comments on
We have written Web application using ASP.NET MVC, which will be hosted in our
I have developed a web app in ASP.NET MVC which we are using internally.
I have a little weird behavior with my ASP.NET MVC 2 application. I'm using

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.