Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Problem deploying Images in SSRS

Author  Topic 

elracorey
Starting Member

30 Posts

Posted - 2008-02-12 : 08:14:18
Hi,

I have an image on my page pointing to a URL on my localhost.

The value parameter is quite simply: ="http://localhost/support.jpg" and this works fine when run under Visual Studio 2005.

The problem is after deploying. Most of the report runs and displays fine, but the image is missing. The properties refer to the following:

http://localhost/Reports/Reserved.ReportViewerWebControl.axd?
ReportSession=2b5wwuuxdca5o455phjuxqym&
ControlID=3bbd2b14bf4f4273842655c3f66ec0d0&
Culture=2057&UICulture=9&ReportStack=1&OpType=ReportImage&StreamID=7fed9f2c-cc98-49d5-bbac-5728ae968462

I am not sure what this is referring to or why the image is not displayed. As I said, it displays on Visual Studio perfectly fine. Can anyone please shed some light on this?

Thanks.
Lee.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-02-12 : 09:09:47
Are these images available in server?
Go to Top of Page

elracorey
Starting Member

30 Posts

Posted - 2008-02-12 : 09:26:34
Yes. Everything is on my localhost. The images are stored in:
c:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportManager
Go to Top of Page

elracorey
Starting Member

30 Posts

Posted - 2008-02-12 : 09:28:19
The URL is http://localhost/Reports/support.jpg - wrong from my earlier post.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-02-13 : 03:17:26
Nope. is it available on deployment server?
Go to Top of Page

elracorey
Starting Member

30 Posts

Posted - 2008-02-13 : 05:31:57
The deployment server is my localhost at the moment.

I've managed to get it to work with GIF types but not JPG, although both work in Visual Studio itself.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-02-13 : 05:49:31
we had this problem when deploying reports containing images to our server. What we did was to deploy images to a common folder on root of reportserver and change paths of images in report project to point to this common path.
Go to Top of Page

elracorey
Starting Member

30 Posts

Posted - 2008-02-13 : 10:13:52
Hi, just to let you know that i've solved the problem. The original JPEG was 1878x326 pixels. By reducing this to 800x600 the image displays.

I would have though you could do this within SSRS itself but never found a way.

Thanks for your time.
Go to Top of Page
   

- Advertisement -