Solved

Running an aspx application in iis 7

Posted on 2007-03-25
1
3,402 Views
Last Modified: 2012-06-27
I am trying to get an aspx application running in iis 7/Vista and am having major problems.

I copy the application files to the IIS folder and make the folder an application. First problem - "cannot browse site" - this is because under "default document" aspx files are not listed by default - you get default.asp and index.html but no default.aspx - fine, I add it in.

Now I am getting Error 404.3 - Not Found

Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed.

Error Code: 0x80070032
Notification: ExecuteRequestHandler
Module: StaticFileModule
Requested URL: http://localhost/asi.webroot/Default.aspx 

In other words, there is no "handler" defined for aspx pages. I need to manually add the mime type for aspx to tell IIS 7 how to process aspx pages.

This is madness - I must be doing something fundamentally wrong, I can't believe it should be as difficult as this. How can I get IIS 7 to work with aspx pages?
0
Comment
Question by:purplesoup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
asp_lha earned 500 total points
ID: 18790598
you need to check this:

Enabling ASP.NET 2.0 Debugging on Visual Studio 2005, IIS 7.0 and Vista
http://www.thousandtyone.com/blog/EnablingASPNET20DebuggingOnVisualStudio2005IIS70AndVista.aspx
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question