473,395 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Page Trace Displayed After Postback

I am migrating the reporting functionality of my company's web
application from Crystal Reports 9.x to SQL Reporting Services 2000,
and I am using the Reporting Services web service to render the reports
to the browser (typically as PDFs). The typical process for retrieving
a report is as follows:

1. A screen in the parent browser window collects the report criteria.
2. A button click posts back the parent window to process the criteria
and a new browser window is opened via Javascript, with the parameters
for the report passed along in the query string.
3. The ASPX page in the new browser window (child window) processes the
query string parameters, and requests the report from the Report
Server.
4. The binary array returned from the web service is written to the
response stream (with proper header information set for the file type)
and the report is opened in the child browser window.

The above process works without fail. The issue is, sometimes (and
only sometimes), when posting back in the parent browser window after
the report is rendered in the child window, the page trace is rendered
along with the HTML. Trace is disabled at both the page and
application level (in the web.config), but the trace still appears.
I'm assuming this has something to do with rendering the PDF, but I
think I'm dotting all the Is and crossing all the Ts as far as
rendering the report to the Response stream:

Code is below (VB.Net):

results = reportProxy.Render(ReportName, format, Nothing,
Nothing, Parameters, Nothing, Nothing, Encoding, MimeType, Nothing,
Nothing, Nothing)
Response.AppendHeader("content-length",
results.Length.ToString())
Response.AppendHeader("content-disposition",
"inline:filename=" & ReportName & "_report." & extension)
Response.ContentType = contentType
Response.Clear()
Response.BinaryWrite(results)
Response.Flush()
Response.Clear()
Response.End()

Am I missing something that might cause the trace to rendered on a
different page?

TIA,
brian

Jul 26 '06 #1
0 1182

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Carolyn Vo | last post by:
I have a datagrid in my web control class that I am trying to get the current rows displayed for. I have enabled paging on the datagrid so if the user is currently on page 3 of 8, and if I have...
2
by: Nathan Truhan | last post by:
Hello I am currently in the process of creating a web page to display and edit reporting data. It consists of a few label with instructions, a Drop-Down-List and Button (Load) to select a report...
6
by: Glenn Owens | last post by:
I have an ASP.Net page on which there are serveral static controls (listboxes, radiobuttonlist and textboxes). These controls are used to create criteria from which the code-behind will dynamically...
8
by: Lars-Erik Aabech | last post by:
Hi! I've got an asp.net page that works for all users except one and that one user only gets the error with a certain parameter set to a certain value. (Same value as the others, but for this...
1
by: yoknows | last post by:
Hello .Net Gurus. This is my first post here so I apologize in advance if I have not provided the right information. I hope someone has seen this problem before and can tell me what I am doing...
1
by: clintonG | last post by:
I'm having a problem maintaining state with a Panel control in a MasterPage and I need help thinking through this process. The basic structure of the HTML in the Master looks like this... ...
3
by: Nathan Sokalski | last post by:
I am recieving the following error on the second postback of a page I have written: The state information is invalid for this page and might be corrupted Stack Trace: ...
14
by: lmttag | last post by:
Hello. We're developing an ASP.NET 2.0 (C#) application and we're trying to AJAX-enable it. We're having problem with a page not showing the page while a long-running process is executing. So,...
4
by: bendlam | last post by:
I have a page that contains search criteria and when you click on the search button it causes a post back that populates a dataview on the same page. One of the gridview columns contains a link...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.