Unable to dynamically load a tif file in Reporting Services (SRSS)
I am unable to dynamically load a tif file in SRSS. I am reading the path and file name from a database. If the file type is a jpg or gif it works fine. Note if I choose internal as the Source property and give the path of the file statically, the tif file rendersat design time and run time. The problem only occurs if I provide a dynamic path and file name (for tif file). The error message is: rsInvalidMIMEType] The value of the MIMEType property for the image ‘Image1’ is “image/tiff”, which is not a valid MIMEType. Does anyone have a solution? This appears to be a bug in Microsoft visual studio.
April 26th, 2010 7:09pm

Hi, Based on your description, you might customize a field in the dataset for the image control's MIMEType. By design, the image/tiff is not built-in type and it is not valid. So, the report fails to process when the MIMEType is given image/tiff. For tif file, the MIMEType can be for image/jpeg. thanks, Jerry
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2010 8:22am

Hi Jerry, We are trying to display a TIF in an image control in RS2005. What do you mean exactly by "you might customize a field in the dataset for the image control's MIMEType" We are able to load a gif or a jpeg into an image control with source set to External and no mime type set. Yet when we try to load a tif from the same directory, we get the little red X on the image when we run it in preview. For the tif, we have tried setting the mime type as image/jpeg, image/gif and have also left it blank, but it fails to display. We have also written a website utility which converts a tif to a gif on the fly. This works when used in internet explorer (e.g. http://ourserver:10098/Default.aspx?image=\\ourotherserver\Images$\Data\Docs\abc\abc.tif), but not when we set the image control value to be this URL. Are you able to advise? Thanks Ben & Andrea
November 12th, 2010 10:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics