Solved

Running an aspx application in iis 7

Posted on 2007-03-25
1
3,396 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
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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…
This video discusses moving either the default database or any database to a new volume.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now