Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Missing Chart Image

46 views
Skip to first unread message

comet61

unread,
Jul 13, 2004, 7:02:01 PM7/13/04
to
I recently redeployed reports to a production server, and now chart images are not showing up. I have used the report viewer code in an ASP page to view the reports. If I grab the URL from the page and go to the report directly, the charts show. This was previously working, and the reports have not changed so I am thinking its an IIS setting that I dont have right. As well, the server does not have a slash or underscore in its name.

Anyone have any ideas?

Additional information from the logs:

i INFO: LoadSnapshot: Item with session: nuhgmz451k3sxdjjruuhefqf, reportPath: /[reportname], userName: [xxxxxx] not found in the database

e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.StreamNotFoundException: The stream cannot be found. The stream identifier that is provided to an operation cannot be located in the report server database., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.StreamNotFoundException: The stream cannot be found. The stream identifier that is provided to an operation cannot be located in the report server database.

e ERROR: Reporting Services error Microsoft.ReportingServices.Diagnostics.Utilities.StreamNotFoundException: The stream cannot be found. The stream identifier that is provided to an operation cannot be located in the report server database.

Phil Todd

unread,
Jul 14, 2004, 6:42:11 AM7/14/04
to
I and several others seem to be having the same problem.

Can I ask you:

Do the images show up after exporting the report to a diferent format (e.g.
Excel)?
If you have drill-downs in your report, are they working?

Cheers,
Phil.


"comet61" <com...@discussions.microsoft.com> wrote in message
news:DFBD337A-D0DB-40C0...@microsoft.com...

comet61

unread,
Jul 14, 2004, 11:43:22 AM7/14/04
to
Phil - if you take the URL for the report out of the ReportViewer and go directly to the report, the images are there. If you export to Excel, they are there. Just not there in the ReportViewer.

G

unread,
Jul 14, 2004, 2:25:31 PM7/14/04
to
by ReportViewer do you mean the Report Designer?

"comet61" <com...@discussions.microsoft.com> wrote in message

news:01FCD2A2-A7E8-4720...@microsoft.com...

comet61

unread,
Jul 14, 2004, 2:45:01 PM7/14/04
to
No, the sample code that Microsoft provides. Basically you are just building an IFrame and supplying it with a link. If you pull the link out and access it directly, the images show.

G

unread,
Jul 14, 2004, 2:57:00 PM7/14/04
to
When using an IFRAME, we had a cache problem. We could force a new load of
the calling page, but the iframe (with the report) was loading from cache.
Our solution, which isn't particularly elegant, was to render the report as
a Web Archive file (with the images embedded), then set the header to
"attachment; filename=file.mhtml". This was easy enough in Cold Fusion,
dunno what platform you are working in.


"comet61" <com...@discussions.microsoft.com> wrote in message

news:F63353BE-E367-4992...@microsoft.com...

Phil Todd

unread,
Jul 15, 2004, 6:42:17 AM7/15/04
to
What happens when you go through Report Manager 'http://ServerName/Reports'
? In my case the images do not appear and drill-downs don't work until after
exporting to another format.

If I access via 'http://ServerName/Reportserver/etc' the report shows
correctly.

I'm starting to think this is an authority/security issue...

"comet61" <com...@discussions.microsoft.com> wrote in message

news:F63353BE-E367-4992...@microsoft.com...

Georg Schmelzer

unread,
Jul 15, 2004, 9:08:45 AM7/15/04
to
Hi,

I had the same problem. It was solved by configuring Cookies. Check if your
IE allows Cookies from the Report Site.

G. Schmelzer

"comet61" <com...@discussions.microsoft.com> schrieb im Newsbeitrag
news:DFBD337A-D0DB-40C0...@microsoft.com...

G

unread,
Jul 15, 2004, 9:18:52 AM7/15/04
to
I have no idea if cookies matter (can't imagine why they would), but if that
is the solution it doesn't really help much, as you have no control over
your users browser settings.

Brian

"Georg Schmelzer" <as...@adsf.de> wrote in message
news:O69Mfzma...@TK2MSFTNGP12.phx.gbl...

Phil Todd

unread,
Jul 15, 2004, 10:10:22 AM7/15/04
to
Hmmm.....I tried changing my IE settings to 'Accept All cookies' and guess
what?

It worked.

What puzzles me is - if it relies on cookies, why did it work when accessing
via the 'http://ServerName/ReportServer' URL? Wouldn't IE have been blocking
cookies for this site as well?

Can anyone shed some light on this?


"G" <brian...@si-intl-kc.com> wrote in message
news:u7uXH5ma...@TK2MSFTNGP12.phx.gbl...

comet61

unread,
Jul 15, 2004, 11:54:02 AM7/15/04
to
Yes - this is what we ended up figuring out. Something with how we had to configure IIS to use reporting services. Will let you know if we find a way around this. Thanks to all who replied.

comet61

unread,
Jul 15, 2004, 6:38:02 PM7/15/04
to
What I came up with was going into the ReportServer DB, into the ConfigurationInfo table and changing the UseSessionCookies record to false.

Amit

unread,
Sep 11, 2004, 2:29:02 AM9/11/04
to
Hi,
I am getting the same error in a different senario.
I am using soap call to display the reports. I call render method and then
call the render stream method to display images. To generate unique images I
replace the stramid with the "sessionid+streamid".

Here is the code

result = rs.Render(reportPath, format, historyID, devInfo, parameters,
credentials,
showHideToggle, out encoding, out mimeType, out
reportHistoryParameters, out warnings,out streamIDs);

strResult = System.Text.Encoding.ASCII.GetString(result);

foreach(string streamID in streamIDs)
{
strResult =
strResult.Replace(streamID,rs.SessionHeaderValue.SessionId+streamID);
image =rs.RenderStream(reportPath,format,streamID,historyID,
devInfo,parameters,out mimeType,out mimeType);
imageName.Add(rs.SessionHeaderValue.SessionId+streamID);
reportsContainer.Add(image);
}
reportsContainer.Add(strResult);

reportsContainer and imageName are my ArrayList objects which are sent back
to the web page to save the images and dispplay them

PROBLEM
This works fine in case of single user senario.
The problem is if there are multiple users asking for the same or different
report I get the error " stram id could not be found"
Here is the detail of the exception.
========================================


Microsoft.ReportingServices.Diagnostics.Utilities.StreamNotFoundException:
The stream cannot be found. The stream identifier that is provided to an
operation cannot be located in the report server database.

at
Microsoft.ReportingServices.WebServer.HttpClientRequest.InitForRequest(CatalogItemContext context, String userName, Boolean createIfSessionNotExists)
at
Microsoft.ReportingServices.WebServer.HttpClientRequest.InitForRequest(CatalogItemContext context, String userName)
at
Microsoft.ReportingServices.WebServer.ReportingService.RenderStream(String
Report, String Format, String StreamID, String HistoryID, String DeviceInfo,
ParameterValue[] Parameters, Byte[]& Result, String& Encoding, String&
MimeType)
--- End of inner exception stack trace ---
at
Microsoft.ReportingServices.WebServer.ReportingService.RenderStream(String
Report, String Format, String StreamID, String HistoryID, String DeviceInfo,
ParameterValue[] Parameters, Byte[]& Result, String& Encoding, String&
MimeType)).
==========================================

Kavi

unread,
Jan 10, 2007, 11:25:00 PM1/10/07
to
Hi Phil,

I'm facing the exact problem. could you please let me know what you did for
this?

Thanks
Kavi.

ravi....@gmail.com

unread,
Jan 15, 2007, 7:44:02 PM1/15/07
to
Hi ,

I am getting the follwoing error in the SQL server RS 2000 and XP
machine . After the subscription the HTML report is not displaying the
Chart /images . Any help would be appreciated .


Error from the Log File :

-----------------------------------------------

Reporting Services error
Microsoft.ReportingServices.Diagnostics.Utilities.StreamNotFoundException:
The stream cannot be found. The stream identifier that is provided to
an operation cannot be located in the report server database.

----------------------------------------

Thanks and regards
Ravi

Kavi

unread,
Jan 16, 2007, 1:11:05 AM1/16/07
to
If you have a "underscore" in your server machine name. Thats the problem.

ravi....@gmail.com

unread,
Jan 16, 2007, 7:22:05 PM1/16/07
to
Hi ,

Thanks for your reply and I don't have any "underscore" in my system
and my systrem name is "C-ravikkk"
Any further help would be appreciated ,,,

Thanks you very much ,,,


WithRegards
Ravi

0 new messages