Click here to Skip to main content
16,021,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using Sql server 2005 reports. i have deployed my reports to client. But one user getting above error.

Error - Client found response content type of 'text/html', but expected 'text/html'.

The request failed with the error message:
--
XML
<html>
    <head>
        <title>Access Denied</title>
        <style>............

      <td>this site is forbidden accessed through this network</td>.............


Other user can access the reports.

Anything to configure in 'Reporting Services Configuration' ??

Any idea?

In 'Reporting Services Configuration' - Windows service Identity -

Service Name - ReportServer

Service Account - Domain\Administrator

Account Selected is Windows Account - Domain\Administrator


Should we select Built in account - local system?
Posted
Updated 3-May-12 6:52am
v2

1 solution

This is happening because there is an unhandled exception in your Web service, and the .NET runtime is spitting out its HTML yellow screen of death server error/exception dump page, instead of XML.

Since the consumer of your Web service was expecting a text/xml header and instead got text/html, it throws that error.

You should address the cause of your timeouts (perhaps a lengthy SQL query?).

Jeff Atwood's blog that explains implementing a global unhandled exception handler and using SOAP exceptions. Ref: http://www.codinghorror.com/blog/2004/08/throwing-better-soap-exceptions.html[^]
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900