Click here to Skip to main content
12,953,937 members (48,628 online)
Rate this:
Please Sign up or sign in to vote.
See more:
hi everyone
i wrote a wcf service(SVC)
when i run my service in my computer it works without any problems
bu when i upload my service in my host it has Not Found Error
Where is my problem
my service link

my Service web.config :
<?xml version="1.0"?>
    <compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />
          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
          <serviceMetadata httpGetEnabled="true" />
          <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
          <serviceDebug includeExceptionDetailInFaults="false" />
      <service name="Chat_Server.Service_Chat">
        <endpoint binding="wsDualHttpBinding" bindingConfiguration="DuplexBinding" contract="Chat_Server.IService_Chat" />
        <binding name="DuplexBinding">
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" />
    <modules runAllManagedModulesForAllRequests="true" />

thank you
Posted 10-Feb-13 23:23pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


Take a look at the error message, it's a known issue, try this:

The page you are requesting cannot be served because of the extension configuration[^]

Hope it helps
_Zorro_ 11-Feb-13 9:47am
It seems to me that your IIS is not properly configured to host svc extensions. Just read the 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."

-> "If the page is a script, add a handler"

Take a look at your Handler Mappings (in IIS) and look at .svc extensions. If you find some, check if they're enabled. Otherwise, that would mean that wcf if not properly installed on your web server and needs to be re activated.
Sina asefi 11-Feb-13 10:43am
thank you it's right

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,464
CHill60 3,490
Maciej Los 3,123
ppolymorphe 2,020
Jochen Arndt 1,975

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 11 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100