Hi,
The problem here is that the server have no access to the image due to the HTTP-Authentication. You can see that via the error message.
Could you please set the URL as background image of a cell and set it's type to stretch? Normally, the image shouldn't be displayed in that case also cause we need to retrieve it, resize it then display it which shouldn't work if we can't access it.
Best Regards,
Slim
Hi ,
Did you try scheduling document output as PDF ?
Can you open the sharepoint images with the URL from BOBJ server ?
Thank you
Sateesh
Hi,
no, I did not try scheduling the document, as it wouldn't be an option for our needs. Would it help to narrow the problem?
Yes, as mentioned above.
If I enter the sharepoint image URL directly in the browser (let's call it http://sharepoint.local/test.png), i see the image; no matter if I try with the browser on my laptop or with the browser on the BOBJ Server.
If I use the sharepoint image URL as Image Hyperlink in the report, I see the image in the report; no matter if on laptop or on server.
If I export this report as PDF, I don't see the image in the PDF; no matter if on laptop or on server.
I still guess it's a matter of HTTP-Authentication (SSO). While in the browser, the browser deals with authentication headers and so on. Exporting the report results in some server module resloving the URL and trying to GET the image, not caring about any authentication...
Just an assumption though, but for me the most plausible explanation...
Best regards, Ewald
Are there any logs on the sharepoint server showing "Who" is trying to access the image? (I'm guessing a 401 response from sharepoint).
There are logs on the sharepoint but I captured request and response with a web debugger acting as a proxy.
This is the request sent by the BOBJ-Server wheren creating the PDF:
GET http://sharepoint.server/path/to/testimg.png HTTP/1.1
Host: sharepoint.server
Accept: */*
Connection: Keep-Alive
This is the (expected) response from the Sharepoint-Server:
HTTP/1.1 401 Unauthorized
Content-Type: text/plain; charset=utf-8
...
WWW-Authenticate: NTLM
...
Date: Fri, 28 Oct 2016 11:49:14 GMT
Content-Length: 16
Proxy-Support: Session-Based-Authentication
401 UNAUTHORIZED
Seems like a dead-end. Any ideas?
As we are in the middle (or rather almost at the end) of our migration process from 3.1 to 4.2, this definitely is a show-stopper. We have to provide this functionality to our users.
Add comment