Delay in loading report on Vista Boxes when top margin set to 0
I'm currently using Crystal Reports for Visual Studio version 13.0
I have a problem when I programmically change any value on the report, I have a delay of 17 seconds or more - it seems to be loading the report. I began seeing this problem when I modified the Page Settings -> Top margin to be 0.000 (originally the top margin was set to 1.153).
This problem is only occuring on a group of Vista boxes (running service pack 2)
It could be printer driver related. Try turning on the No printer setting in the page setup.
Similar Messages
-
Load report failed only occurs when NETWORK SERVICE don't have access to C:
Hi,
My configuration:
Windows Server 2003+SPs
CRRedist2008_x86
The reports works perfect, but after I run the commands bellow, the error: "Load report failed" occurs. To fix I need to give the NETWORK SERVICE read access to C:\ , It's possible to change this access to other diretory?
Tks.
cacls "%systemroot%" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%" /t /e /g administrators:f "CREATOR OWNER":f everyone:r SYSTEM:f
cacls "c:\autoexec.bat" /E /C /R "EVERYONE" "USERS" "POWER USERS"
cacls "c:\config.sys" /E /C /R "EVERYONE" "USERS" "POWER USERS"
cacls "c:\boot.ini" /E /C /R "EVERYONE" "USERS" "POWER USERS"
cacls "c:\ntldr" /E /C /R "EVERYONE" "USERS" "POWER USERS"
cacls "c:\ntdetect.com" /E /C /R "EVERYONE" "USERS" "POWER USERS"
cacls "c:\autoexec.bat" /T /E /C /G administrators:f
cacls "c:\boot.ini" /T /E /C /G administrators:f
cacls "c:\ntldr" /T /E /C /G administrators:f
cacls "c:\Ntdetect.com" /T /E /C /G administrators:f
copy W2k3.inf %Systemroot%\security\templates
copy hardn2003.sdb %Systemroot%\security\database
secedit /validate %Systemroot%\security\templates\W2k3.inf
%systemroot%\system32\secedit.exe /configure /DB %systemroot%\security\database\hardn2003.sdb /CFG %Systemroot%\security\templates\W2k3.inf /log %systemroot%\security\logs\hardening.log
gpupdate /target:computer /force
gpupdate /target:user /force
cacls "c:\config.sys" /T /E /C /G administrators:f
cacls "c:\autoexec.bat" /T /E /C /G system:f
cacls "c:\boot.ini" /T /E /C /G system:f
cacls "c:\ntldr" /T /E /C /G system:f
cacls "c:\Ntdetect.com" /T /E /C /G system:f
cacls "c:\config.sys" /T /E /C /G system:f
cacls "%systemroot%\system32\cmd.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\cmd.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\arp.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\arp.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\cacls.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\cacls.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\debug.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\debug.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\edit.com" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\edit.com" /t /e /g administrators:f
cacls "%systemroot%\system32\edlin.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\edlin.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\finger.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\finger.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\ftp.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\ftp.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\tftp.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\tftp.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\net.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\net.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\nslookup.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\nslookup.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\regedit.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\regedit.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\regedt32.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\regedt32.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\rexec.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\rexec.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\rsh.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\rsh.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\telnet.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\telnet.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\nbtstat.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\nbtstat.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\netstat.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\netstat.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\net.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\net.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\ping.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\ping.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\regedt32.exe" /t /e /R "everyone"
cacls "%systemroot%\system32\regedt32.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\route.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\route.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\syskey.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\syskey.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\tracert.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\tracert.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\at.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\at.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\pathping.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\pathping.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\runonce.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\runonce.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\runas.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\runas.exe" /t /e /g administrators:f
cacls "%systemroot%\system32\secedit.exe" /t /e /R "everyone" "CREATOR OWNER" "Power Users" "System" "users"
cacls "%systemroot%\system32\secedit.exe" /t /e /g administrators:f
sc config alerter start= disabled
sc config AppMgmt start= disabled
sc config BITS start= disabled
sc config Clipsrv start= disabled
sc config Browser start= disabled
sc config cisvc start= disabled
sc config SharedAccess start= disabled
sc config mnmsrvc start= disabled
sc config fax start= disabled
sc config RemoteRegistry start= disabled
sc config RemoteAccess start= disabled
sc config UPS start= disabled
sc config UtilMan start= disabled
sc config tlntSvr start= disabled
sc config RSVP start= disabled
sc config RasAuto start= disabled
sc config TapiSrv start= disabled
sc config WZCSVC start= disabled
sc config Wmi start= disabled
sc config Messenger start= disabled
sc config PolicyAgent start= disabled
sc config Schedule start= disabled
sc config seclogon start= disabled
sc config ImapiService start= disabled
sc config Dfs start= disabled
sc config PolicyAgent start= disabled
sc config Nla start= disabledI don't believe that this is configurable, and i believe in other versions that you only needed to give list directory access to make it work.
-
"Security Warning" dialog box when click script set to Run at Server
I am rendering a PDF form using the renderForm component. I'm setting the Target URL. I have a script on a button set to "run at server". I can render my form in a browser and fill it out, but when I click the button I get a dialog box with a title of "Security Warning". It says "Acrobat is attempting to connect to [target URL]" with options to Allow or Block. Is this the expected behaviour for server-side execution of scripts?
I'm thinking that maybe I should just use a submit button instead. The problem with that though, is that I don't want to run the mandatory field rules and validation rules. As I understand, you can't submit a form with a submit button unless all the mandatory fields are completed.
Here's the requirement. I need to have two "submit" buttons. One checks all the mandatory field rules before submitting a "final" version of the form. The other button submits a "draft" version without the mandatory checks. I was hoping that the second button could be implemented as a normal command button with a script that executes server-side. Sure enough, it attempted to submit without checking the mandatory fields. Unfortunately I ran into other undesirable side-effects including a distressing "Security Warning" dialog box.
Ideas?
Jared LangdonThis was helpful (stopped the request to execute Thunderbird) . However, The pop up window is now asking what program do you want to use to access the website??? What is the next step??
-
Password entry box when no password set
Hi,
I have problem logging out when i turn the guest account off.
At the minute i have 1 use account (admin) and no guest account. The user account has no password set. When i log out the user account is automatically selected as there only is one and it shows the password entry box. But as there is no password set you have to press back and then click on the username which logs straight in.
Any fix for this? It should be that it logs out...shows the username only...and then when clicked logs straight in.
All input appreciated!If your presented with a password screen just hit enter. This will occur with System updates as well.
Regars -
It takes long time to load the parameter's value when running we run report
Hi,
It takes long time to load the parameter's value when running we run report. What could cause this? How to troubleshoot the behavior of the report? Could I use Profile and what events should i select?
ThanksHi jori5,
Based on my understanding, after changing the parameter, the report render very slow, right?
In Reporting Service, the total time to generate a report include TimeDataRetreval, TimeProcessing and TimeRendering. To analyze which section take much time, we can check the table Executionlog3 in the ReportServer database. For more information, please
refer to this article:
More tips to improve performance of SSRS reports.
In your scenario, since you mention the query spends less time, the delay might happens during report processing and report rendering section. So you should check Executionlog3 to check which section costs most of time, then you can refer to this article
to optimize your report:
Troubleshooting Reports: Report Performance.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu -
Blank Message Box when Saving a report in InfoView
Post Author: Jmusser
CA Forum: Administration
I'm getting a blank message box when I try to save any report from any folder in infoview for users I have setup in the following Group. Has anyone run into this on know what is set wrong in security?
We are running BOXI2. I have setup a custom security group for InfoView Users that grants rights to the following in Home > BusinessObjects Enterprise Applications > InfoView >- all other rights are not specified
Log on to InfoView and view this object in the CMC
Edit this object
Search for simple text
Do an advanced search
Filter object listing by object type
View the favorites folder
View the Inbox
Create categories
Assign categories
Send documents
Create folders
At the top level folder I have permissions granted as
General
Add objects to the folder
Denied
View objects
Granted
Granted
Edit objects
Granted
Granted
Modify the rights users have to objects
Denied
Schedule the document to run
Denied
Delete objects
Denied
Define server groups to process jobs
Denied
Delete instances
Denied
Copy objects to another folder
Granted
Granted
Schedule to destinations
Denied
View document instances
Granted
Granted
Pause and Resume document instances
Denied
Securely modify rights users have to objects.
Denied
Reschedule instances
Denied
Schedule on behalf of other users
Denied
Allow discussion threads
Granted
Granted
View objects that the user owns
Granted
Granted
Edit objects that the user owns
Granted
Granted
Modify the rights users have to objects that the user owns
Denied
Delete objects that the user owns
Granted
Granted
Delete instances that the user owns
Granted
Granted
View document instances that the user owns
Granted
Granted
Pause and Resume document instances that the user owns
Granted
Granted
Securely modify rights users have to objects that the user owns.
Denied
Reschedule instances that the user owns
Denied
Desktop Intelligence
Refresh the report's data
Granted
Granted
Refresh List of Values
Granted
Granted
Use Lists of Values
Granted
Granted
View SQL
Denied
Export the report's data
Granted
Granted
Download files associated with the object
Granted
Granted
Desktop Intelligence Add in
Download files associated with the object
Granted
Granted
Desktop Intelligence Template
Download files associated with the object
Granted
Granted
Report
Print the report's data
Granted
Granted
Refresh the report's data
Granted
Granted
Export the report's data
Granted
Granted
Download files associated with the report
Granted
Granted
Web Intelligence Document
Refresh the report's data
Granted
Granted
Edit Query
Denied
Refresh List of Values
Granted
Granted
Use Lists of Values
Granted
Granted
View SQL
Denied
Export the report's data
Granted
Granted
Download files associated with the object
Granted
GrantedTry This..
1. Open the crystal client on your local machine and import that particular report.
2. Do Database -> Verify Database. Then refresh the report on your PC and make sure that it returns data as expected.
3. Export it back to repository and try scheduling it again. You can verify through CMC for Crystal Reports under " Database Configuration" property to make sure it points to the right ODBC.
Let us know. -
Load Report failed when opening Report under IIS 5.1
I recently upgraded to Crystal Reports 2008 (12) from Crystal Reports Basic 2008 (10.5). I am using Visual Studio 2008 with the CrystalReportViewer. Now when I run my reports from the website under IIS 5.1 (Windows XP SP3), I get a Load Report Failed. The detailed exception follow:
Error loading report (ConfigureCrystalReports)
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x800001F5): The Report Application Server failed at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() --- End of inner exception stack trace --- at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) at ncspo.ReportViewer.ConfigureCrystalReports() in D:\Websites\NCSPO\FIS\ReportViewer.aspx.vb:line 43
If I run the report using the ASP.Net Development Server, the reports run fine. It only fails under IIS. From other posts, I understand that i need to grant the Network Service and IIS_WPG group read/write permissions to the windows\temp folder. I have done this for the Network Service, but the IIS_WPG group was not introduced until IIS 6.0. Any ideas on how I can get this working under IIS 5.1?
Here is the code behind page:
Private Sub ConfigureCrystalReports()
Try
rpt = New ReportDocument
Dim strReportFilename As String
If Len(Request.QueryString("ReportFilename")) > 0 Then
strReportFilename = Request.QueryString("ReportFilename")
Else
strReportFilename = System.Configuration.ConfigurationManager.AppSettings("cr404Page")
End If
Dim strReportPath As String = System.Configuration.ConfigurationManager.AppSettings("ReportPath")
Dim strReportFilePath As String = strReportPath & strReportFilename
Dim strReportFilePath_Full As String = Server.MapPath(strReportFilePath)
rpt.Load(strReportFilePath_Full) <--- Exception occurs on this line
Catch ex As Exception
lblStatus.Text = "Error loading report (ConfigureCrystalReports)"
lblStatus.Text &= "<BR>" & ex.ToString()
ncspo.clsMisc.LogError(ex, Me)
End Try
End SubAm I correct in reading the following 2 documents that IIS 5.1 is not supported?
If you check this document. It shows IIS6 and 7 no support on 5. See page 6
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f05523e4-35c4-2b10-2c89-9fcf64b0dd22]
This document also on page 5
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a87366-da1d-2b10-e1b4-a37ab37a2dea]
Thanks. -
How can I add the progress loading box when I load a module?
Hi everyone, how can I add the progress loading box when I
load a
module? Is it an automated thing with flex or must I code it?
Thanks.
:)try using javascript onclick attribute:
onclick="document.form.name.disabled=false"
m -
I'll ask this again. I'm running Yosemite, LR 4.4 everything was running fine and I'm not sure if this is connected but when I loaded the last security update from Apple I started getting the "no content" box when I tried to publish to Flickr (Facebook OK), now I can't get it to authorize, I loaded 3rd party JR plug in and still get can't authorize. Can anybody help? Basically LR is useless, it has been nothing but problems.
It would probably be better to continue your previous thread on the same question than to start a new one.
-
Currency symbol not shown when loaded report using JRC
I'm trying to show the currency symbol in the report file. the .rpt files is already designed with MS Access table but now im reusing the report and populating pojo classes to map with tables. the report that is bound with MS Access table shows currency symbol in currency fields. but when I load report with JRC, it is not showing. I tried to change Fieldformat also programattically as below.
ReportObjectController reportObjectController = report.getReportDefController().getReportObjectController();
ReportObjects reportObjects = reportObjectController.getReportObjectsByKind(ReportObjectKind.field);
if (reportObjects != null && !reportObjects.isEmpty())
for (int i = 0; i < reportObjects.size(); i++)
IReportObject reportObject = reportObjects.getReportObject(i);
if (reportObject instanceof IFieldObject)
IFieldObject fieldObject = (IFieldObject) reportObject;
IFieldFormat ifFormat = fieldObject.getFieldFormat();
ifFormatObject = (IFieldFormat) ifFormat.clone(true);
break;
for (int count = 0; count < tables.size(); count++)
// Set data source for each table
setDataSourceForEachTable(tables.getTable(count).getAlias());
reportObjectController = report.getReportDefController().getReportObjectController();
reportObjects = reportObjectController.getReportObjectsByKind(ReportObjectKind.field);
if (reportObjects != null && !reportObjects.isEmpty())
for (int i = 0; i < reportObjects.size(); i++)
IReportObject reportObject = reportObjects.getReportObject(i);
if (reportObject instanceof IFieldObject)
IFieldObject fieldObject = (IFieldObject) reportObject;
if (fieldObject.getFieldFormat().getNumericFormat() != null)
fieldObject.setFieldFormat(ifFormatObject);
//fieldObject.setFieldValueType(FieldValueType.currencyField);
break;Above code just get one of the currency field and clones the format. And after setting the pojo datasource, I'm again setting the cloned format to that particular field. But still Im not getting currency symbol in the reports that are loaded via JRC. even I set locale before opening the report. but that also not helping.
report.setLocale(Locale.UK);
report.open(reportName, 0);
Please guide me, If I'm wrong in this. -
Report Designer - Error when Loading Report
Hi,
We have created a report in Report Designer (7.0) and saved it. When we execute it runs fine. After closing the report and trying to reopen it, the report does not open. It gives an error "Error when Loading Report". Our BI frontend patch is 14.
Did anyone encounter this issue and is there a solution to this.
Thanks
HemantHello,
Please go to SE38 -> RS_REPORT_MAINTAIN,
Type your report name, and DT als "Report Type".
Goto edit mode, copy&paste this XML into txt file and send it to me ([email protected]). I will check whats going on with this report. Loading should be always possible.
Regards, Karol Kalisz, BI Development -
Error when many connection load report
Today i deploy website report, i use crystal report 13 for vs 2010 to show report and use crystarl report 9 to design report (about 5 file report).
Report load follow this process:
1/ Execute Store Procedure in Oracle, return a dataset
2/ Load crystal report designed with data source is dataset
3/ Export file crystal report after load datasource to rpt file (correlative with each user)
4/ When user want to view report, crystal report viewer will load rpt file to show.
In one minute have about 3-5 file report are loaded. After a few minute, my website raise this error at step 2:
Load report fail.
System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack at
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
I have to restart iis to website run normal. But after a few minute this error still raise ???????????
Now I add option OpenReportByTempCopy in ReprotDoctument.Load funtion, but to Monday i can know this option can solve my problem. Who have idea help me solve this problem? Thanks for read.
Edited by: phatnguyen81 on Jan 22, 2011 4:35 PMRe. Who can help me???
- Not too many people will be around on the weekend to help you out...
Re. the error on your app.
- Make sure you close and dispose the report object as you get done with it. And consider doing the same with your dataset(s).
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Environment:
Win 7 SP 1
Visual Studio Pro 2012 Update 4
Crystal Reports for Visual Studios Service Pack 10 (13.0.10.1385)
Report created in Crystal Reports XI Release 2 (11.5.8.826)
Targeting x86 .NET 4.0
Scenario:
We have a program that runs and creates a large number of reports before the process is ended. When running after many hours we'd get a Load report failed/Not enough memory of operation exception. I kept removing code and found i could reproduce just using the report.Load call. I simplified the report to a completely blank report to make sure it was nothing specific to a report I was loading. (Opened Crystal Reports XI Release 2, Save As, "Blank.rpt".). I then created, loaded, and disposed of this report in a loop. I was able to cause the same exception after 32,764 iterations on my machine. I also tried using .NET 3.5 same result. I added a counter to our main program and it also went through 32,764 report loads before the same exception was thrown. Main program uses 15 or so different reports with a variable number of subreports in each.
Sample Code to illustrate the problem:
I did this as a WinForms project since our main program is using winforms.
References added:
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Windows.Forms
using System;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;
namespace CrystalTest
public partial class Form1 : Form
public Form1()
InitializeComponent();
int i = 0;
try
while (true)
i++;
ReportDocument report = new ReportDocument();
report.Load("Blank.rpt");
report.Close();
report.Dispose();
catch(Exception ex)
MessageBox.Show(i.ToString() + ex.Message);
Exception:
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80041004):
Not enough memory for operation.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at CrystalTest.Form1..ctor() in c:\Test Projects\CrystalTest\CrystalTest\Form1.cs:line 27int = Int32. No it's not the "counter" that's causing the problem. The max size of an int32 is far far larger than 32764.
I am disposing and cleaning up the datasets in the main app. That is why I didn't include them in this test; they aren't relevant.
I'm unsure why this test program is completely irrelevant. It throws the same exception, at the same count, as the main program. It does it in substantially less lines of code than our main program. I spent days running long tests to figure out exactly what I needed to make the problem appear so I could post a clean and precise post on these forums. I then created the test program to illustrate that.
The "real" code as I said does stuff in sections and in a certain order.
For each report I need to export based on rows in a table
1. Creates a new Report Document
2. Loads the report document with the report
3. Creates a dataset of the data to display
4. Calls SetDataSource
5. Calls Report.ExportToDisk
6. Disposes DataSets
7. Closes/Disposes Reports
To help isolate the problem I first took out the export to disk part (Step 5). The problem still occurred. I then took out everything related to our data. (Step 3, Step 4, Step 6). The problem still occurred. And yes I commented out this code in our main real program. This left me with:
1. Creates a new Report Document
2. Loads the report document with the report
7. Closes/Disposes Reports
At this point i had to prove it was not dependent on the report. This makes sure it's not a database connection, or pulling too much data into the report. The most efficient test for this is a blank report.
So my order of operations becomes...
1. Creates a new Report Document
2. Loads the report document with a blank report
7. Closes/Disposes Reports
So you'll see this is exactly why I wrote this test the way that I did.
I've had a run where it error on iteration 32761. My last runs have errored on 32764. I have had many runs over many weeks that all error with the same exception.
There are no temp files left behind, With a test running you can see the temp files being added but they are immediately removed. -
after deleting i tunes because of an error when updating, i cannot install 10.6 on my win vista laptop. when i select download, it loads for 3 secs then displays... thankyou for downloading but nothing has happened
Try downloading it with another browser.
If that doesn't work, try following along with this Apple article -> iTunes: Downloading iTunes for Windows using Internet Explorer -
Load Report fail when use impersonate="true" in dotnet config
We have VS2005 and use Crystal 11.5. Our crystal report runs fine. When we set <identity impersonate="true" userName=".\user id" password="user password" />
in our Web.Config file, the report show error "Load report fail".
Could someone tells me why?
Thanks
TonyHi Tony,
Please check you are using impersonation in same way
following line below under the <system.web > tag , as illustrated below
<system.web>
<identity impersonate="true"/>
<authtorization>
<allow users="?"/><authtorization/>
This may be permission issue. Domain users need access to "C\Windows\Temp directory" and to the report directory try with giving permission .
Hope this helps!!
Regards,
Shweta
Maybe you are looking for
-
HT201322 Is it possible to buy a TV box set on iTunes but only download one season at a time
I cannot afford to use up all the space it would take to download four seasons of a tv box set. Is there a way I can purchase the box set but only store locally one season at a time?
-
How to give different value to a static variable???
Hi all: Is there any solution to set different values to a static variable???I had try two ways but all have errors! 1.Way_1 protected String tmp=null; protected void initSituation(int sayorpress) if (sayorpress==0) tmp = "string1"; else if (sayorpre
-
Account not credited after payment
My Skype name is Soxmum, Julia Thomas. I made an EFT payment on the 9th March and my account has still not been credited, usually it's credited very quickly. My order no. [removed for privacy] Payment ref no. xxxxxxxxxxxxxxx I can email you proof is
-
Using JDev 10.1.2.1.0 (Build 1913) on XP. When I view the Property Inspector, it's empty. Not just the values, but the entire window. The name of the selected object is in the title bar, and the 7 icons are present, but there is no information in the
-
ORA-29786: SIHA attribute GET failed with error [Attribute 'ASM_DISKSTRING'
Hi, I un-register below services to configure them with solaris SMF (I know oracle won't support SMF yet). they are running quite good, but only issue we are facing was RBAL create error logs in trace file. /u01/grid/oracle/product/11.2.0/asm_1/bin/c