.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Articles >> WCF >> Post New Resource Bookmark and Share   

 Subscribe to Articles

HTTP Error 404.3 : WCF Hostes in IIS. Add a MIME type

Posted By:Dhananjay Kumar       Posted Date: December 02, 2010    Points: 75    Category: WCF    URL: http://www.dotnetspark.com  

HTTP Error 404.3 :Not found error and solutions. 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


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

To solve above problem

1. Open command prompt as Administrator

2. Navigate to C:Windows\Microsoft.Net\Framework\v3.0


3. Type the command

ServiceMode1Reg.exe -i


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

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend