Serverfehler in der Anwendung /VS2008/EB/eb_client.

Der Inhaltstyp "text/html; charset=utf-8" der Antwortnachricht stimmt nicht mit dem Inhaltstyp der Bindung (text/xml; charset=utf-8) überein. Wenn Sie einen benutzerdefinierten Encoder verwenden, sollten Sie sicherstellen, dass die IsContentTypeSupported-Methode korrekt implementiert ist. Die ersten 1024 Bytes der Antwort waren: "

<html>

   <head><link rel="alternate" type="text/xml" href="/vs2008/eb/eb_Search/service.asmx?disco" />

   <style type="text/css">
   
BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }
#content { margin-left: 30px; font-size: .70em; padding-bottom: 2em; }
A:link { color: #336699; font-weight: bold; text-decoration: underline; }
A:visited { color: #6699cc; font-weight: bold; text-decoration: underline; }
A:active { color: #336699; font-weight: bold; text-decoration: underline; }
A:hover { color: cc3300; font-weight: bold; text-decoration: underline; }
P { color: #000000; margin-top: 0px; margin-bottom: 12px; font-family: Verdana; }
pre { background-color: #e5e5cc; padding: 5px; font-family: Courier New; font-size: x-small; margin-top: -5px; border: 1px #f0f0e0 solid; }
td { color: #000000; font-family: Verdana; font-size: .7em; }
h2 { font-size: 1.5em; font-weight: bold; margin-top: 25px; margin-bottom: 10px; b".

Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.

Ausnahmedetails: System.ServiceModel.ProtocolException: Der Inhaltstyp "text/html; charset=utf-8" der Antwortnachricht stimmt nicht mit dem Inhaltstyp der Bindung (text/xml; charset=utf-8) überein. Wenn Sie einen benutzerdefinierten Encoder verwenden, sollten Sie sicherstellen, dass die IsContentTypeSupported-Methode korrekt implementiert ist. Die ersten 1024 Bytes der Antwort waren: "

<html>

   <head><link rel="alternate" type="text/xml" href="/vs2008/eb/eb_Search/service.asmx?disco" />

   <style type="text/css">
   
BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }
#content { margin-left: 30px; font-size: .70em; padding-bottom: 2em; }
A:link { color: #336699; font-weight: bold; text-decoration: underline; }
A:visited { color: #6699cc; font-weight: bold; text-decoration: underline; }
A:active { color: #336699; font-weight: bold; text-decoration: underline; }
A:hover { color: cc3300; font-weight: bold; text-decoration: underline; }
P { color: #000000; margin-top: 0px; margin-bottom: 12px; font-family: Verdana; }
pre { background-color: #e5e5cc; padding: 5px; font-family: Courier New; font-size: x-small; margin-top: -5px; border: 1px #f0f0e0 solid; }
td { color: #000000; font-family: Verdana; font-size: .7em; }
h2 { font-size: 1.5em; font-weight: bold; margin-top: 25px; margin-bottom: 10px; b".

Quellfehler:


Zeile 60:         
Zeile 61:         public System.Data.DataSet eb_DatabaseSearch(string SearchString, string Provider, string language, string Filter, string Top, string OrderField, bool SynSearch, string _AF_DefaultFilter, string _AF_DspList, string _AF_MaxResults, int _AF_MaxFilterValues, string _EBDisplayList) {
Zeile 62:             return base.Channel.eb_DatabaseSearch(SearchString, Provider, language, Filter, Top, OrderField, SynSearch, _AF_DefaultFilter, _AF_DspList, _AF_MaxResults, _AF_MaxFilterValues, _EBDisplayList);
Zeile 63:         }
Zeile 64:         

Quelldatei: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vs2008_eb_eb_client\34baeaec\2e9eb434\App_WebReferences.7jlvvw2m.4.cs    Zeile: 62

Stapelüberwachung:


[ProtocolException: Der Inhaltstyp "text/html; charset=utf-8" der Antwortnachricht stimmt nicht mit dem Inhaltstyp der Bindung (text/xml; charset=utf-8) überein. Wenn Sie einen benutzerdefinierten Encoder verwenden, sollten Sie sicherstellen, dass die IsContentTypeSupported-Methode korrekt implementiert ist. Die ersten 1024 Bytes der Antwort waren: "

<html>

    <head><link rel="alternate" type="text/xml" href="/vs2008/eb/eb_Search/service.asmx?disco" />

    <style type="text/css">
    
		BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }
		#content { margin-left: 30px; font-size: .70em; padding-bottom: 2em; }
		A:link { color: #336699; font-weight: bold; text-decoration: underline; }
		A:visited { color: #6699cc; font-weight: bold; text-decoration: underline; }
		A:active { color: #336699; font-weight: bold; text-decoration: underline; }
		A:hover { color: cc3300; font-weight: bold; text-decoration: underline; }
		P { color: #000000; margin-top: 0px; margin-bottom: 12px; font-family: Verdana; }
		pre { background-color: #e5e5cc; padding: 5px; font-family: Courier New; font-size: x-small; margin-top: -5px; border: 1px #f0f0e0 solid; }
		td { color: #000000; font-family: Verdana; font-size: .7em; }
		h2 { font-size: 1.5em; font-weight: bold; margin-top: 25px; margin-bottom: 10px; b".]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +159
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +353
   EbSearchService.ServiceSoap.eb_DatabaseSearch(String SearchString, String Provider, String language, String Filter, String Top, String OrderField, Boolean SynSearch, String _AF_DefaultFilter, String _AF_DspList, String _AF_MaxResults, Int32 _AF_MaxFilterValues, String _EBDisplayList) +0
   EbSearchService.ServiceSoapClient.eb_DatabaseSearch(String SearchString, String Provider, String language, String Filter, String Top, String OrderField, Boolean SynSearch, String _AF_DefaultFilter, String _AF_DspList, String _AF_MaxResults, Int32 _AF_MaxFilterValues, String _EBDisplayList) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vs2008_eb_eb_client\34baeaec\2e9eb434\App_WebReferences.7jlvvw2m.4.cs:62
   _Default.btnSubmit_Click(Object sender, EventArgs e) in D:\daten\htmroot\VS2008\EB\eb_client\eb_search.aspx.vb:293
   _Default.Page_Load(Object sender, EventArgs e) in D:\daten\htmroot\VS2008\EB\eb_client\eb_search.aspx.vb:214
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Versionsinformationen: Microsoft .NET Framework-Version:4.0.30319; ASP.NET-Version:4.8.4700.0