Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

I m getting following error while accessing WCF Service. Need solution..

$
0
0

The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 

<div class="content-container">

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

</div> <div class="content-container">

Detailed Error Information<div id="details-left">
ModuleIIS Web Core
NotificationBeginRequest
HandlerNot yet determined
Error Code0x800700b7
Config ErrorThere is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
Config File\\?\C:\inetpub\wwwroot\ProductsService\web.config
</div> <div id="details-right">
Requested URLhttp://localhost:80/ProductsService/Service.svc
Physical PathC:\inetpub\wwwroot\ProductsService\Service.svc
Logon MethodNot yet determined
Logon UserNot yet determined
<div class="clear"></div> </div>

</div> <div class="config_source content-container">

Config Source
13:       <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
   14:         <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
   15:         <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

</div>


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>