Crystal Reports hangs on Startup
Hi,
I'm very new to Crystal but can't find an answer to this.
Crystal Reports 2008 SP3 (12.3.0.601)
Interface opens when I click Start...Programs etc., but then hangs.
I can't click on any on the menus (File...etc)
The only way to shut it down is by Ending the Process.
It's like it's trying to do/find something in the background but just not finding it.
It opened properly for me once since it's been installed and I was able to open, edit and view a report but I can't get it to open again.
Nothing else has been installed/changed in the meantime (except a reboot).
Any ideas?
Thanks,
Jenny
Hi Jenny,
If you are on a 64 bit OS then go to this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Business Objects\Suite 12.0\Crystal Reports
If on a 32 bit OS then this key:
HKEY_LOCAL_MACHINE\SOFTWARE\business objects\suite12.0\crystal reports
and look for DisableCheckForUpdates and change it to a "1".
Thank you
Don
Similar Messages
-
Web printing crystal report hangs on report.PrintOptions.PrinterName
Hello,
I have a report web page that displays a crystal report. I have added a modal popup to allow them to select their printers. When I go to print the report is hangs on the line of rpt.PrintOptions.PrinterName = li.Text. The printer names are added to the list box using a Java applet.
Here is the Sub it is running.
Public Sub PrintReports()
rpt = CType(Session("rpt"), ReportDocument)
For Each li As ListItem In Me.lbPrinters.Items
If li.Selected AndAlso li.Text <> "" Then
rpt.PrintOptions.PrinterName = li.Text
rpt.PrintOptions.PrinterDuplex = CType(Me.cboDuplex.SelectedItem.Value, CrystalDecisions.Shared.PrinterDuplex)
rpt.PrintToPrinter(CInt(Me.txtNumOfCopies.Text), True, CInt(Me.txtPageStartRange.Text), CInt(Me.txtPageRangeEnd.Text))
End If
Next
Me.mpePrint.Hide()
End Sub
Any help would be greatly appreciated.
Thanks,
PatrickSounds like you're trying to implement server side printing in your app. Which is fine, except the CR ActiveX print is client side printing. Just in case you're interested, the way to enable activeX print is to go to the property of the CR viewer and find "PrintMode". It will more than likely be defaulted to PDF. Change that to ActiveX.
Now, back to the issue. This may still be a matter of permissions - essentially what Adam was after. Probably the easiest way to determine that is to use the [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] utility. Once you have the log, search it for "Access Denied" messages.
Ludek -
Hi,
Crystal Reports Server 2008 and Crystal Reports Client are installed in two different servers. Both the serveru2019s operating system is windows 2003 SP 2. ASP.Net (c#) is used for launching the reports. When I tried to launch the reports it hangs. After some time I got the following message
COMException (0x80041017): Request timed out because there has been no reply from the server in 600000 ms.
CrystalDecisions.ReportAppServer.ClientDoc.ISReportAppFactory.OpenDocument(Object DocID, Int32 Options) +0
ASP.crystalserver_crystal_report_server_aspx.Page_Load() in d:\TECH\report\Crystal_Report_Server.aspx:53
System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +8
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +8664819
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
I got this error when the following statement is executed
InfoObject infoObject = infoObjects[1];
ReportClientDocument reportClientDocument = new ReportClientDocumentClass();
reportClientDocument = reportAppFactory.OpenDocument(infoObject.ID, 0);
I tried to increase the request timed out (up to 30 minu2019s) in the registry settings but also this fails. There is no firewall available in both the servers.
Can any one provide me the required settings to over come this issue.
Please Note : Previously I was not able to login to the CMS server from the client machine. After providing the server details in the clientu2019s host entries then I am able to connect to the CMS now.This still sounds like a firewall issue specificly when dealing with the RAS server. I would refer you to the [Configuring The Crystal Enterprise SDK to Work With Firewalls|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0047e5f4-3140-2b10-1bae-de175e4c741c] document.
The other way to test this is by running the application on the same machine as the enterprise server and see if it still gives that error. If it does, that means the report is taking that long to run, if it doesn't, then there is some sort of network issue. -
Crystal Reports hanging in Enterprise
Just suddenly we are facing issues with some of the crystal reports . they were working fine in Business objects up to yesterday but today they are hanging , even when we try to open/modify parameter they hang. we are using Crystal report 2008 and BO R3.1.
evnthough some reports hangs the others just run fine.
we noticed that , the reports which are stopped working are the ones that have " Printer Option" unchecked in Crystal Report designer . when we open these reports in designer and check that option on pagesetup and save them back in enterprise they are working.
I have no luck to find the rootcause of this issue. what have changed that caused this issue.
It is happening on both test and production environments. I read somewhere on forum that it might be related to printer driver, but we haven't updated any driver and nothing seems to be changed.
any ideas?In the page setup put the option Microsoft XPS Document Writer in the Printer option before publishing it to BO Server .
-
Crystal report hangs when calling oracle package
hi i have a oracle package that calls a proceadure, if i test this package in PLSQL developer it compiles and i get sensible results
this package has been designed using a ref type cursor to be called from crystal reports. it primary objective when the report is run, is to use File util to output data to an xml file.
when i run this from crystal reports it locks crystal reports up, and dosent output a file.
any ideas why crystal is hanging?
crystal DB call
{CALL Enhanced_Pharos_Report.run_report
(NVL({?a_channel_id},0),{?b_on_date})}
package
create or replace package UKTV_PHAROS_EXPORT_RPT
-- Author : WARDLJ01
-- Created : 03/04/2006 12:25:03
-- Purpose : export xml for pharos voiceovers
-- Public type declarations
AS
TYPE result_set_type IS REF CURSOR;
PROCEDURE run_report
(main_cursor IN OUT result_set_type,
V_CHANNEL_ID NUMBER,
V_ONDATE DATE);
end ;--UKTV_PHAROS_EXPORT_RPT;
package body
create or replace package body UKTV_PHAROS_EXPORT_RPT AS
PROCEDURE run_report
(main_cursor IN OUT result_set_type,
V_CHANNEL_ID NUMBER,
V_ONDATE DATE)
is
BEGIN
OPEN main_cursor FOR
-- Passess the parameters back to the cursor - which passes them back to the Crystal Report output
SELECT V_CHANNEL_ID, V_ONDATE from DUAL;
-- This is a procedure that calls FILE_UTL to export the data.
UKTV_PHAROS_Export(V_CHANNEL_ID, V_ONDATE);
END;
end;
Proceadure
create or replace procedure uktv_own.UKTV_Pharos_Export(V_CHANNEL_ID number, V_ONDATE date) is
l_output utl_file.file_type;
p_filename varchar2(30);
V_DETAIL_id varchar2(100);
V_MEDIA_ID varchar2(150);
V_REQUIRED varchar2(50);
V_SCRIPT varchar2(4000);
V_DEL_DATE varchar2(100);
V_FULLMEDIA_ID varchar2(500);
V_START_TIME varchar2(100);
V_DURATION varchar2(100);
V_DATE varchar2(100);
V_CHANNEL varchar2(40);
V_LOGO_NAME varchar2(250);
Cursor VO_CURSOR
IS
select event_voiceover.detail_id, vo_media_id, vo_required, vo_script, vo_del_date, full_media_id,
event.start_time, event.duration, event.on_date, event.channel_id, logo.logo_name
from event_voiceover,
onair.event, onair.event_technical_data,
onair.logo
where event_voiceover.detail_id = event.detail_id
and event_technical_data.event_technical_data_id = event.event_technical_data_id
and event_technical_data.content_id = logo.logo_id and
event.channel_id = V_CHANNEL_ID and
vo_required = 500004580 and
event.on_date = V_ONDATE;
begin
p_filename :='voice_overs.xml';
l_output := utl_file.fopen ('PHAROS_DIR', p_filename, 'w' );
OPEN VO_CURSOR;
utl_file.put ( l_output,'<Voice_Overs>');
Loop
FETCH VO_CURSOR INTO V_DETAIL_id, V_MEDIA_ID, V_REQUIRED,V_SCRIPT, V_DEL_DATE, V_FULLMEDIA_ID, V_START_TIME, V_DURATION, V_DATE, V_CHANNEL, V_LOGO_NAME;
EXIT WHEN VO_CURSOR%NOTFOUND
OR VO_CURSOR%ROWCOUNT = 10000;
utl_file.put( l_output, '<DETAIL_ID>');
utl_file.put( l_output, V_DETAIL_ID);
utl_file.put( l_output, '</DETAIL_ID>');
utl_file.put( l_output, '<MEDIA_ID>');
utl_file.put( l_output, V_MEDIA_ID);
utl_file.put( l_output, '</MEDIA_ID>');
utl_file.put( l_output, '<REQUIRED>');
utl_file.put( l_output, V_REQUIRED);
utl_file.put( l_output, '</REQUIRED>');
utl_file.put( l_output, '<SCRIPT>');
utl_file.put( l_output, V_SCRIPT);
utl_file.put( l_output, '</SCRIPT>');
utl_file.put( l_output, '<DEL_DATE>');
utl_file.put( l_output, V_DEL_DATE);
utl_file.put( l_output, '</DEL_DATE>');
utl_file.put( l_output, '<FULLMEDIA_ID>');
utl_file.put( l_output, V_FULLMEDIA_ID);
utl_file.put( l_output, '</FULLMEDIA_ID>');
utl_file.put( l_output, '<START_TIME>');
utl_file.put( l_output, V_START_TIME);
utl_file.put( l_output, '</START_TIME>');
utl_file.put( l_output, '<DURATION>');
utl_file.put( l_output, V_DURATION);
utl_file.put( l_output, '</DURATION>');
utl_file.put( l_output, '<ONDATE>');
utl_file.put( l_output, V_DATE);
utl_file.put( l_output, '</ONDATE>');
utl_file.put( l_output, '<CHANNEL_ID>');
utl_file.put( l_output, V_CHANNEL);
utl_file.put( l_output, '</CHANNEL_ID>');
utl_file.put( l_output, '<LOGO_NAME>');
utl_file.put( l_output, V_LOGO_NAME);
utl_file.put( l_output, '</LOGO_NAME>');
utl_file.new_line ( l_output);
end loop;
utl_file.put ( l_output,'</Voice_Overs>');
utl_file.fclose(l_output);
end UKTV_Pharos_Export;Hi yes the package uses fileutil to output a file,
the report user has permission over the file util output directory.
I have previously used this method to generate rpt, and other output files in parelell.
thanks
james -
Post Author: desiconsultant
CA Forum: .NET
Hi All,
We use crystal reports and looks like every one in a while it hangs IIS 6.0. Running Windows Server 2003. Looking at the WinDbg the following call stands out as the cause of the hang.
crpe32!EnableDialogsHelp
Has anyone else seen this? Is there a patch/workaround/fix for this.
ThanksIn the page setup put the option Microsoft XPS Document Writer in the Printer option before publishing it to BO Server .
-
Crystal Report hanged at the 16374 pdf softcopy generated
To whom it may concern,
Recently, we have encountered a Crystal Report Problem during generating softcopy in PDF format.
When the Crystal Report generated 16374 pdf softcopy, the Crystal Report program is hanged and without error. It is replicable error and we have tried many times.
Do you have any idea what is the cause of the issue?
Thanks for your help.As you are using VS .NET I moved your post to the SAP Crystal Reports, version for Visual Studio SCN Space
As I understand the issue, you are exporting report / reports(?) to pdf in some sort of a loop(?).
You are able to export 16374 times, then the app stops processing and hangs.
I'd like you to address the above two question marks please as these are assumptions and you need to clear these up.
Next, provide the version of CR you are using - please be precise.
Also, version of VS.
Note that you should be be cleaning up your objects - the reports as well as the dataset - e.g.; use .close and .dispose.
Check the hard drive - make sure you are not running out of HD space.
Check the %TEMP% directory and clean that out.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
https://twitter.com/SAPCRNetSup -
Crystal Reports Hangs on .Load event
Hi ,
We are using CR 2011 on Windows environment (2008 R2) and run the following workflow.
1. We have created a rpt with 9 sub reports.
2. We would like to print the port to a particular printer and hence have set the flag <NO Printer> on the report
3. The application is a windows based application and not a web based application.
4. We have tested the report by launching the report and printing it on the desired printer.
5. We have a windows service that executes the code of reading the report and printing it out as a pdf / printer.
6. Step 4 is an event based activity that occurs as frequently as every 2 minutes.
7. The database is Oracle 11g
PROBLEM:
1. Generally all runs well, however once / twice a day the report hangs.
2. We have created a dump file and observed that the hang occurs on .LOAD event.
3. We are using the .LOAD with a single parameter that of the report name.
4. We also observed that the spooler service hangs
5. We are disposing the report immediately after printing it.
After the problem occurs we are forced to start the windows service and the printer spooler service.
Solutions tried so far:
1. Changing the No Printer flag did not give any results.
2. We have created a job that restarts the windows service and the spooler service after a period of 30 mins. - This has minimized the occurances but not eliminated the problem.
Pseudo code:
ReportDocument CR = new ReportDocument()
CR.Load(<report file name);
//Set Main data Source
CR.Database.Tables[0].SetDataSource(ADODB.Recordset)
//set sub reports
CR.Subreports[<Index>].Database.Tables[0].SetDataSource(data table)
//here it prints on default printer or the set printer. (Printer s are UNC printers, however we register them - they are visible as local printers on the given machine - locally before printing)
CR.PrintToPrinter(noOfCopies, false, fromPage, toPage);
CR.Close()
CR.Dispose()
IF required we can also provide the rpt file and any other details.
Our customers are really suffering cause of this and any help would be really appreciated.
Thanks
AnilHi Ludek,
In continuation, please find the stack for the hang.
As we can see there is a OutOfMemory exception followed by a Stack Overflow exception and then we have the CrstalReports function calls.
005b99b4
2
64 CrystalDecisions.ReportAppServer.ClientDoc._ISCDClientDocumentEvents_OnPropertyChangedEventHandler
005b98f8
2
64 CrystalDecisions.ReportAppServer.ClientDoc._ISCDClientDocumentEvents_OnPropertyChangingEventHandler
005b983c
2
64 CrystalDecisions.ReportAppServer.ClientDoc._ISCDClientDocumentEvents_OnSavedEventHandler
005b9780
2
64 CrystalDecisions.ReportAppServer.ClientDoc._ISCDClientDocumentEvents_OnSavingEventHandler
005b96c4
2
64 CrystalDecisions.ReportAppServer.ClientDoc._ISCDClientDocumentEvents_PreSavingEventHandler
005b9608
2
64 CrystalDecisions.ReportAppServer.ClientDoc._ISCDClientDocumentEvents_OnClosedEventHandler
005b954c
2
64 CrystalDecisions.ReportAppServer.ClientDoc._ISCDClientDocumentEvents_OnClosingEventHandler
005b9490
2
64 CrystalDecisions.ReportAppServer.ClientDoc._ISCDClientDocumentEvents_PreClosingEventHandler
79ad78cc
1
68 System.Diagnostics.Tracing.EventSource+OverideEventProvider
77eb9860
1
68 System.Drawing.BufferedGraphicsContext
5fb97d40
1
68 System.Configuration.AppSettingsSection
04028214
1
68 System.Text.RegularExpressions.Match
79ae71b8
2
72 System.Globalization.CompareInfo
79ae0b30
2
72 System.Threading.ExecutionContext
79ae0014
3
72 System.Guid
79ad7804
1
72 System.Collections.Generic.Dictionary`2+Entry[[System.String, mscorlib],[System.Resources.ResourceLocator, mscorlib]][]
5fb97254
3
72 System.Configuration.ConfigurationElementCollection+Enumerator
5fb9715c
6
72 System.Configuration.ConfigurationValues+ConfigurationElementsCollection
049d8ff4
3
72 System.Windows.Forms.Layout.DefaultLayout+AnchorInfo
049d71dc
6
72 System.Windows.Forms.ControlEventArgs
049d70b4
3
72 System.Windows.Forms.Layout.LayoutUtils+MeasureTextCache
04059b30
1
72 System.Diagnostics.FilterElement
03e04348
3
72 System.Collections.Generic.List`1[[Microsoft.Win32.SystemEvents+SystemEventInvokeInfo, System]]
79ae9250
1
76 System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo
049d7208
1
76 System.Windows.Forms.NativeMethods+STARTUPINFO_I
79ae4468
5
80 System.Text.DecoderReplacementFallback
79ae4418
5
80 System.Text.EncoderReplacementFallback
79ae01b4
5
80 System.DateTime
79ada500
2
80 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
79ad9728
1
80 System.Resources.ResourceManager
79ad7268
1
80 System.Resources.ResourceReader
79ad5374
2
80 System.IO.BinaryReader
77eb942c
2
80 System.Drawing.SafeNativeMethods+LOGFONT
77eb8c74
2
80 System.Drawing.Icon
0403c604
4
80 System.Text.RegularExpressions.ExclusiveReference
040285b4
4
80 System.Collections.Specialized.HybridDictionary
040284e0
4
80 System.Collections.Specialized.ListDictionary+DictionaryNode
79ae2570
1
84 System.ExecutionEngineException
79ae252c
1
84 System.StackOverflowException
79ae24e8
1
84 System.OutOfMemoryException
79ae2394
1
84 System.Exception
79ad7460
3
84 System.Resources.ResourceFallbackManager+<GetEnumerator>d__0
051abba4
1
84 System.Windows.Forms.SaveFileDialog
049d8aa8
7
84 System.Windows.Forms.UICuesEventArgs
049d611c
3
84 System.Windows.Forms.PropertyStore+PaddingWrapper
049d53c4
3
84 System.Windows.Forms.Padding
04059a1c
1
84 System.Diagnostics.ListenerElement
04026734
2
88 System.Diagnostics.TraceSwitch
049d643c
1
92 System.Collections.Generic.KeyValuePair`2[[System.Drawing.Font, System.Drawing],[System.Windows.Forms.Internal.WindowsFont, System.Windows.Forms]][]
79ae68c8
3
96 System.Reflection.MemberFilter
79ad7f34
3
96 System.Text.UTF8Encoding+UTF8Decoder
7971adc8
4
96 System.Collections.Generic.List`1[[System.Reflection.MethodInfo, mscorlib]]
7971a530
2
96 System.Collections.Generic.Dictionary`2[[System.Type, mscorlib],[System.Byte[], mscorlib]]
7971941c
4
96 System.Collections.Generic.List`1[[System.String, mscorlib]]
5fb97e10
1
96 System.Configuration.KeyValueConfigurationCollection
5fb95c3c
2
96 System.Configuration.ClientConfigPaths
05199e20
6
96 System.Windows.Forms.KeyEventArgs
049d18fc
4
96 System.Windows.Forms.NativeMethods+TRACKMOUSEEVENT
04059794
1
96 System.Diagnostics.SwitchElementsCollection
04059710
1
96 System.Diagnostics.SharedListenerElementsCollection
04059588
1
96 System.Diagnostics.SourceElementsCollection
0403c1dc
4
96 System.Collections.Generic.List`1[[System.Text.RegularExpressions.RegexOptions, System]]
03e0411c
2
96 System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.UriParser, System]]
79ae9154
1
100 System.Runtime.Serialization.Formatters.Binary.__BinaryWriter
79ae6af8
5
100 System.Security.PermissionToken
79ad7848
1
100 System.Diagnostics.Tracing.FrameworkEventSource
04029fd0
1
100 System.Diagnostics.FileVersionInfo
049d5984
1
104 System.Windows.Forms.Application+MarshalingControl
79ae90dc
1
108 System.Runtime.Serialization.Formatters.Binary.ObjectWriter
5fb969ac
9
108 System.Configuration.ConfigurationPropertyCollection
79ae26bc
1
112 System.AppDomain
5fb96bb8
4
112 System.Configuration.StreamInfo
0403c55c
4
112 System.Text.RegularExpressions.RegexFCD
04028518
4
112 System.Collections.Specialized.ListDictionary
04025bec
7
112 System.Collections.Specialized.NameObjectCollectionBase+NameObjectEntry
79ae2d3c
3
120 System.Security.Policy.Evidence
797183c0
5
120 System.Collections.Generic.List`1[[System.Type, mscorlib]]
049d7190
6
120 System.Windows.Forms.Control+ControlCollection
04059890
2
120 System.Diagnostics.TraceSection
040593d4
2
120 System.Diagnostics.AssertSection
79aed4a4
4
128 System.Text.UTF8Encoding+UTF8Encoder
79adec44
8
128 System.Runtime.InteropServices.HandleRef
79adb030
8
128 System.Security.Permissions.UIPermission
049d54a4
8
128 System.Windows.Forms.PropertyStore+SizeWrapper
049d4ecc
8
128 System.Windows.Forms.PropertyStore
0403c5cc
8
128 System.Text.RegularExpressions.RegexPrefix
0403c594
8
128 System.Text.RegularExpressions.RegexFC
0402c194
8
128 Microsoft.Win32.SystemEvents+SystemEventInvokeInfo
0402aab4
4
128 Microsoft.Win32.UserPreferenceChangingEventHandler
79ad0adc
3
132 System.Reflection.RtFieldInfo
77eb82ac
3
132 System.Drawing.Font
049d5618
1
132 System.Windows.Forms.Application+ThreadContext
005ba0e4
2
136 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper
Regards,
Anil -
Crystal Reports Crashes on startup
All,
Please help. We have been using Crystal Reports for a couple years now, never really impressed with the product but it gets the job done. Now we have 10 or so users that use the software and it keeps crashing. We are up to three licenses that are just going to waste becuase the computers the software is installed on can't start the program anymore. We are using Crystal Reports 2008 SP3 on each system.
3 Computers are suffering the exact same problem.
When Crystal Reports 2008 is selected from the start menu the program loads until the point it shows the Start Page then it closes itself down, no errors, no indication on what is going on it just goes "poof" as the users explain it. Oddly enough however if I right click the application shortcut and choose "Run As" I can start it as a diffrent user on that machine however the user it was intended for cannot. The program did start in the past but it now does not start at all. Since I can start it as another user I assume it is some part of the users settings in Crystal Reports that is the problem. I was hoping to find a folder in the application data or the local settings folders that had to do with Crystal Reports that I could just delete/rename to make the program load all defaults but none such folder seems to exist. I tried deleting all the Crystal Reports registry keys for the particular users in the Current User Hive to reset to defaults but that doesn't work either. I have uninstall and reinstalled the program numerous times. I tried diffrent service packs, 1, 2 and 3 all with the same result.
We don't have a Crystal Reports server we are just using the program to formulate reports coming out of a SQL database but at this point we can't even start the program to connect to the database.
The computers running the software are the following:
HP 6730b Business Notebooks
2GB of RAM
2.4GHz Core 2 Duo
250GB HD
Windows XP SP3
Latest Windows updates as of September 15, 2010
McAfee Virus Scan Enterprise 8.7i up to date as of yesterday October 11th, 2010I found the solution late last night. Apparently the Start Page for Crystal Reports is what is causing the problem becuase when I tried to open in IE 8 it would give me errors about scripts on the page. It looks like SAP didn't properly program in a try and catch statement when loading the start page that would catch the error instead of crashing out the program. Since the Start Page doesn't hold any useful information anyways I just disabled it by replacing the start.html file in
%PROGRAMFILES%\Business Objects\Business Objects Enterprise 12.0\win32_x86\Start Page\en with a blank HTML document so that there is nothing to load that could upset Crystal Reports and cause it to perform Sepukku.
I think I am going to put out a patch to my users today to disable all their start pages before my helpdesk gets clogged with requests.
Thanks for the help. -
Dear Friends,
We are using AR invoice ,QTN, Del.Challan prints outs thr' Crystal report.
When we open it for taking prints ,its gets open but after that system gets HANG.
Then up to making END TASK ,it remain as it is.
IS this problem of Crystal reports , or any solution is there for solve this.?
Regards.
Mahesh.Check weather the shared folder where the rpt file is kept is reachable
set the rpt file path correctly
is it running correctly in server or any other client?
is it running directly in crystal report?
Thanks,
Krish -
Crystal report close button hangs the application
Dear All,
I am working on 2005 B PL 46. we have developed an application to open a particular crystal report when a button is pressed in AR Invoice form. this works fine and the data is loaded properly. The problem is, when I close this report, this hangs the entire application and I have to kill the exe from the task manager then only I can go back to SAP. (one of the oldest problem we encountered with crystal report-SDK). this does not happen always. it does close the report 5 times out of 10 without hanging the application.one more thing is, if I debug the application with pressing F11, it never hangs the application and woks fine.
The report is getting loaded in the Crystalreport Viewer control dragged on a windows form. any one has any idea? I have tried this on 2007 B version PL 08 and the same problem persists with lesser frequency.
Thanks,
BinitaYes Vasu. and on form close event of that windows's form, I am writing :
System.Windows.Forms.Application.ExitThread()
any idea?
thanks,
Binita -
Randomly hang in Crystal Reports for Visual Studio 2005
after a certain number of prints (PrintMyDoc) the application hangs on the line of code shown below
the void is PrintMyDoc
private ConnectionInfo CreateConnectionInfo(string User, string Password, string Server, string Database)
ConnectionInfo objConn = new ConnectionInfo();
objConn.UserID = User;
objConn.Password = Password;
objConn.ServerName = Server;
objConn.DatabaseName = Database;
return objConn;
private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
try
CrystalDecisions.CrystalReports.Engine.Database db = reportDocument.Database; // HUNGS HERE !!!! CrystalDecisions.CrystalReports.Engine.Tables tables = db.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
TableLogOnInfo tblInfo = new TableLogOnInfo();
tblInfo.ConnectionInfo = connectionInfo;
table.ApplyLogOnInfo(tblInfo);
foreach (CrystalDecisions.CrystalReports.Engine.ReportDocument subrep in reportDocument.Subreports)
foreach (CrystalDecisions.CrystalReports.Engine.Table table in subrep.Database.Tables)
TableLogOnInfo tblInfo = new TableLogOnInfo();
tblInfo.ConnectionInfo = connectionInfo;
table.ApplyLogOnInfo(tblInfo);
catch (Exception ex)
MessageBox.Show(ex.Message);
the objects are disposed as shown in the lines here below.
protected override void Dispose(bool disposing)
try
if (!(crystalReportViewer.ReportSource == null))
((IDisposable)(crystalReportViewer.ReportSource)).Dispose();
crystalReportViewer.ReportSource = null;
try
objReport.Close();
objReport.Dispose();
objReport = null;
catch (Exception)
crystalReportViewer.Dispose();
crystalReportViewer = null;
catch
if (disposing && (components != null))
components.Dispose();
base.Dispose(disposing);
public void PrintMyDoc()
SqlConnection conn = OpenConnection();
if (conn != null)
if (System.IO.File.Exists(reportName))
ReportDocument myReport = new ReportDocument();
myReport.FileName = reportName;
myReport.PrintOptions.PrinterName = Stampante;
ConnectionInfo objConn = CreateConnectionInfo (Utente, Password, conn.DataSource, conn.Database);
SetDBLogonForReport(objConn, myReport); // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
this.crystalReportViewer.SelectionFormula = SelectionFormula;
if (Preview)
this.crystalReportViewer.ReportSource = myReport;
this.crystalReportViewer.RefreshReport();
else
myReport.RecordSelectionFormula = SelectionFormula;
myReport.Refresh();
myReport.PrintToPrinter(Numcopie , false, 0, 0);
objReport = myReport;
myReport = null;
this.Close();
conn.Dispose();
else
MessageBox.Show("Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
Hope someone can help me asap
thanksHow did you come to the conclusion that it is a problem with the UFL? If it is a problem with the UFL then there is little that we can do to troubleshoot it because the UFL is developed outside of Crystal. The code can do anything. You'd need to follow up with the person who wrote the UFL.
If you are still unsure of the cause, then I suggest you start testing with other reports. Use ones with no database connection as a control group, then use reports that DON'T include the UFL.
After that, you could capture a stack dump of your application and look at the results. See if you can find where a problem library file is. One thing to note, we won't look at your stack dump here. That is beyond the help we offer on forums.
You could also look at restructuring the portion of your application that handles Crystal Reports. Instead of calling Crystal within your application, you could spawn a new process that does your reporting then shuts down. It will help to isolate the reporting to its own application space that is only run when a report is requested. It doesn't sound like reporting is a large portion of this application if you run 20 reports a day and it runs for 10 hours straight. -
Help ! Crystal Reports 2008 for Visual Studio Hangs
I am using CR 2008 in VS 2008. When I try to set a data source in a crystal reports viewer the first time it hangs. This only occurs on the very first viewer that gets set. Once the first one works, I never have a problem again.
This has been a problem through a number of CR releases. It is not a new issue.
Thanks.And like all other releases the delay is due to the first time your app loads CR runtime is takes time do so, all programs do this. CR simply doesn't load in your memory space until it's called.
Load a dummy report on the Main Form when your app is loading then close the dummy report, it will add additional time to load your main app but it appears then CR loads the reports quickly.
No way around this. Also, make sure your reports have the Verify Database on first load or any of the Verify options, CR will try to connect to the DB and verify which can also take time.
Don -
Crystal Reports Causes Application to Hang in crpe32.dll When Viewing Report
All,
We have a C# Winform Application that uses Crystal Reports 13.0.9. In production, our application is intermittently hanging. The crash dump analysis indicates that a Crystal Reports assembly is causing blocked threads (i.e. deadlock). The results of crash dump analysis from two different workstations and diagnostic information about one of the affected machines is included below.
When this error occurs, the users are simply trying to view the report. The database is SQL Server 2012 Express but, the report does not pull data from the database. Rather, data is pushed to the report via DataSet and Adapter. The Crystal Runtime is physically installed on the machine (i.e. they are not using a report server). Unfortunately, our QA and development teams are unable to reproduce this issue in their respective environments. We have many other users of this application and version of Crystal Reports. And, this seems to be the only isolated case where the application hangs on the Crystal DLLs.
Can someone please provide advice and/or feedback on how to interpret and/or further analyze the information in the dump analysis for troubleshooting purposes. I apologize for putting the dump analysis and diagnostic information in a code block but, it was the only way I could post the information without errors.
Debug Diagnostic Tool (Dump Analysis)
Detected a serious critical section related problem in PureService_MINI.dmp
Lock at crpe32+76f158 is Uninitialized
Impact analysis
10.00% of threads blocked
(Threads 9)
The following functions are involved in the root cause
crpe32+13e84
The following modules are involved in the root cause
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crpe32.dll
The following vendors were identified for follow up based on root cause analysis
Unknown vendor for module C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crpe32.dll
Please follow up with the vendors identified above
Report for PureService_MINI.dmp
Type of Analysis Performed Hang Analysis
Machine Name ADMIN-LSM
Operating System Unexpected
Number Of Processors 4
Process ID 3880
Process Image C:\Scribble\MarinaOffice.NET\PureService.exe
System Up-Time 00:00:00
Process Up-Time 01:03:31
Top 5 Threads by CPU time
Note - Times include both user mode and kernel mode for each thread Thread ID: 0 Total CPU Time:
00:00:31.296 Entry Point for Thread: 0x00000000
Thread ID: 2 Total CPU Time: 00:00:00.077 Entry Point for Thread: 0x00000000
Thread ID: 7 Total CPU Time: 00:00:00.015 Entry Point for Thread: 0x00000000
Thread ID: 5 Total CPU Time: 00:00:00.015 Entry Point for Thread: 0x00000000
Thread ID: 4 Total CPU Time: 00:00:00.015 Entry Point for Thread: 0x00000000
NET Analysis Report
CLR Information
.NET Threads Summary
CLR Information
CLR version = 4.0.30319.34014
CLR Debugger Extension = C:\Program Files\DebugDiag\x86Support\Exts\psscor4.dll
.NET Threads Summary
Failed to request ThreadStore
Locked critical section report
Critical Section crpe32+76f158
Lock State Uninitialized
Lock Count 1
Recursion Count 1
Entry Count 0
Contention Count 0
Spin Count 33556432
Owner Thread System ID 7988 (not present in dump)
Thread report
Thread 0 - System ID 7988
Entry point 0x00000000
Create time 10/8/2014 2:33:00 PM
Time spent in user mode 0 Days 00:00:24.687
Time spent in kernel mode 0 Days 00:00:06.609
This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.
.NET Call Stack
Function
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
Full Call Stack
Function Source
ntdll!NtWaitForSingleObject+c
KERNELBASE!WaitForSingleObjectEx+99
KERNELBASE!WaitForSingleObject+12
dtsagent+3376d
sacommlayer+965c
clientdoc+31995
clientdoc+10961
clientdoc+10b14
clientdoc+27b07
clr!JIT_MonExitWorker+a
0x03eb1310
0x09146f40
0x114496b4
0x114bf320
Back to Top
Thread 1 - System ID 4672
Entry point 0x00000000
Create time 10/8/2014 2:33:00 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00
Function Source
ntdll!NtWaitForMultipleObjects+c
KERNELBASE!WaitForMultipleObjectsEx+dc
clr!DebuggerRCThread::MainLoop+98
clr!DebuggerRCThread::ThreadProc+cb
clr!DebuggerRCThread::ThreadProcStatic+b9
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 2 - System ID 7832
Entry point 0x00000000
Create time 10/8/2014 2:33:00 PM
Time spent in user mode 0 Days 00:00:00.062
Time spent in kernel mode 0 Days 00:00:00.015
.NET Call Stack
Function
Full Call Stack
Function Source
ntdll!NtWaitForMultipleObjects+c
KERNELBASE!WaitForMultipleObjectsEx+dc
clr!WKS::WaitForFinalizerEvent+be
clr!WKS::GCHeap::FinalizerThreadWorker+6e
clr!ManagedThreadBase_DispatchInner+67
clr!ManagedThreadBase_DispatchMiddle+82
clr!ManagedThreadBase_DispatchOuter+5b
clr!WKS::GCHeap::FinalizerThreadStart+198
clr!Thread::intermediateThreadProc+4d
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 3 - System ID 4668
Entry point 0x00000000
Create time 10/8/2014 2:33:01 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00
.NET Call Stack
Function
Full Call Stack
Function Source
ntdll!NtDelayExecution+c
KERNELBASE!SleepEx+8a
clr!ThreadpoolMgr::TimerThreadFire+3e
clr!ThreadpoolMgr::TimerThreadStart+6b
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 4 - System ID 4020
Entry point 0x00000000
Create time 10/8/2014 2:33:01 PM
Time spent in user mode 0 Days 00:00:00.015
Time spent in kernel mode 0 Days 00:00:00.00
Function Source
ntdll!NtRemoveIoCompletion+c
KERNELBASE!GetQueuedCompletionStatus+44
System_Data!SNIAsyncWait+71
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 5 - System ID 7308
Entry point 0x00000000
Create time 10/8/2014 2:33:01 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.015
Function Source
ntdll!NtWaitForMultipleObjects+c
KERNELBASE!WaitForMultipleObjectsEx+dc
user32!MsgWaitForMultipleObjectsEx+159
user32!MsgWaitForMultipleObjects+1f
GdiPlus!BackgroundThreadProc+4b
GdiPlus!DllRefCountSafeThreadThunk+10
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 6 - System ID 1988
Entry point 0x00000000
Create time 10/8/2014 3:28:20 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00
This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.
Function Source
user32!NtUserGetMessage+c
user32!GetMessageW+2a
mfc80u!AfxInternalPumpMessage+18 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 153 + f
mfc80u!CWinThread::Run+54 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 625 + 7
mfc80u!_AfxThreadEntry+10c f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 126
msvcr80+29bb
msvcr80+2a47
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 7 - System ID 7596
Entry point 0x00000000
Create time 10/8/2014 3:28:20 PM
Time spent in user mode 0 Days 00:00:00.015
Time spent in kernel mode 0 Days 00:00:00.00
This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.
Function Source
user32!NtUserGetMessage+c
user32!GetMessageW+2a
mfc80u!AfxInternalPumpMessage+18 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 153 + f
mfc80u!CWinThread::Run+54 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 625 + 7
mfc80u!_AfxThreadEntry+10c f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 126
msvcr80+29bb
msvcr80+2a47
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 8 - System ID 2880
Entry point 0x00000000
Create time 10/8/2014 3:28:20 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00
This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.
Function Source
user32!NtUserGetMessage+c
user32!GetMessageW+2a
mfc80u!AfxInternalPumpMessage+18 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 153 + f
mfc80u!CWinThread::Run+54 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 625 + 7
mfc80u!_AfxThreadEntry+10c f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 126
msvcr80+29bb
msvcr80+2a47
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 9 - System ID 8072
Entry point 0x00000000
Create time 10/8/2014 3:28:20 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00
This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.
Function Source
ntdll!NtWaitForSingleObject+c
ntdll!RtlpWaitOnCriticalSection+d0
ntdll!RtlpEnterCriticalSectionContended+a0
ntdll!RtlEnterCriticalSection+42
crpe32+13e84
crpe32+13ec5
Crash Dump Analysis (Workstation 2)
WARNING - DebugDiag was unable to locate debug symbols for crpe32.dll, so the information below may be incomplete.
Detected possible blocking or leaked critical section at crpe32!MWCleanupProcess+3b3998 owned by thread 0 in PureService.dmp
Impact of this lock
9.09% of threads blocked
(Threads 9)
The following functions are trying to enter this critical section
crpe32!Ordinal995+13e84
The following module(s) are involved with this critical section
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crpe32.dll from SAP BusinessObjects
The following vendors were identified for follow up based on root cause analysis
SAP BusinessObjects
Please follow up with the vendors identified above
Report for PureService.dmp
Type of Analysis Performed Hang Analysis
Machine Name ADMIN-LSM
Operating System Unexpected
Number Of Processors 4
Process ID 3880
Process Image C:\Scribble\MarinaOffice.NET\PureService.exe
System Up-Time 1 day(s) 04:57:28
Process Up-Time 01:03:06
Top 5 Threads by CPU time
Note - Times include both user mode and kernel mode for each thread Thread ID: 0 Total CPU Time: 00:00:31.296 Entry Point for Thread: 0x00000000
Thread ID: 2 Total CPU Time: 00:00:00.077 Entry Point for Thread: 0x00000000
Thread ID: 7 Total CPU Time: 00:00:00.015 Entry Point for Thread: 0x00000000
Thread ID: 5 Total CPU Time: 00:00:00.015 Entry Point for Thread: 0x00000000
Thread ID: 4 Total CPU Time: 00:00:00.015 Entry Point for Thread: 0x00000000
.NET Analysis Report
CLR Information
.NET Threads Summary
CLR Information
CLR version = 4.0.30319.34014
CLR Debugger Extension = C:\Program Files\DebugDiag\x86Support\Exts\psscor4.dll
.NET Threads Summary
Failed to request ThreadStore
Locked critical section report
Critical Section crpe32!MWCleanupProcess+3b3998
Lock State Locked
Lock Count 1
Recursion Count 1
Entry Count 0
Contention Count 1
Spin Count 33556432
Owner Thread 0
Owner Thread System ID 7988
Thread report
Thread 0 - System ID 7988
Entry point 0x00000000
Create time 10/8/2014 2:33:00 PM
Time spent in user mode 0 Days 00:00:24.687
Time spent in kernel mode 0 Days 00:00:06.609
This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.
.NET Call Stack
Function
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(System.Object ByRef, Int32)
CrystalDecisions.CrystalReports.Engine.CRPE.PEOpenEngineEx(CrystalDecisions.CrystalReports.Engine.PEEngineOptions ByRef)
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
Full Call Stack
Function Source
ntdll!NtWaitForSingleObject+c
KERNELBASE!WaitForSingleObjectEx+99
KERNELBASE!WaitForSingleObject+12
dtsagent+3376d
sacommlayer!DllGetClassObject+16dc
clientdoc!DllGetClassObject+2b26b
clientdoc!DllGetClassObject+a237
clientdoc!DllGetClassObject+a3ea
clientdoc!DllGetClassObject+213dd
clr!JIT_MonExitWorker+a
0x03eb1310
0x09146f40
0x114496b4
0x114bf320
Back to Top
Thread 1 - System ID 4672
Entry point 0x00000000
Create time 10/8/2014 2:33:00 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00
Function Source
ntdll!NtWaitForMultipleObjects+c
KERNELBASE!WaitForMultipleObjectsEx+dc
clr!DebuggerRCThread::MainLoop+98
clr!DebuggerRCThread::ThreadProc+cb
clr!DebuggerRCThread::ThreadProcStatic+b9
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 2 - System ID 7832
Entry point 0x00000000
Create time 10/8/2014 2:33:00 PM
Time spent in user mode 0 Days 00:00:00.062
Time spent in kernel mode 0 Days 00:00:00.015
.NET Call Stack
Function
Full Call Stack
Function Source
ntdll!NtWaitForMultipleObjects+c
KERNELBASE!WaitForMultipleObjectsEx+dc
clr!WKS::WaitForFinalizerEvent+be
clr!WKS::GCHeap::FinalizerThreadWorker+6e
clr!ManagedThreadBase_DispatchInner+67
clr!ManagedThreadBase_DispatchMiddle+82
clr!ManagedThreadBase_DispatchOuter+5b
clr!WKS::GCHeap::FinalizerThreadStart+198
clr!Thread::intermediateThreadProc+4d
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 3 - System ID 4668
Entry point 0x00000000
Create time 10/8/2014 2:33:01 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00
.NET Call Stack
Function
Full Call Stack
Function Source
ntdll!NtDelayExecution+c
KERNELBASE!SleepEx+8a
clr!ThreadpoolMgr::TimerThreadFire+3e
clr!ThreadpoolMgr::TimerThreadStart+6b
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 4 - System ID 4020
Entry point 0x00000000
Create time 10/8/2014 2:33:01 PM
Time spent in user mode 0 Days 00:00:00.015
Time spent in kernel mode 0 Days 00:00:00.00
Function Source
ntdll!NtRemoveIoCompletion+c
KERNELBASE!GetQueuedCompletionStatus+44
System_Data!SNIAsyncWait+71
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 5 - System ID 7308
Entry point 0x00000000
Create time 10/8/2014 2:33:01 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.015
Function Source
ntdll!NtWaitForMultipleObjects+c
KERNELBASE!WaitForMultipleObjectsEx+dc
user32!MsgWaitForMultipleObjectsEx+159
user32!MsgWaitForMultipleObjects+1f
GdiPlus!BackgroundThreadProc+4b
GdiPlus!DllRefCountSafeThreadThunk+10
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 6 - System ID 1988
Entry point 0x00000000
Create time 10/8/2014 3:28:20 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00
Function Source
user32!NtUserGetMessage+c
user32!GetMessageW+2a
mfc80u!AfxInternalPumpMessage+18 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 153 + f
mfc80u!CWinThread::Run+54 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 625 + 7
mfc80u!_AfxThreadEntry+10c f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 126
msvcr80!_callthreadstartex+1b f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 348 + 6
msvcr80!_threadstartex+66 f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 326 + 5
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 7 - System ID 7596
Entry point 0x00000000
Create time 10/8/2014 3:28:20 PM
Time spent in user mode 0 Days 00:00:00.015
Time spent in kernel mode 0 Days 00:00:00.00
Function Source
user32!NtUserGetMessage+c
user32!GetMessageW+2a
mfc80u!AfxInternalPumpMessage+18 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 153 + f
mfc80u!CWinThread::Run+54 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 625 + 7
mfc80u!_AfxThreadEntry+10c f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 126
msvcr80!_callthreadstartex+1b f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 348 + 6
msvcr80!_threadstartex+66 f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 326 + 5
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 8 - System ID 2880
Entry point 0x00000000
Create time 10/8/2014 3:28:20 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00
Function Source
user32!NtUserGetMessage+c
user32!GetMessageW+2a
mfc80u!AfxInternalPumpMessage+18 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 153 + f
mfc80u!CWinThread::Run+54 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 625 + 7
mfc80u!_AfxThreadEntry+10c f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 126
msvcr80!_callthreadstartex+1b f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 348 + 6
msvcr80!_threadstartex+66 f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 326 + 5
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
Back to Top
Thread 9 - System ID 8072
Entry point 0x00000000
Create time 10/8/2014 3:28:20 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00
This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.
Function Source
ntdll!NtWaitForSingleObject+c
ntdll!RtlpWaitOnCriticalSection+d0
ntdll!RtlpEnterCriticalSectionContended+a0
ntdll!RtlEnterCriticalSection+42
crpe32!Ordinal995+13e84
crpe32!Ordinal995+13ec5
Back to Top
Thread 10 - System ID 4756
Entry point 0x00000000
Create time 10/8/2014 3:36:03 PM
Time spent in user mode 0 Days 00:00:00.00
Time spent in kernel mode 0 Days 00:00:00.00
.NET Call Stack
Function
Full Call Stack
Function Source
ntdll!NtWaitForSingleObject+c
KERNELBASE!WaitForSingleObjectEx+99
clr!CLRSemaphore::Wait+bf
clr!ThreadpoolMgr::UnfairSemaphore::Wait+12f
clr!ThreadpoolMgr::WorkerThreadStart+309
clr!Thread::intermediateThreadProc+4d
kernel32!BaseThreadInitThunk+e
ntdll!__RtlUserThreadStart+20
ntdll!_RtlUserThreadStart+1b
System Diagnostic Information
[System Summary]
Item Value
OS Name Microsoft Windows 7 Professional x64
OS Version 6.1 Service Pack 1 (Build 7601)
System Name RENTAL
System Model OptiPlex 760
System Manufacturer Dell Inc.
Processor Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
BIOS Version DELL - 15
IP 192.168.234.4
Windows Directory C:\Windows
System Directory C:\Windows\system32
Locale United States
User Name Rentals
Time Zone Central Standard Time
Total Physical Memory 3933 MB
Available Physical Memory 1100 MB
Serial number H2RN5J1
MAC address 00-23-AE-8D-BD-ADHi Aaaron
This will be one of those; "works here, not there, what's the diff?". E.g.;
OS?
Load?
Runtime - CR, DB clinet, VC++ and other.
Printer drivers(?)
If this is a 32 bit app, use the Modules utility to compare the runtime on a working computer and one that does not work. When doing the comparisons, look at the CR runtime, the db runtime, the VC++ runtime and any other runtime differences.
Since you are using MS SQL 2012, ensure that the SQL Native 11 client is installed.
Re. printer drivers, check to see that you are using the latest updates for what ever printer is default or used by the reports. Also, make sure the printer driver is designed for the OS.
Oh. One more thing. You can attach files here; just click on the "Use advanced editor" link. You will have to rename the file to .txt, then attach. Just sayin - that way you don't have to copy paste
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Message was edited by: Ludek Uher -
Crystal Report XI R2 cause IIS to hang while calling ReportDocument.Close()
Dear Concern,
We are using Visual Studio 2008 (.Net framework 3.5) to develop ERP Web portal for our company. Crystal Report XI R2 has been used here for generating customized report.
I have written a CrystalReport utility to do all type of logon, parameter pass stuffs with the report. The utility itself implements IDisposable and following is my code at the Dispose method:
public override void Dispose()
_crReportDocument.Close();
_crReportDocument.Dispose();
But when my code reaches _crReportDocument.Close() then the IIS/ W3C hangs. I have waited for long time to the process to be finished but it never.
I also tried to move the code from my utility and directly close the report object from caller form but failed.
Can anyone please give me any suggestions regarding this issue? Is there anything wrong with this?
N.B. I have succeeded with Crystal Report X by using the same procedure.
Thank You.Dear Adam,
Thanks.
The problem resolved after I have installed CR XI R2 Service Pack 4. Crystal Report 2008 of course is a better solution but I have to wait a bit for procurement.
Warm Regards,
Sultan
Maybe you are looking for
-
Hard Drive Upgrade - Incorrect Capacity Shown In Disk Utility After Installation
I have an older model Macbook Version 2.1 that had an 80GB hard drive installed. I have just installed a Western Digital Scorpio Black 500GB internal hard drive upgrade and successfully cloned my data over using Carbon Copy Cloner. The problem I ha
-
Mijn facetime werkt niet op mijn Macbook (2009).Weet iemand wat het probleem is??????
-
Syncing audio in Final Cut Pro X doesn't create a compound clip
I just had a quick question that hopefully someone can help me with. I was shooting some video with my Canon t3i the other day, and I record audio into a Zoom H1. I imported all of my audio and video into Final Cut Pro X and I wanted to syncronize th
-
2 iphones both receive same messages and sometimes phone calls. What causes this?
My wife and I both have iphones but we are receiving each others messages and sometimes phone calls even though different phones. What is causing this? Both phones registered under the same user. Means she is seeing my texts messages and vice versa.
-
Best way to backup old Tungsten E?
Had horrible, but apparently common, problem today of all my calendar data being lost. I absolutely never want to go through this again. What is the most reliable way to back up all Palm data on a daily basis? I have an old (2003-4) tungsten E. Many