This article has been archived. It is offered "as is" and will no longer be updated.
Bug #: 155269 (SQL Server 8.0)
In Microsoft SQL Server 2000 Reporting Services, when you preview a report that contains an image, you may notice that the image does not appear in the preview. This problem may occur if all the following conditions are true:
The Source property of the image control is set to External.
The Value property of the image control is set to a URL path of an image file that is similar to the following:
For example, the Value property is set to file://c:/Test.jpg.
Additionally, you may notice an error message that is similar to the following in the Output window of Report Designer:
The value expression for the image 'ImageName' contains a URL reference, which is not supported.
You may also notice this behavior when you publish and then preview the report.
To resolve this problem, obtain the latest service pack for SQL Server 2000 Reporting Services. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
842440 How to obtain the latest service pack for SQL Server 2000 Reporting Services
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft SQL Server 2000 Reporting Services Service Pack 1.
Steps to reproduce the behavior
Start Microsoft Visual Studio .NET 2003.
Create a new report project, and then add a new report to the project by using the Report Wizard.
In Layout view, add an image control to the report by using the Image Wizard.
Set the properties of the image control to the following values:
Note: Replace URLPathOfImageFile with an appropriate URL path of an image file. For example, the URL path is file://c:/test.jpg.
Preview the report.
You may notice the behavior that is described in the "Symptoms" section.
For additional information about how to add an image to a report in Reporting Services, visit the following Microsoft Developer Network Web site: