LAMP : x86_64-redhat-linux-gnu : Apache/2.2.3 (CentOS) : MS SQL 2008 : PHP Version 5.1.6
SSRS is on SQL server. PHP can access SQL. SSRS can access SQL. Lynx can access SSRS.
PHP cannot access SSRS.
I've read all the posts on this but still get:
[errorDescription] => Failed to connect to Reporting Service
Make sure that the url (http://Rep1/ReportServer/) and credentials are correct!
0 => 'HTTP/1.1 401 Unauthorized',
1 => 'Content-Length: 0',
2 => 'WWW-Authenticate: Negotiate',
3 => 'WWW-Authenticate: Basic realm="Rep1"',
4 => 'Date: Thu, 26 Aug 2010 03:51:56 GMT',
5 => 'Connection: close',
I added this to line 200 of SSRSReport.php: . var_export( $http_response_header, true ) . " <br/>" );
The url, UID & PWD are correct as confirmed by: lynx -auth=<UID>:<PWD> http://Rep1/ReportServer
Any suggestions ?