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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:58:34+00:00 2026-06-07T03:58:34+00:00

When getting a newly configured Windows 7 box, I noticed that ASP.NET was turned

  • 0

When getting a newly configured Windows 7 box, I noticed that ASP.NET was turned off by default. So was classical ASP. I was getting a 404.17 error for a web application. I think it’s because I don’t have an “aspx” MIME type. Although that’s just a guess. When I turned them on under Control Panel > Programs and Features > Turn Windows Features on or off, and restarted my Windows 7 machine, the MIME types never showed up. Can someone check what MIME type they have for *.aspx pages, and tell me the configuration in edit mode? What other MIME types would I be missing for ASP.NET extensions (ie: ashx, asax, etc…)? What is the best way to configure them all?

    Error Summary
    HTTP Error 404.17 - Not Found
    The requested content appears to be script and will not be served by the static file handler.

...

Module: StaticFileModule
Notification: ExecuteRequestHandler
Handler: StaticFile
Error Code: 0x80070032
Requested URL: ...
Physical Path: ...
Logon Method: NTLM
Logon User: {DOMAIN}\{WINDOWS LOGIN}

...

Most likely causes:

The request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different handler.

...

Things you can try:

If you want to serve this content as a static file, add an explicit MIME map.
  • 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-06-07T03:58:36+00:00Added an answer on June 7, 2026 at 3:58 am

    Fix:

    I chose the “ISAPI & CGI Restrictions” after clicking the server
    name (not the site name) in IIS Manager, and right clicked the
    “ASP.NET v4.0.30319” lines and chose “Allow”.

    After turning on ASP.NET from “Programs and Features > Turn Windows features on or off”, you must install ASP.NET from the Windows command prompt. The MIME types don’t ever show up, but after doing this command, I noticed these extensions showed up under the IIS web site “Handler Mappings” section of IIS Manager.

    C:\>cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319>dir aspnet_reg*
     Volume in drive C is Windows
     Volume Serial Number is 8EE6-5DD0
    
     Directory of C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    
    03/18/2010  08:23 PM            19,296 aspnet_regbrowsers.exe
    03/18/2010  08:23 PM            36,696 aspnet_regiis.exe
    03/18/2010  08:23 PM           102,232 aspnet_regsql.exe
                   3 File(s)        158,224 bytes
                   0 Dir(s)  34,836,508,672 bytes free
    
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -i
    Start installing ASP.NET (4.0.30319).
    .....
    Finished installing ASP.NET (4.0.30319).
    
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319>
    

    However, I still got this error. But if you do what I mentioned for the “Fix”, this will go away.

    HTTP Error 404.2 - Not Found
    The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Getting 401 errors when trying to use ASP.NET back end in load balanced environment
I'm developing a .NET 4.0 application on a newly setup Windows 7 desktop. Queries
I'm getting a strange error in my newly deployed application in appengine. In the
I am getting this errror in my newly created website in Windows 7 and
I have this problem getting my newly created php project on Netbeans work on
Getting 'Dispatcher has no subscribers' error while trying to post message to a channel
Getting red warning message that expected identifier for this statement CALayer = ImageView.layer; Using
Getting this weird LINQ error. title = System.Linq.Enumerable+WhereSelectEnumerableIterator`2[System.Xml.Linq.XElement,System.String Here is the code I have:
After attaching newly backuped database, I'm getting an exception: Caused by: org.hibernate.PropertyAccessException: exception setting
I am getting the following exception message when I try to run my newly

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.