473,385 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Setting Up File Handler for IIS 7

Hi there,

I'm trying to set up a virtual directory for a website which I have created in ASP.NET and wish to run in IIS7. However, I am given Server Error 404.3 in which it has been suggesgted that I try all of the following (shorter version of error):

- Ensure that the expected handler for the current page is mapped.
- Please verify that the feature you are trying to use is installed.
- Ensure that ASP is installed.
- Verify that the MIME map is enabled or add the MIME map for the Web site
using the command-line tool appcmd.exe.
- Create a tracing rule to track failed requests for this HTTP status code. For
more information about creating a tracing rule for failed requests, click here.
Links

Adding the FileHandler was the most difficult step and I used these pages to help me:

http://msdn.microsoft.com/en-us/library/ms228090.aspx
http://msdn.microsoft.com/en-us/library/bb515343.aspx

After performing all steps to the best of my knowledge, I still get the same error.
Am I going about solving the file handler problem in the right way?

Has anyone had this problem when using IIS 7 but not with previous versions of IIS and if so, how id you get round the problem?
Feb 16 '10 #1
1 4653
JamieHowarth0
533 Expert 512MB
Hi mbewers1,

Are you using custom extensions or extensionless URLs for your ASP.NET site?
ASP.NET support on IIS7 should be out-of-the-box. You may wish to try and run from a commandline "aspnet-regiis" as this hooks ASP.NET into IIS and adds the necessary handler mappings.

If this doesn't work first-time then you may need to uninstall ASP.NET from IIS by using the -u switch with aspnet-regiis, reboot, then re-installing it using the -i switch.

Hope this helps.

codegecko
Feb 24 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Randy Jackson | last post by:
I'm trying to set up a simple redirect for errors and log them to a custom file. I'm doing this for work on remote servers where I may not have access to their error.log. Anyway, the code I've...
19
by: Joshua Beall | last post by:
Hi All, I would like to setup my site so that when a page is request that does not exist, transfer is instead passed to a certain page that I specify. For instance, if the user requests...
5
by: j vickroy | last post by:
Hello, I'm trying to understand the behavior of the Python 2.3 logging module (MS Windows 2k) with regard to RotatingFileHandler. The following script illustrates a puzzling problem. What is...
0
by: Roger Orr | last post by:
Having had several questions recently about the original thread with this name (from Jul 2003) I thought I'd post the eventual solution to getting 'hand written' exception handlers enabled with...
7
by: D & J G | last post by:
Is there a way to instruct Windows file-handling - 'Opens with:' - from within VB6? I want to ensure that files with the .rtf (rich text) extension always go to Word Pad, no matter which future...
1
by: David Veeneman | last post by:
I am writing a control that relies on its host to validate the contents of one of its fields. The control fires a custom 'FooNeedsValidating' event and passes the field's data with the event. The...
3
by: yellowtek | last post by:
Hi, I'm simply using PHP as a programming language, and I just want to print some text information to stdout, but instruction print "é" (é) does not print my "e" with an accent in the...
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
6
by: John H Clark | last post by:
I am designing a site that requires AnonymousID. I set my web.config to allow this using <anonymousIdentification enable="true".../as recommended in the documentation. To verify the settings I...
0
by: Jordan S. | last post by:
Using .NET 3.5... in a "plain old" .aspx page I have the following code in the Init event: this.Context.Response.Cache.SetExpires(DateTime.Now.AddSeconds(60));...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.