473,395 Members | 1,996 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.

ReportViewer control - Remote processing mode

I have developed a web portal that uses ReportViewer web control to
connect to a remote SQL 2005 Report server and displays the reports on
the client side. The asp.net page has been coded to automatically
impersonate a specific user who has access to the report server so that
the customer don't get a pop-up asking for login credentials. Once the
report has been displayed in the Report viewer control, I am getting an
error when I click on Refresh, exports, ... buttons on the reportviewer
toolbar.. Can someone please help me resolve this.

Here is the error description:

Execution session has expired
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Exception: Execution session has expired

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[Exception: Execution session has expired]

Microsoft.Reporting.WebForms.ServerIdentityStore.G etCredentials(String
controlID) +151
Microsoft.Reporting.WebForms.ServerIdentityStore.G etCredentials(Guid
controlID) +21
Microsoft.Reporting.WebForms.ReportViewer.LoadView State(Object
savedState) +458
System.Web.UI.Control.LoadViewStateRecursive(Objec t savedState) +251
System.Web.UI.Control.LoadChildViewStateByIndex(Ar rayList
childState) +142
System.Web.UI.Control.LoadViewStateRecursive(Objec t savedState) +292
System.Web.UI.Control.LoadChildViewStateByIndex(Ar rayList
childState) +142
System.Web.UI.Control.LoadViewStateRecursive(Objec t savedState) +292
System.Web.UI.Page.LoadAllState() +513
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+2533

Jan 4 '06 #1
4 7709
The user you are using does not below to that Session

"Raghu" wrote:
I have developed a web portal that uses ReportViewer web control to
connect to a remote SQL 2005 Report server and displays the reports on
the client side. The asp.net page has been coded to automatically
impersonate a specific user who has access to the report server so that
the customer don't get a pop-up asking for login credentials. Once the
report has been displayed in the Report viewer control, I am getting an
error when I click on Refresh, exports, ... buttons on the reportviewer
toolbar.. Can someone please help me resolve this.

Here is the error description:

Execution session has expired
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Exception: Execution session has expired

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[Exception: Execution session has expired]

Microsoft.Reporting.WebForms.ServerIdentityStore.G etCredentials(String
controlID) +151
Microsoft.Reporting.WebForms.ServerIdentityStore.G etCredentials(Guid
controlID) +21
Microsoft.Reporting.WebForms.ReportViewer.LoadView State(Object
savedState) +458
System.Web.UI.Control.LoadViewStateRecursive(Objec t savedState) +251
System.Web.UI.Control.LoadChildViewStateByIndex(Ar rayList
childState) +142
System.Web.UI.Control.LoadViewStateRecursive(Objec t savedState) +292
System.Web.UI.Control.LoadChildViewStateByIndex(Ar rayList
childState) +142
System.Web.UI.Control.LoadViewStateRecursive(Objec t savedState) +292
System.Web.UI.Page.LoadAllState() +513
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+2533

Jan 4 '06 #2
Thanks for your reply. I was able to make some options in the
ReportViewer toolbar to work. I just changed the "EnableViewState"
property of Reportviewer control from True to False. After making this
change the PageWidth & Refresh button works fine. But, I am not able to
export or print the report. Please help.


*** Sent via Developersdex http://www.developersdex.com ***

Jan 4 '06 #3
What error do you get when exporting?
Or
Do you want to know how to export it to Excel?

"Raghavendra Ramakrishna" wrote:
Thanks for your reply. I was able to make some options in the
ReportViewer toolbar to work. I just changed the "EnableViewState"
property of Reportviewer control from True to False. After making this
change the PageWidth & Refresh button works fine. But, I am not able to
export or print the report. Please help.


*** Sent via Developersdex http://www.developersdex

Jan 4 '06 #4
When the EnableViewState is set to True and I click on Export (after
selecting a report format, excel, etc), I get the following error:
"Execution session has expired"

When the EnableViewState of ReportViewer control is set to false, and I
click on export button, nothing happens. the reporviewer control just
gets refreshed.

The page navigation button too doesn't work in both the cases. error:
"Page navigation is out of range "

I have used the code from the following blog to automatically
impersonate a specific user.
http://blogs.msdn.com/bimusings/arch...18/494436.aspx

I am not sure if the problem is with the code or the ReportViewer
control. But, using the above code the report gets displayed correctly
without any pop-up asking for user credentials. I would like the page
navigation and report export feature of reportview control to work
successfully without any error.

Jan 5 '06 #5

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

Similar topics

0
by: David Dvali | last post by:
Hello. I have just started using Microsoft Reporting tools and I like it very much. I'm using Microsoft SQL Server 2005 and Microsoft Visual Studio 2005 for generating reports in my ASP.NET web...
1
by: Pieter | last post by:
Hi, In my application VB.NET 2005 application I placed a ReportViewer, and link it to a server-report: Me.ReportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote...
3
by: Xpeppe | last post by:
Hy, i read the article in msdn2 Using a Database Data Source with the ReportViewer Windows Forms Control in Local Processing Mode But i don want to use the designer assosation to the report,...
1
by: steve | last post by:
Hi All I need help on how to manipulate the data returned from the database for displaying in the new reportviewer at runtime So far I have an rdlc file with a dataset, binding source and...
0
by: elbetzio | last post by:
Evening, I've got a highly irritating bug with the reportviewer control that appears to be a show-stopper for one of our bigger applications we're writing. When I try and print more than 1...
0
by: Fred G. Sanford | last post by:
Firstly, I am a fairly new .Net developer, so please excuse any dumb/ignorant questions or comments. Thanks. I created a VWD Express project, which uses the ReportViewer control, on my local...
0
by: dean_wilson | last post by:
Hello, I get the following message when I try to "return to parent report", or when clicking on any application button that starts a new process, when the drill down report is displayed. ...
10
by: AG | last post by:
I am trying to use a ReportViewer control in a VS 2005 web application project (not Website project). When I try to create a new report (local), I can't seem to find any method to create a...
7
by: AG | last post by:
I am using a ReportViewer control in an ASP.NET 2.0 WAP aspx page in remote processing mode. The report server is on a shared web host. Can anyone tell me or point me to an example of how to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.