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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:48:28+00:00 2026-05-24T11:48:28+00:00

I have an ASP.NET MVC application running on IIS 7.5. Somehow, on my machine,

  • 0

I have an ASP.NET MVC application running on IIS 7.5. Somehow, on my machine, requests ending in ‘.js’ are not caught by the corresponding controller action while they are on a colleague’s machine.

The action has the ActionName attribute specified:

ActionName("Scripts.js")
public ActionResult ScriptsJS()
{
    ...
}

When I issue a request to ‘Scripts.js’, I get a 404 while for my colleague’s machine, he gets the result of the ScriptsJS action.

I figure it’s something I have to configure in IIS, since the same code runs fine on my colleague’s machine (also running IIS 7.5).

So, how do I configure IIS to pass requests ending in ‘.js’ to the MVC handler?

  • 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-24T11:48:29+00:00Added an answer on May 24, 2026 at 11:48 am

    It turned out that installing “IIS Recommended Configuration” using the Web Platform Installer resolved this issue.

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

Sidebar

Related Questions

I have an ASP.NET MVC web application running in IIS as a subweb; let's
I have an application running on iis(7) ( asp.net mvc if that matters )
I have an ASP.NET MVC 1.0 application running on Windows Server 2003 IIS 6.0.
I have an ASP.NET MVC 3 Beta application running on IIS. In my web.config
I have an ASP.NET 4.0 MVC web application running on IIS 6.0 with a
I have an Asp.net MVC application running on AppHarbor. It has the everyday email
I have a ASP.NET MVC application that runs in both IIS 6 and 7.
I have an Asp.Net MVC 2 web application deployed on IIS 7.5 on .Net
I've been running an ASP.NET MVC application on my IIS 7.5 localhost (on my
I have an ASP.NET MVC application up and running, using a SQL Sever express

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.