How to solve "HTTP Error 404.3 :Not found" error in WCF

No.of Views2523
Bookmarked0 times
Downloads 
Votes0
By  Dhananjay Kumar   On  15 Nov 2010 03:11:49
Tag : WCF , How to
The page you are requesting cannot be served because of the extension configuration.If the page is a script,add a handler.if the file should be downloaded, add a MIME map.
emailbookmarkadd commentsprint

Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com

 

Introduction

When you are work with WCF service and IIS, you may get the followiung error.

"The page you are requesting cannot be served because of the extension configuration.If the page is a script,add a handler.if the file should be downloaded, add a MIME map."

Normally when we host a WCF  Service i9n IIS and while browsing we get the below frustrating screen . 

Image Loading

Error message in above screen is very clear. We need to add MIME type for .SVC extension.

Solution

To solve above problem

  1. Open command prompt as Administrator
  2. Navigate to  C:Windows\Microsoft.Net\Framework\v3.0 
Image Loading

3.    Type the command

ServiceMode1Reg.exe –i

 

Image Loading

Now MIME type has been registered for the .Svc extension and you should not face any problem , hosting WCF Service in IIS.Hope this help and save your times.

 
Sign Up to vote for this article
 
About Author
 
Dhananjay Kumar
Occupation-Software Engineer
Company-Infosys Technolgies,Pune
Member Type-Gold
Location-India
Joined date-20 Jul 2009
Home Page-http://dhananjaykumar.net/
Blog Page-http://dhananjaykumar.net/
Dhananjay Kumar is Microsoft MVP on connected system. He blogs at http://dhananjaykumar.net/ . You can follow him http://twitter.com/debugmode_/ and reach him at dhananjay.25july@gmail.com
 
 
Other popularSectionarticles
Comments
There is no comments for this articles.
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top
</