473,769 Members | 6,337 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

LocalReport.Ren der does not return

Sorry for the cross-post, but I'm not sure what the best place to post this
is, and I'm getting a bit desparate.

Part of our product uses the SQL Server Reporting engine to create reports
in Excel and PDF format. To do this I am using the LocalReport object the
Microsoft.Repor tViewer.WinForm s namespace. This is all running in a
web-based service running in IIS.

In development and UAT this has worked flawlessly and had been very powerful
and convenient. Having just put some of our systems live, we are suddenly
running into problems that I am unable to work out how to resolve.

Everything works fine at first, but after the service has been running for
between 20 and 40 minutes, suddenly the report generation stops working.
I've added debug logging to the application, and can see that the last
statement that gets executed is a call to the LocalReport.Ren der method.
This never returns.

If we recycle the application pool, the reports start working again -- for
another 20 to 40 minutes. Then they stop, just as before.

Setting the application pools to automatically recycle every 20 minutes
seems like a very bad solution to this. I would really like to understand
why it is that the system is locking up. But without being able to step into
the source code for the LocalReport object, I'm completely at a loss as to
how I can resolve this.

Does anyone have any suggestions as to what I could try?

We're using VS2005 and ASP.NET v2.0, running in IIS6 on Windows Server 2003.

My thanks in advance,

--

(O)enone
Feb 20 '07 #1
3 3696
Have you tried using the WebForms version? Usually when there are a WinForms
and WebForms versions of the same item it's due to the fact that the
WinForms version will not run in the ASP.Net threading model, or uses
services that are not applicable in that environment.

--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Oenone" <oe****@nowhere .comwrote in message
news:eL******** ******@TK2MSFTN GP06.phx.gbl...
Sorry for the cross-post, but I'm not sure what the best place to post
this is, and I'm getting a bit desparate.

Part of our product uses the SQL Server Reporting engine to create reports
in Excel and PDF format. To do this I am using the LocalReport object the
Microsoft.Repor tViewer.WinForm s namespace. This is all running in a
web-based service running in IIS.

In development and UAT this has worked flawlessly and had been very
powerful and convenient. Having just put some of our systems live, we are
suddenly running into problems that I am unable to work out how to
resolve.

Everything works fine at first, but after the service has been running for
between 20 and 40 minutes, suddenly the report generation stops working.
I've added debug logging to the application, and can see that the last
statement that gets executed is a call to the LocalReport.Ren der method.
This never returns.

If we recycle the application pool, the reports start working again -- for
another 20 to 40 minutes. Then they stop, just as before.

Setting the application pools to automatically recycle every 20 minutes
seems like a very bad solution to this. I would really like to understand
why it is that the system is locking up. But without being able to step
into the source code for the LocalReport object, I'm completely at a loss
as to how I can resolve this.

Does anyone have any suggestions as to what I could try?

We're using VS2005 and ASP.NET v2.0, running in IIS6 on Windows Server
2003.

My thanks in advance,

--

(O)enone

Feb 20 '07 #2
Mark Fitzpatrick wrote:
Have you tried using the WebForms version?
Hmm, interesting, no I haven't.

The application in question can potentially be driven from both a web
service and also a Windows Forms application (it's implemented in a separate
DLL that can be used in either environment). I initially wrote it all in the
WinForms environment, and hence by the time I got to running it from the web
I'd forgotten all about the existence of the WebForms version.

As we're only using it to programmaticall y generate the report content
(we're not using the report viewer control at all), I just assumed that the
WinForms version would work correctly in both environments.

Anyway, I've rebuilt the application using the WebForms version of the DLL
(which was nice and easy), and have deployed that to our productions server,
now I just need to wait and see if it makes a difference. I'll post back
with the results.

Thanks for giving me something else to try! :)

--

(O)enone
Feb 20 '07 #3
Oenone wrote:
>Have you tried using the WebForms version?

Hmm, interesting, no I haven't.
Sadly this has exactly the same problem as the WinForms version. After
working fine for a little while, it ultimately stops returning each time it
is called.

Any other suggestions?

--

(O)enone
Feb 20 '07 #4

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

Similar topics

4
3180
by: lkrubner | last post by:
I'd like to write a PHP script to be used from the command line on a Unix machine. I'd like for the script to put together a string, turn it into a web page, print it, then return control the command line. Obviously it is quite easy to make a string that is valid HTML and send it to the printer. The tough part is making look like a web page. In particular, image tags should print out as images, not image tags. Does anyone have an idea...
0
2011
by: jb_in_marietta | last post by:
All, I have written a very simple custom composite control that includes a control of type System.Web.UI.WebControls.Table. The control renders fine in run time, but for some reason, it does not render properly in design time. In design time it renders something like this:
0
1182
by: Fabio Pagano | last post by:
Using the new reportviewer and the reportdesigner. I need to print an image in a localreport processing. The image must be determined at runtime and must be printed on every page. How can i do this? Thanks.
0
1489
by: ad | last post by:
Hi, There is no print button when use LocalReport with WebApplicaiton. The article http://forums.microsoft.com/msdn/showpost.aspx?postid=22277&siteid=1 Show us how to print with program, but it is with Windows Applicaiton. How to print LocalReport with WebApplication?
0
2009
by: Rob Dob | last post by:
I don't see a way to use the page settings from the RDLC Report, specifically to get it to print in Landscape. The PageHeight is set to 8.5in and the Width is set to 10in (for .5 in margins). I tried using the LocalReport.GetDefaultPageSettings, but this returns 8.5in X 11in, or Portrait mode. How do I obtain the proper, current settings that I have set within the report.RDLC file. I need to be able to obtain these at runtime so that...
1
1711
by: Pieter | last post by:
Hi, I have a Report (VB.NET 2005), and I'm using Objects as DataSource. I have the object objCompany, which contains a public property MyAdress (instance of objAdress). objAdress has a propert Street. When I add objCompany as a DataSource, I want to be able to show the Street-property of MyAdress. So I do a drag-and-drop of that property from the Data Sources - Window to the Report. Everything seems fine: I get a
5
10157
by: cpnet | last post by:
I'm able to pass string parameters with no problems to a LocalReport being displayed by the ASP.NET ReportViewer control. However, my report also has a DateTime parameter. LocalReport.SetParameters(..) only seems to allow me to set string parameters. Is there a way to pass DateTime (or other types) of parameters? Or can I only use string parameters in a LocalReport if I need to pass them in from my ASP.NET app? Thanks, cpnet
13
3559
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains some javascript code that calls window.open. I pass the resource url of page B to Page A's window.open call. Page B is then loaded and executed but none of the server-side code is rendered. If I view the source of the page, the code (and page...
3
2201
by: Oenone | last post by:
Sorry for the cross-post, but I'm not sure what the best place to post this is, and I'm getting a bit desparate. Part of our product uses the SQL Server Reporting engine to create reports in Excel and PDF format. To do this I am using the LocalReport object the Microsoft.ReportViewer.WinForms namespace. This is all running in a web-based service running in IIS. In development and UAT this has worked flawlessly and had been very...
0
9423
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
10222
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
10050
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9999
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
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...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
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.