Crystal Reports 11.5 Formula editor hangs
Hi, when i enter formula editor the application hangs. It happens on any report, new one, blank one, old ones.I tried to reinstall the whole package, but same results. Please someone have any idea? Arie
Edited by: klebaner on Sep 27, 2011 2:41 PM
Thank you Don,
I use XP.
When i activated Process Monitor, i get the many different errors, the ones related to formulas are as follow.
Do you have any idea what can cause it?
thank you
01:42:45.2285969 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar0\Visible NAME NOT FOUND Length: 144
01:42:45.2287746 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar0\Horz NAME NOT FOUND Length: 144
01:42:45.2289361 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar0\Floating NAME NOT FOUND Length: 144
01:42:45.2290986 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar0\YPos NAME NOT FOUND Length: 144
01:42:45.2293062 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar0\XPos NAME NOT FOUND Length: 144
01:42:45.2294674 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar0\MRUWidth NAME NOT FOUND Length: 144
01:42:45.2296314 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar0\Docking NAME NOT FOUND Length: 144
01:42:45.2341756 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar1\Visible NAME NOT FOUND Length: 144
01:42:45.2343527 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar1\Horz NAME NOT FOUND Length: 144
01:42:45.2345340 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar1\Floating NAME NOT FOUND Length: 144
01:42:45.2350360 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar1\MRUWidth NAME NOT FOUND Length: 144
01:42:45.2368010 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar1\Bars NAME NOT FOUND Length: 144
01:42:45.2408258 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar2\Visible NAME NOT FOUND Length: 144
01:42:45.2412524 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar2\Horz NAME NOT FOUND Length: 144
01:42:45.2414195 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar2\Floating NAME NOT FOUND Length: 144
01:42:45.2420039 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar2\MRUWidth NAME NOT FOUND Length: 144
01:42:45.2439807 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar2\Bars NAME NOT FOUND Length: 144
01:42:45.2474102 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar3\Visible NAME NOT FOUND Length: 144
01:42:45.2475890 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar3\Horz NAME NOT FOUND Length: 144
01:42:45.2477530 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar3\Floating NAME NOT FOUND Length: 144
01:42:45.2482519 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar3\MRUWidth NAME NOT FOUND Length: 144
01:42:45.2499133 crw32.exe 1660 RegQueryValue HKCU\Software\Business Objects\Suite 11.5\Crystal Reports\Formula Workshop\Formula\ToolBar-Bar3\Bars NAME NOT FOUND Length: 144
Similar Messages
-
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 report 2011 - Suppress formula?
I'm not new to Crystal reports 2011, but I am new to this forum. Excuse me if my question is already answered in another discussion thread, but I've searched the forum, but could not find an answer easily.
In my report I need to total the amount per day per security. If one of the totals per day have a negative amount, my report should show all dates for that security.
To make it more clear to you I've put in two examples
Example 1:
From date PfGrp Por Security ISIN Custody Amount
15-1-2015 aaa por_a Sec01 123456 Cust01 5000
15-1-2015 aaa por_b Sec01 123456 Cust02 -6000
16-1-2015 aaa por_a Sec01 123456 Cust01 5000
16-1-2015 aaa por_b Sec01 123456 Cust02 1000
17-1-2015 aaa por_a Sec01 123456 Cust01 2000
17-1-2015 aaa por_b Sec01 123456 Cust02 1000
Expected output:
From date PfGrp Por Security ISIN Custody Amount
15-1-2015 aaa Sec01 123456 -1000
16-1-2015 aaa Sec01 123456 6000
17-1-2015 aaa Sec01 123456 3000
Output expected because the total amount on 15-1-2015 is negative. Because of this negative total amount the other dates have to be shown as well.(although they are positive)
Example 2:
From date PfGrp Por Security ISIN Custody Amount
15-1-2015 aaa por_a Sec01 123456 Cust01 5000
15-1-2015 aaa por_b Sec01 123456 Cust02 6000
16-1-2015 aaa por_a Sec01 123456 Cust01 5000
16-1-2015 aaa por_b Sec01 123456 Cust02 1000
17-1-2015 aaa por_a Sec01 123456 Cust01 2000
17-1-2015 aaa por_b Sec01 123456 Cust02 -1000
No output expected because all the totals per day are positive.
Regards, Peter.Hi Peter,
Try this please:
1) Save the existing report with a new name. You should now have two copies of the same report - let's call them A and B.
2) Open Report A.
3) Insert a Group on the Security Field first and then on the Date field. Set the Date Field to 'Print for Each Day'.
4) Create a formula (@Groups) with this code and place this on Group Header #2:
WhilePrintingRecords;
stringvar groups;
If Sum ({Amount}, {Date}) < 0 then
If Instr(groups,{Security}) = 0 then
groups := groups + {Security} + ",";
groups;
5) Suppress all sections of this report except the Report Footer.
6) Go ahead and Insert a Subreport. In the Insert Subreport dialog box, browse to the Report B and place it on the Report Footer.
7) Edit the Subreport so that it has the same groups as the Main Report (or Report A)
8) Right-click the Subreport > Change Subreport Links > Move the @Groups formula to the Pane on the right > Uncheck the option 'Select data in Subreport based on Field' > Click OK.
9) Get inside the Subreport > Click the Report Option > Selection Formulas > Record and use this code:
Not({Security} IN Split({?Pm-@Groups},","))
IF you have some existing selection formula in there, then you would need to add this condition with an AND clause.
Hope this helps.
The reason we have to add a Subreport is because you're trying to suppress a higher group based on a summary that appears on a lower group.
If you're reporting off of tables, you should be able to use a SQL Expression Field to display the summary for Group #2 and use this summary to suppress the higher section based on another logic!
-Abhilash -
Crystal Reports XI - Suppression Formula
I am trying to suppress different sections based on fields in my report. I have checked that the formulas are working by placing them in the report and have checked that they are returning the correct boolean result. I have three sections using the forumulas below;
Section A
If pagenumber MOD 2 = 0 then true
else
If {Student__02_03_.Date of Birth}<>DateTime(1900,1,1,0,0,0) and {Student__02_03_.Ethnicity}<>"99" then
FALSE
else
TRUE
Section B
If pagenumber MOD 2 = 0 then true
else
If ({Student__02_03_.Date of Birth}=DateTime(1900,1,1,0,0,0) and {Student__02_03_.Ethnicity}<>"99") then
FALSE //If either date of birth & ethnicity are blank or unknown then show this header
else
If ({Student__02_03_.Date of Birth}<>DateTime(1900,1,1,0,0,0) and {Student__02_03_.Ethnicity}="99") then
FALSE //If either date of birth & ethnicity are blank or unknown then show this header
else
TRUE // if not then supress
Section C
If pagenumber MOD 2 = 0 then true
else
If ({Student__02_03_.Date of Birth}=DateTime(1900,1,1,0,0,0) and {Student__02_03_.Ethnicity}="99") then
FALSE //If both date of birth & ethnicity are blank or unknown then show this header
else
TRUE // if not then supress
For my first result in the report this always returns the correct section. However, from the second result on it hides all of the sections, despite showing the correct result in CR (they show FALSE, TRUE, TRUE for each record in my current result. But the first section does not display.
If I remove the suppression formula it works fine through the report, but unfortunately this does not help me! Can anyone offer any suggestions?
Edited by: cataylor951 on Jan 12, 2011 12:08 PM>
cataylor951 wrote:
> I am trying to suppress different sections based on fields in my report. I have checked that the formulas
are working by placing them in the report and have checked that they are returning the correct boolean result.
I have three sections using the forumulas below;
>
> Section A
>
If pagenumber MOD 2 = 0 then true
> else
> If {Student__02_03_.Date of Birth}<>DateTime(1900,1,1,0,0,0)
> and {Student__02_03_.Ethnicity}<>"99" then
> then FALSE
> else TRUE
>
> Section B
>
If pagenumber MOD 2 = 0 then true
> else
> If ({Student__02_03_.Date of Birth}=DateTime(1900,1,1,0,0,0)
> and {Student__02_03_.Ethnicity}<>"99") then
> FALSE
> //If either date of birth & ethnicity are blank or unknown then show this header
> else
> If ({Student__02_03_.Date of Birth}<>DateTime(1900,1,1,0,0,0)
> and {Student__02_03_.Ethnicity}="99") then
> FALSE
> //If either date of birth & ethnicity are blank or unknown then show this header
> else TRUE // if not then supress
>
> Section C
>
If pagenumber MOD 2 = 0 then true
> else
> If ({Student__02_03_.Date of Birth}=DateTime(1900,1,1,0,0,0)
> and {Student__02_03_.Ethnicity}="99")
> then FALSE
> //If both date of birth & ethnicity are blank or unknown then show this header
> else
> TRUE // if not then supress
>
> For my first result in the report this always returns the correct section. However, from the second
result on it hides all of the sections, despite showing the correct result in CR
(they show FALSE, TRUE, TRUE for each record in my current result. But the first section does not
display.
>
> If I remove the suppression formula it works fine through the report, but unfortunately this does not
help me! Can anyone offer any suggestions?
>
> Edited by: cataylor951 on Jan 12, 2011 12:08 PM
What do you mean by: from the second result ? -
Crystal Report XI Formula Workshop Window disappeared
I'm been trying to write a report using Crystal Reports XI. Which I am having problems with, but at this time my main concern is... whenever I click on the Formula Workshop the application totally hangs and the box never comes up. You can here it beep like the window should be hiding but I have been unable to find. I usually run 2 screens and it is not on the other screen. I am a PC person more than a Crystal Report person and can't find it anywhere. I tried to run a repair and that didn't work either. I can kit esc to unlock everything but i need this to build some formulas. Suggestions?
Hi,
That's usually because the Formula Editor is 'lost in space'. Here's are two ways to get around this:
Resolution 1:
1) Open Crystal Reports on any machine with dual monitor setup
2) Click on the Conditional Formatting button (x+2) of any field
3) Now, with Crystal Reports open and in focus use Alt + Space, then M, then Arrow key, and then move your mouse around
4) The Formula Editor window which was earlier off-screen should appear from one of the sides of the screen
5) Re-open the report and the Formula Editor should show up on the Primary Display hereafter
Resolution 2:
1) Open the Registry Editor (Start > Run > regedit)
2) Browse to HKEY_CURRENT_USER\SOFTWARE\BUSINESS OBJECTS\SUITE 11.0\Crystal Reports\Formula Workshop
3) Change the value data for Editor Position as 10,10,10,10
Let me know how this goes!
-Abhilash -
Reverse Sign in Crystal report
Hi,
I am working on CR 2008 and SAP BEx query.My report requirement is to change the sign of values.
Suppose if one value is negative then show in the report as positive.same for positive to Negative.
I know how to do in the SAP Bi report.
If any one know then plz let me know how can we do in the crystal report.Create a formula field and add a simple formula there that multiplies your key figure with -1. Add then the formula filed in your report instead of the original key figure.
Regards,
Stratos -
Crystal Reports 10, Want to pass values from subreports to main report
Post Author: playmkr278
CA Forum: General
Is there a way to just share values out of subreports.
The reason I ask is that I am having problems pulling the correct information in one subreport so I'd like to use 2 subreports to pull out Billable hours on one and Billed Hours on another and then add them together to display on the main report.Post Author: Jedit
CA Forum: General
Yep there is!
In your sub report
I the formula editor create a shared variable then create the same variable in your main report.
EG
IN your SUB
Create new formular called tothrs etcu2026..
whileprinting records;
shared numbervar tothrs: sum({table.fieldname}]
In Your Main Report
whileprinting records;
shared numbervar tothrs
this passes the value from your sub to the main, check help for different types of format as the one above is only for a number there are others for time & date etc..
hope this helps!
I have been doing a similar exercise myself but got stuck summing the parameter values in my main report, if you solve this let me know?
Please see http://technicalsupport.businessobjects.com/cs/forums/thread/6210.aspx -
Crystal Reports 2008 Can not edit in the formula editor? Help?
I just used Crystal 2 weeks ago just fine. Now when I go into a report and then into the select expert then into the formula editor it will not let me edit my formulas. The cursor is there, but I can do anything. I tried to find and replace, but I get the text is read-only. How the heck do I fix this? It's pretty urgent.
Edited by: Ludek Uher on Jan 6, 2012 8:58 AMHi,
The only time I've seen formula grayed out is when I go into a conditional formatting formula and try to edit other formula fields on the Report.
What formulas are you trying to edit? The best place to edit a formula is from the 'Formula Workshop'.
Report > Formula Workshop; you can edit any formula from here.
Hope this helps!
-Abhilash -
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 -
SAP Crystal reports formula fields
hi,
how to use formula fields in crystal report.
thanks & regards,vinothHi Vinoth,
That's a very vague question.
You can create formulae via the Field Explorer > Formula option.
After you save and close the formula editor, you need to drag and drop the formula on the report for it to execute.
If you need help with a formula, please post the requirement.
-Abhilash -
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 -
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 -
Crystal Report issue : Error in file.. .rpt . Error in formula
Hi ,
I recently migrated a report from production to test environemnt and it throws me the following error:
Error in File C:\DOCUME1\oe_user\LOCALS1\Temp\packing instructions {4058873B-9756-4052-B479-EBD2D0A08E7D}.rpt:Error in formula <Object_Visibility>. '{Command.EXACT_WEIGHT_FLAG} = "Ne (No)"'
This field name is not known.
In production server is installed Oracle 9i database and in test server is installed Oracle 10g
The report has 1 main report and 2 sub reports.
1. The same report works fine in production server without any issues.
2. I had executed the report in Crystal reports 2008 and it runs fine displaying all fields without any issues.
3. I had also tried taking the query of both subreports and the main report and tried executing it in oracle and it runs fine without any issues.
However during the runtime in the test server, it throws the following error.
Can someone help me out with this issue..Hi Siva,
What is the patch level of CR 2008?
Is it a win or a web app?
What is the server OS?
First, try to simply view the report. Let the report prompt for the database credentials and the parameter values if any.
See if it reproduces the issue.
ReportDocument rd = new ReportDocument();
rd.Load(Server.MapPath("CrystalReport.rpt"));
CrystalReportViewer1.ReportSource = rd;
Take a look at the SAP Note :
[1421867 - Error: This field name is not known|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433323331333833363337%7D.do]
Hope it helps,
Thanks,
Bhushan. -
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.
Maybe you are looking for
-
Dear colleagues, Is any posilble check or test (benchmark) of DB performance before and after CPU patching? Any testing SAP or SQL report, which makes a load on DB? Thank you for advice. Best Regards Jakub Vaněk
-
Problem with dreamweaver template
hi running Dreamweaver 8, built my first website using templates works fine for 8 months. The site is called www.mraweb.ca when I go to update this starts: Today my template file uses this code to create a drop down menu <li><a href="join_mra.htm>Jo
-
Kadav tags carry over from RH 6 to RH 7
kadov is gone, but not forgotten. If you don't care about kadov, skip to the end. RH 7 doesn't use the old kadov tags in source html, so they don't appear in WebHelp output topics either. However, RH 7 does not automatically clean up kadov coding whe
-
Setting the background color of the selection when text selected (input TextField)
My input TextField has a black background. The problem is, when some text is enter and then selected, the selection background color remains black and the selected text remains white. Because of this it's imposible to tell that the text has been sele
-
ITunes not properly installed error...
Hi, I'm running iTunes version 7.0.2.16. Yesterday when I booted iTunes it told me that it was not installed properly and it will not be able to rip or burn CD's... This is the first time this has ever happened and I've had iTunes installed on this c