Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

The page you are requesting cannot be served because of the extension configuration problem in IIS7

Jun 29, 2011
Introduction:

In this article I will explain how to solve The page you are requesting cannot be served because of the extension configuration problem in IIS7.

Description:

In previous post I explained clearly about what WCF is and I explain how to create WCF sample and how to consume WCF service in our application. After completion creation of WCF service I tried to host my application on my local system during that time I got error like 

HTTP Error 404.3 – Not Found

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. Detailed Error InformationModule StaticFileModule.

To solve this error I run some of command after that my problem solved easily. To run commands just follow below instructions.

Start --> All Programs --> Microsoft Visual Studio 2008 --> Visual Studio Tools --> Open Visual Studio Command Prompt

Run Visual Studio 2008 Command Prompt as “Administrator” if you are using Windows7.
After that navigate to

C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation 


After that Run this command servicemodelreg -i
 

After run servicemodelreg -i all components will install successfully now run your hosted WCF service will work perfectly.

After install these commands run your application during that time if you are getting any error like  

There is no compatible TransportManager found for URI ‘http://localhost/WCFSample/Service.svc’. This may because that you have used an absolute address which points outside of the virtual application. Please use relative address instead.

Check this post to solve this error There is no compatible TransportManager found for URI

If you enjoyed this post, please support the blog below. It's FREE!

Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email

6 comments :

Mark Roch said...

Thanks for posting about this, I would love to read more….

Madhavakrishna said...

super post.........thank u...

Madhavakrishna said...

can you give information how to use MVC-3 aspx Engine to communicate with DataBase.........

Unknown said...

Thanks it's working but after installing i'm getting an error like server configuration anyway i'l try to do it.

Unknown said...

Hi,

I have uploaded the wcf files in remote server (shared host - Parallel Plesk) and when i call the url, it throws the error "HTTP Error 404.3 - Not Found" i have followed your information related these error in this post. eventhough, i can not work but it working fine in my local system

this is my web config
----------------------


































----------------------------------------


please help me

char said...

Hi this is Chethan , how to run the above command in framework v4.0.30319.Please help me in his issue.

Give your Valuable Comments

Note: Only a member of this blog may post a comment.

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.