Error: The content type text/html

Environment: Project Server 2013, SQL Server 2012

Background: When access the SSRS report in Business Intelligence, it gives the below error message

The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). 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”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <title>IIS 8.0 Detailed Error – 500.19 – Internal Server Error</title> <style type=”text/css”> <!–body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;} code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} .config_source code{font-size:.8em;color:#000000;} pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 5px;} ul.first,ol.first{margin-top:5px;} fieldset{padding:0 15px 10px 15px;word-break:break-all;} .summary-container
fieldset{padding-bottom:5px;margin-top:4px;} legend.no-expand-all{padding:2px
15px 4px 10px;margin:0 0 0 -12px;} legend{color:#333333;;margin:4px 0 8px
-12px;_margin-top:0px; font-weight:bold;font-size:1em;}
a:link,a:visited{color:#007EFF;font-weight:bold;}
a:hover{text-decoration:none;} h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0’.

Report deployment throws below error:

An unexpected error occurred while connecting to the report server. Verify that
the Reporting Services Service Application mapped to this web application is
available OR the report server is available and configured for SharePoint
Integrated mode. à
The content type text/html; charset=utf-8 of the response message does not
match the content type of the binding (application/soap+msbin1). 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”>

<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<title>IIS 8.0 Detailed Error – 500.19 – Internal Server
Error</title>
<style type=”text/css”>
<!-body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;}
code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}
.config_source code{font-size:.8em;color:#000000;}
pre{margin:0;font-size:1.4em;word-wrap:break-word;}
ul,ol{margin:10px 0 10px 5px;} ul.first,ol.first{margin-top:5px;}fieldset{padding:0 15px 10px 15px;word-break:break-all;} .summary-container fieldset{padding-bottom:5px;margin-top:4px;}
legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}
legend{color:#333333;;margin:4px 0 8px -12px;_margin-top:0px; font-weight:bold;font-size:1em;}
a:link,a:visited{color:#007EFF;font-weight:bold;} a:hover{text-decoration:none;}
h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0’. à The content type text/html; charset=utf-8 of the response message does not match the content type of the binding
(application/soap+msbin1). 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”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<title>IIS 8.0 Detailed Error – 500.19 – Internal Server
Error</title>
<style type=”text/css”>
<!– body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;}
code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}
.config_source code{font-size:.8em;color:#000000;}
pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 5px;} ul.first,ol.first{margin-top:5px;} fieldset{padding:0 15px 10px 15px;word-break:break-all;} .summary-container fieldset{padding-bottom:5px;margin-top:4px;} legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} legend{color:#333333;;margin:4px 0 8px -12px;_margin-top:0px; font-weight:bold;font-size:1em;} a:link,a:visited{color:#007EFF;font-weight:bold;} a:hover{text-decoration:none;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0’.
The remote server returned an error: (500) Internal Server Error.

ULS Log Error Details:

System.Net.WebException: The remote server returned an error: (500) Internal Server Error.    At System.Net.HttpWebRequest.GetResponse()     at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

 

Cause: This issue occurs when Reporting files is not under 15 hive as per below path –

\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting which is mapped to SSRS Service?

Please note If you have used the ISO for SQL Server 2012 with SP1 that was released on November 8th does not install SP1.

http://support.microsoft.com/kb/2783963?wa=wsignin1.0

If you downloaded the ISO prior to November 27, it means you have a BAD ISO VERSION.

Solution:

To fix the issue you need to install the SQL Server 2012 SP1 onto the SharePoint Server. Once it is installed you will notice Reporting files is available in the below path and this will fix the issue. J

\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\

Hope this helps you.

 

 

 

 

 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: