473,804 Members | 3,067 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ReportViewer Session Expired error

Him

I know a lot of people suffer this issue in the past...
but in my case it's really hard to reproduce the session timeout error.
everything works fine, the user can see the reports etc...

this can works fine for days.
and suddenly a user can receive the timeout error, and only when he try to
export the report! (in PDF or Excel...)
if the user purge his internet explorer cache and export again, then it's
ok.

I have changed the expiration in IIS and in the web.config to 1 hour.
But the user come back few days later and the error is raised again!

the control is displayed in a page which is in a popup page and through an
IFrame
Popuppage -HTML page -IFrame -ASPX page -Reportviewer
but also I have tried this:
Popuppage -HTML page -FrameSet -ASPX page -Reportviewer

I add a timestamp in the HTML page and the ASPX pages
/reports/viewreport.html ?t=<timestamp>
/reports/runreport.aspx? t=<timestamp>&o ther parameters...

So this insure that IE don't cache the pages, but the error still here!!!!!

I'm out of ideas and the error is really random and only when I export.
The SP1 of the reportviewer control is applied.

Thanks for your help if anybody know how to solve this.

Jerome.
Oct 19 '07 #1
1 4710
oups... sorry for the cross posting.

"Jeje" <wi******@hotma il.comwrote in message
news:D2******** *************** ***********@mic rosoft.com...
Him

I know a lot of people suffer this issue in the past...
but in my case it's really hard to reproduce the session timeout error.
everything works fine, the user can see the reports etc...

this can works fine for days.
and suddenly a user can receive the timeout error, and only when he try to
export the report! (in PDF or Excel...)
if the user purge his internet explorer cache and export again, then it's
ok.

I have changed the expiration in IIS and in the web.config to 1 hour.
But the user come back few days later and the error is raised again!

the control is displayed in a page which is in a popup page and through an
IFrame
Popuppage -HTML page -IFrame -ASPX page -Reportviewer
but also I have tried this:
Popuppage -HTML page -FrameSet -ASPX page -Reportviewer

I add a timestamp in the HTML page and the ASPX pages
/reports/viewreport.html ?t=<timestamp>
/reports/runreport.aspx? t=<timestamp>&o ther parameters...

So this insure that IE don't cache the pages, but the error still
here!!!!!

I'm out of ideas and the error is really random and only when I export.
The SP1 of the reportviewer control is applied.

Thanks for your help if anybody know how to solve this.

Jerome.

Oct 19 '07 #2

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

Similar topics

4
5039
by: David B | last post by:
Hi, Could somebody please tell me how I check whether a session is dead based soley on the Session.SessionID. At present the timeout is set to 20 minutes in IIS, I am aware that I can reset this on the page. However after 22 minutes, or some interval longer than the session timeout, the Session.SessionID values is still availible. What I want to achieve is this. There is a small section of my site that must have an active session....
6
2546
by: Keith | last post by:
Is there any way of detecting whether a session variable does not exist because it expired or because it simply did not exist in the first place? Thanks
0
1724
by: nbdy9(nospam) | last post by:
I have a ASP.Net website (mobile). From time to time the browser popup the following message. Anyway to catch the error and redirect to my start page? saying, login.aspx? Thanks. ======================================================================= Server Error in '/mobSec' Application. The page requires session state that is no longer available. Either the session has expired, the client did not send a valid session cookie, or the...
4
7736
by: Raghu | last post by:
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...
1
1386
by: Chris Botha | last post by:
I have a report that uses 2 datasets (2 tables on the report) VS2005 correctly generates 2 ObjectDataSource objs when selecting the report in the smart tag of the ReportViewer. Depending on values the user enter, example start/end date, the report must display only that data, so I have 2 classes that selects the data and return the relevant data sets (set up in the TypeName and SelectMethod properties of the ObjectDataSource objs). The...
2
2645
by: Gordon Burditt | last post by:
I had this idea about preventing session fixation, and I'm wondering what anyone else thinks about it. The idea is, essentially, don't allow session ids that YOUR PHP didn't generate (and aren't yet expired) to log in. That way if someone sticks a made-up session ID on a URL, it won't matter, unless it happens to correspond to an active session (guessing a user password is probably easier). Is this already standard practice, new, or is...
0
1276
by: =?Utf-8?B?RGF2aWQgR2FyZG5lcg==?= | last post by:
I'm having issues with the reportviewer control. When viewing the regular report it works just fine. However, when an export to PDF or Excel is attempted and the load balancer sends the export request to another server I get the following error: ASP.NET session has expired It looks like the download goes to a page "Reserved.ReportViewerWebControl.axd" and tries to grab the report it just built but can't find it to download it. We...
8
5364
by: Andrew Teece | last post by:
Hope someone can help. We are trying to deploy an ASP.Net 2.0 application to a 3-node webfarm. The application uses the ReportViewer control in local mode, hence we need session state. Because we dont wan't a single point of failure we use SQL Session State. I have setup a persistant sql session state database on a SQL 2000 server (this is a cluster in production, so no SPOF) I have setup our web.config files to include; " <sessionState...
4
2442
by: sriram | last post by:
Hello Friends, I am new to this group so big HIIIIIIII to all :) fine i have a serious doubt about session handling in PHP. After 20 min (default time) session getting expired, session values are stored in a folder as a file, fine how php finiding that particular session expired? Because the files in session folder will not be deleted after 20 min but one session expired... Please explain me how this is happening? How php finds that...
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10578
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10077
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9152
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6853
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3820
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2991
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.