Crystal report not shown after application idle time
i have a web page which uses around 10 session variables to store values on a button click.and after assign session values Response.Redirect("~/url",false); to a a page which contains crystal report viewer.and report should show those session values.after keeping the application idle for 45 mins i click on the button which assign session values.then it's redirecting to the report page but the report is not shown.it shows a empty page and no errors shown(only happens application is idle for nearly 45 mins other wise works fine)
i'm using iis 7
in the web.config i have set sessionState timeout="60" and application pool idle time out to 60 mins.
any idea why this happens
Make sure you are on SP 8
Make sure you are using .Close and .Dispose on your report objects as you get done with them.
What OS? (2003, 2008, 2012)
Provide more info on the following:
The problem is that the Crystal Report Viewer does not load after a few hours.
What does that mean? Errors? Warnings? Behavior? Symptoms?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Similar Messages
-
Web Crystal Report not working after period of time
Hi
I have had a problem for a long time now on one of our web servers, it's becoming more of an issue lately due to a web site using Crystal more. The problem is that the Crystal Report Viewer does not load after a few hours. If I re ship the main DLL into the Bin folder for the site, then something gets 'reset', and hey presto, Crystal starts working again.
The problem would even arise with a basic CR, with just one Textfield on it (i.e. not show)
Web server is 32 bit Windows Server Web Edition SP 2. Asp.Net project built in VS 2012 against .Net 4.0.
Anyone have any ideas?
Many thanks,
JulianMake sure you are on SP 8
Make sure you are using .Close and .Dispose on your report objects as you get done with them.
What OS? (2003, 2008, 2012)
Provide more info on the following:
The problem is that the Crystal Report Viewer does not load after a few hours.
What does that mean? Errors? Warnings? Behavior? Symptoms?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Report Server does not respond after certain idle time
We have an oracle 10g application server on solaris 10.
The report server has the defaul settings for time out , callback etc..
After the report server stays idle for 2 or 3 hours and the first report that comes after that takes around 8 to 10 minutes to generate. The report server engine does not seem to be getting active immediately.
Is there any parameter I can change so that the reports do not get effected.
ThanksI have put the idle time out at 300 minutes and the max idle time as 350 minutes. But that does not seem to have helped.And also I have min engine as 1 , max as 10.
Even with the above settings , When the report engine is idle after 30 minutes the 1st report to generate after 30 minutes takes 9 minutes.
please let me know if there are any other parameters I need to change.
thanks -
MUSE not responding after short idle time
I am using Muse 2014.2 with Windows 7 64bit (and I love MUSE, thanks Adobe for a great program [snivel, snivel]). I am finding that MUSE freezes and become unresponsive after three or four minutes away e.g. while I go off to Illustrator / Photoshop and tweak something to import.
The only way to sort is to run the Windows Task Manager (which shows MUSE as 'Not Responding') ~ force it's closure ~ restart MUSE. Is this common for you all or a setting I can change? Seems to be a problem since 2014.2 - but that may be my imagination.Hi,
Could you try closing Muse and then renaming the below folders on your machine and then launch Muse again and work as usual?
C:\Users\{{your user name}}\AppData\Roaming\com.adobe.AdobeMuseCC.2014.2 - rename this folder to com.adobe.AdobeMuseCC.2014.2.old
C:\Users\{{your user name}}\AppData\Roaming\Adobe\Adobe Muse CC - rename this folder to Adobe Muse CC.old
Let me know if this helps get rid of the hung up state while keeping Muse unattended for a while.
You may also try creating a new Windows user account and check the same workflow in that to verify if the behavior is user account specific or general.
Thanks,
Vikas -
HT201250 itunes not shown after restoring with time machine
itunes music not showing following a time machine back up .
WoodShavings wrote:
Thank you for the quick response. Booting from the SL DVD, partitioning, and then a full restore has worked.
Great!
It did take a bit for me to figure out how to select the SL DVD - the HD already had a restore on it that was causing the panic. The 'alt' key is a great trick for selecting your boot device.
So is the "C" key. That will boot from the CD (or DVD) in the SuperDrive. -
SSRS 2012 report integrated with SharePoint 2013 issue :Report refreshing after some idle time
we have SSRS 2012 report integrated with SharePoint 2013 , when we click on any toggle item after some idle time of 60 secs and try again to expand
another toggle item then complete report is getting refreshed and if we are in child report it is redirecting to parent report. . we didn’t set any refreshing property at report level. I hope there will be some idle time setting at sharepoint site
level.
what we observed.
1. there is no problem when we expand toggle items without any idle time.
2. when we open the report and expand few toggles and keep idle for 60 seconds and try
again to expand another toggle item then complete report is getting refreshed (all toggle items are collapsing).
3. If you keep idle for 60 minutes and if you didn’t do any action like expanding toggle
items it is not refreshing.
why it is happening and how to stop that complete refresh.
Surendra ThotaHi Surendra,
I have tested on my local environment and the issue can be caused by the session time out ,the time out of the report precessing, database timeout,DataSet query execution timeout and so on.
I would like to confirm that the refresh you have mentioned is the page refresh or the report reloading?
Please reference to the setting below to don't limit the timeout values if you got the report reloading:
Point to a report in the library.
Click the down arrow, and select Manage processing options.
In Processing Time-out, select Do not time out report processing or
Limit report processing in seconds if you want to override that value with no time-out or different time-out values.
If you got the session timeout that refresh the page, please reference to the setting in below article:
http://msdn.microsoft.com/en-us/library/gg492284.aspx#bkmk_session_settings_section
Details information in the article below about the timeout setting for your reference:
Set Processing Options (Reporting Services in SharePoint Integrated Mode)
If you still have any problem, please feel free to ask.
Regards
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
After i install Visual-Studio 2013 crystal-report not working
hi
after i install Visual-Studio 2013 crystal-report not working on my Visual-Studio 2010 projects
when i try to open crystal-report i see this:Hi E_gold,
Crystal Reports forum may be a better place for you.
Thanks for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Post Author: Farooque
CA Forum: Other
Hi,
I am using Crystal report viewer (Crviewer.dll) version 11.0.0.1282 to show crystal reports in my VB6 application. When we search for any text in a multipage report after the last find system shows a message "Crystal Report Viewer" "Text cannot be found in the report" and trows an unhandled error and closes the application. How can I fix this?
Please help
Thanks in advance.
Farooque. ([email protected])Enter the following:
viewer blank net crystal
into the search box in the top right corner. You should get a number of hits (Kbases and articles) that should point you to a solution.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Crystal Report Not Refreshing in browser
Hi all,
Am using crystal report for my web application so here am passing my parameter from jsp page
but it is not refreshing
For example
I am select Month=jan my query goes this way.
Select * from employee where month='jan' group by department order by designation
when am intially design in eclipse in filter option am selecting 'jan' and when am running in browser am passing the same query with the parameter but here instead of 'jan' am passing month variable where my month variable changes every time according to user choose
my crystal report is not getting refreshed ..
hope u understood my problem
Regards
Vanishree.BHi Tejomay ,
I have tried that even after calling refresh() , it ;s not getting refreshed..but if am using signal table in my query it is getting refreshed .but when am grouping with another table it is not refreshing..
Regards
Vanishree -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
Error when Opening a Crystal Report in a Web Application
Hi All,
How are things?
We are trying to open a Crystal report in a Web Application based on a Web service on Appache Tomcat.
The report is in the Test Environment poiting to a SQL 2005 Database.
The report opens and runs fine in Crystal Reports and in Infoview.
The Web application throws back a long error as shown below.
Looks to be like a SDK Issue ( Not pretty sure )...
Could anyone help me out on this?
STACK TRACE: at BusinessObjects.DSWS.ReportEngine.ReportEngine.GetDocumentInformation(String documentReference, RetrieveMustFillInfo retrieveMustFillInfo, Action[] actions, Navigate navigate, RetrieveData retrieveData) at Service.GetReportWithParms(String rptName, String folderName, String parms, String user, String password, String output, String& strError) MESSAGE: Failed to retrieve binary view of the report. (Error: WRE 02527) CALL STACK TRACE: com.businessobjects.dsws.wsc.common.axis.WSExceptionFactory$ExportReportFailed at com.businessobjects.dsws.wsc.reportengine.Report.getBinaryDocument(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleGetBinaryView(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleRetrieveData(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleActions(Unknown Source) at com.businessobjects.dsws.wsc.reportengine.CrystalReportEngineSoapImpl.getDocumentInformation(Unknown Source) at com.businessobjects.dsws.reportengine.ReportEngineSoapImpl.getDocumentInformation(Unknown Source) at com.businessobjects.dsws.reportengine.ReportEngineSoapSkeleton.getDocumentInformation(Unknown Source) at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:402) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.businessobjects.dsws.wsc.common.axis.FlashFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error in File XYZ.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code: 408 ]---- Error code:-2147215357 Error code name:internal at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.export(Unknown Source) ... 49 more
Thanks,
RajMoving post to .NET SAP Crystal Reports forum
Hello Scott
What browser are you using and what is the version of the browser?
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Crystal report not working on a client pc
Hi Everyone,
I have developed windows application in vb 2012 which will bind data from ms access in crystal report. My windows application is running fine on local machine where i installed vs2012 but when i create a setup an installed it on the local machine it is giving
this error
'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine error
and when i install on a client machine it is giving me the following error,
System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw
an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the
file specified.
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
Anyone faced same error ?? Please suggest.Also for 3rd party software usually contacting the vendor for assistance is recommended. Especially since Crystal Reports are not supported by Microsoft. The search engine or appropriate forum at the below link should be able to assist you.
SAP Crystal Reports, version for Visual Studio
Please BEWARE that I have NO EXPERIENCE and NO EXPERTISE and probably onset of DEMENTIA which may affect my answers! Also, I've been told by an expert, that when you post an image it clutters up the thread and mysteriously, over time, the link to the image
will somehow become "unstable" or something to that effect. :) I can only surmise that is due to Global Warming of the threads. -
I have set up a web application using windows authentication and have two views for allowanonymous access. In the two views I also have partial views and have function which gets a list of items by calling the enumerable function in the model class.
Everything all seems fine when accessing the allowanonymous view pages but after some idle time I get prompted to enter username and password. It is consist across different environment DEV, UAT so I am very worried it will happen in Production environment.
And it seems to go to the home page (http://localhost/home} after failing the credentials.
See the following configuration I have. Please help.
in web.config
<location path="SomeControllerName">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
In controller
namespace namespace.Controllers
[AllowAnonymous]
public class SomeControllerNameController : Controller
In IIS
Anonymous Authentication setting
Status : Enabled
Anonymous User identity: IUSR
Windows Authentication setting
status:Enabled
Extended Protection:Accept
Enable Kernel mode authentication: ticked
Provider:NTLM
ASP.Impersnation :disable
basic authentication :disabled
Form authentication:disabledYou put allowanonymous so everyone has the right. It will not be authenticated.
Anyway you should post this in http://forums.asp.net.
chanmm
chanmm -
Will Not Copy After Being Idle
THIS IS A COPYING ISSUE!!! After installing the upgraded version of Comcast's latest modem/router, our HP 6550 would not print. I contacted Comcast and reported the difficulty and they informed me it was a printer problem - not their new modem. Consequently, we purchased a new HP 5740 printer The printing function worked fine and it would copy immediatley after the printer was turned on, however, after the printer sat idle for a couple of hours, the copy function would not work. If you then turned the printer off and immediately turned it back on, it would copy. Again, Comcast reiterated it was a printer problem. I returned the original 5740 back to the store from which it was purchased and exchanged it for another HP 5740 printer. After hooking up the second HP 5740, the same problems with copying occurred. I returned the second HP 5740 to the dealer for a refund and left town for three months. We recently returned and purchased a HP ENVY 7645 printer from another dealer. We are having the same issues with this printer as we had with the two previous HP 5740 printers. I discussed the situation with a level II supervisor at Comcast and he arranged for a new modem/router to be brought to the house and installed by a technician. The installation occurred today and we are still experiencing exactly the same problem. The Comcast technician who installed the new modem/router (who couldn't wait around while the printer sat idle) said that if the problems occurs after the installation, we should purchase a printer/copier from another manufacturer - or turn our printer "off and then on" when we want to copy. He also asid that if this problem does continue after the new modem/router is installed, it definitely won't be a Comcast problem. DOES ANYONE HAVE ANY IDEA WHERE I SHOULD GO FROM HERE?
Hi @lamoso,
Welcome to the HP Forums!
I understand that your HP Envy 7645 will not copy after being idle. I am happy to look into this for you!
I believe this is happening due to the printer going into sleep mode. As the options are for 5 minutes, 10 minutes, and 15 minutes for sleep mode to activate. I would recommend trying a hard reset, by going to this post,How to perform a Hard Reset, by @Rich1. It is important that the printer's power cable is plugged directly into the wall outlet, and not a surge protector. See this article, Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector for more information. This applies to Inkjet printers as well.
After the hard reset, I would then make sure the printer's firmware is up-to-date. Getting the Latest Firmware and Product Updates.
Let's see what happens after giving these two steps a try!
Thank you for posting!
“Please click the Thumbs up icon below to give me a virtual high-five for responding.”
RnRMusicMan
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to say “Thanks” for helping! -
Report not show after submit query in parameter form
Hi, anubody can help me with this
report not show after click submit query button in parameter formTo help you see what is happening, temporarily add DESNAME to your parameter screen. Make sure that DESNAME on the parameter screen has a value before you click the Submit Query button.
If you are running the report with a local report service (running on your workstation), the value of desname should be the name of your default printer.
If you are running the report on a network application server based report service you need to specify the name of a printer that is accessible to the server on which the report service is running. Make sure that it is specified in a way that the server can recognize it, e.g. \\printserver_01\HPLaserJ4210.
Maybe this will help some.
James K.
Maybe you are looking for
-
Can somebody help me figure this out? So before a road trip I rented a movie on my Ipad mini. The movie fully loaded before I left. It downloaded under wifi. Now that I'm in the car I tried to watch the movie but it isn't working. When I press play a
-
I forgot the backup encryption password in iTunes how can I get my backup data back?
I forgot the backup encryption password in iTunes how can I get my backup data back?
-
Why do I keep getting an error message from Digital Editions saying that it has encountered a problem and needs to close. I need this programme to download a text book from Proquest for University work what gives????
-
Invoice Date on Aging Report (system)
The canned aging reports do not provide Document Date. It does provide the Invoice or Credit Memo Document Number, we need it to pull the date of these documents as well. Every customer of ours is seeking the same information on the aging reports a
-
Error in RSA3 - no target system for the delta update
Hi friends, I have created one datasource but in RSA3 when i press F4 at target system it gives me msg like "The DataSource V_BW_DPP still has no target system for the delta update" what could be the reason? kindly help me. Regards Suyash