Server Error in '/' Application.

The content type text/html 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 306 bytes of the response were: '<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Enstitü İstanbul İsmek</title>
</head>

<body style="background-color: #00285F;padding: 3%;padding-top: 10%;">

<img src="images2/comingSoon.png" alt="" style="max-width: 100%;text-align: center;display: block;margin: auto">
</body>
</html>
'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ServiceModel.ProtocolException: The content type text/html 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 306 bytes of the response were: '<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Enstitü İstanbul İsmek</title>
</head>

<body style="background-color: #00285F;padding: 3%;padding-top: 10%;">

<img src="images2/comingSoon.png" alt="" style="max-width: 100%;text-align: center;display: block;margin: auto">
</body>
</html>
'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ProtocolException: The content type text/html 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 306 bytes of the response were: '<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Enstitü İstanbul İsmek</title>
</head>

<body style="background-color: #00285F;padding: 3%;padding-top: 10%;">
	
	<img src="images2/comingSoon.png" alt="" style="max-width: 100%;text-align: center;display: block;margin: auto">
</body>
</html>
'.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +159
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +353
   ISMEK.SR_educations.bransListNewSoap.AlanaGoreListele(String BransAlanID) +0
   ISMEK.portal.egitim_alanlari_.start_alan(String AlanID, String BolumID) +143
   ISMEK.portal.egitim_alanlari_.Page_Load(Object sender, EventArgs e) +373
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.3928.0