Solved

Running an aspx application in iis 7

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

17 Experts available now in Live!

Get 1:1 Help Now