Hi Expert , crystal report export problem. system not responding
Hi,
crystal report export problem. system not responding.
Thanks
Rajkumar Gupta
Dear Raj,
Please try this
Try
Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rptDoc.Load(rptPath)
rptView.ShowExportButton = True
rptView.ReportSource = rptDoc
For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
oSubReport = rptObject
rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
End If
Next
Next
'Setting Paper
Dim rawKind As Integer = 0
Dim printSet As New System.Drawing.Printing.PrinterSettings
For i As Integer = 0 To printSet.PaperSizes.Count - 1
If printSet.PaperSizes.Item(i).PaperName.ToUpper = PaperName.ToUpper Then
rawKind = CInt(printSet.PaperSizes.Item(i).RawKind)
Exit For
End If
Next
Dim MyTest As New SaveFileDialog
rptDoc.PrintOptions.PaperSize = CType(rawKind, CrystalDecisions.Shared.PaperSize)
rptDoc.ExportToStream(ExportFormatType.Excel)
'rptDoc.SaveAs("C:\TBKING.xls", True)
'''How to export the report
Try
Dim CrExportOptions As ExportOptions
Dim CrDiskFileDestinationOptions As New _
DiskFileDestinationOptions()
Dim rename As String
rename = rptName.Replace(".rpt", "")
Dim CrFormatTypeOptions As New ExcelFormatOptions
CrDiskFileDestinationOptions.DiskFileName = _
"c:\Report\" & rename & "_Export_File.xls"
CrExportOptions = rptDoc.ExportOptions
With CrExportOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.Excel
.DestinationOptions = CrDiskFileDestinationOptions
.FormatOptions = CrFormatTypeOptions
End With
rptDoc.Export()
Catch ex As Exception
MsgBox(ex.ToString)
End Try
'' end by kevin shah
rptView.Show()
rptView.ShowExportButton = True
Dim oFrm As New System.Windows.Forms.Form
rptView.DisplayGroupTree = True
rptView.Dock = System.Windows.Forms.DockStyle.Fill
rptView.Location = New System.Drawing.Point(0, 0)
oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
oFrm.Controls.Add(rptView)
oFrm.Name = "Report Viewer"
oFrm.Text = "Report Viewer11"
oFrm.ResumeLayout(True)
oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
oFrm.TopMost = True
oFrm.ShowDialog()
Catch ex As Exception
objMain.objApplication.MessageBox(ex.Message)
End Try
By pressing this button XLS file be generated on C:\report\
Hope this will resolved the issue
Thanks
Kevin
Similar Messages
-
Hi,
I have an add-on that could be use to print a few reports.
I created a SAP Form with UI API that contains parameters then I have a Windows Forms with the CrystalReportViewer. My problem is that,standard export function of the Viewer did not work. I receive a message about a Single Thread Appartment.
I think that this problem come out beacause the add-on is not a standard WinForm Application.
Have you any Idea to solve this problem?
Ciao
IgorHi Edward,
thanks for your fast answer but I can not understand how this pice of code works....
System.Windows.Forms.Form crystal = new CrystalReportViewer();
System.Windows.Forms.Form cr = new System.Windows.Forms.Form();
First line did not work because i can not cast from Windows.Forms.Form to CrystalreportViewer.... Second line
is never used in the sample...
My problem, is not how to display a form with the ReportViewer... this work fine... the problem i that i can not use the export function that is itegrated into the ReportViewer.. Any other idea???
Igor -
Crystal Report - Export; The system cannot find the path specified
We are trying to export a reports using the crystal report sdk either export to disk or export to stream. While doing the export
we are getting the following error
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export(ExportOptions options)
Any help would be appreciated muchTry searching and you'll find lots of info on this subject. Look for most recent posts.
Error suggests you are exporting to a folder that does not exist or you do not have permission to write to.
Don -
Crystal Report Export & Printing Error in Windows 7 (SAP B18.81 PL09)
Dear Experts,
I have installed B1 Client on windows 7 pro every thing working fine but when exporting or printing crystal report B1 goes on not responding. These crystal reports are part of Add on.
In Standard B1, exporting of Crystal Report is done successfully but when printing this report B1 crash. Facing this issue on all machines including server.
Have any one idea regarding this issue.
Regards
Rahil HassanHi Nitin,
For better advice please post you report related query to the Reporting Forum.
[Reporting and Printing;
Regards,
Rakesh N -
Crystal Reports export and print fails with SSL / https but works with http
Windows 2008 Server, 32-bit (IIS7)
ASP.NET 2.0
Ajax 1.0
Crystal Reports version 10.5.3700.0
http: printing works, export works
https: printing not working, only export to MS Excel and MS Word work.
I am able to generate reports using both http and https, and the toolbar icons are all showing. However, I am unable to print or export properly with SSL.
Printing prompts me with a select printer window, and then a window 'Retrieving Page 1' follow by two messages from Crystal Print Control both stating:
A communication error occured. Printing will be stopped.
Exporting generates various errors depending on which export method is being selected (however Excel and Word work over https).
I've found the same problem on this site and other forums, but never a resolution to get exporting and printing to work with SSL. Will someone please provide me assistance or possibly relay what settings they're using if they have Crystal Reports export or printing working over SSL in IIS7? Everything works fine when I change the address from https to http.
Please let me know if I can help by providing further information. We've gone through a great deal of possible solutions with code and I'm currently looking in to IIS settings again.
Thank you.Thanks Ludek. I got it by searching KB number.
Unfortunately, it didn’t fix my problem even my IE (IE8 and IE 9) has correct setting. I double check my version. PrintControl.CAB is version 10.2.0.1146. we use VS 2005 Crystal report and VB .NET. It works fine on HTTP. But when we use HTTPS (SSL Certificate from go daddy).
1: Crystal report export
Export to MS Excel, Word: pop us “File download”, then click “Save”. It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
Export to RPt, Rich text format: It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
Export to PDF : nothing happened.
2: Print:
Pop up dialog to select printer, click “Print” “. Shows windows “Crystal Report Viewer” and pop us error message box. Title is “Crystal Print Control”. Message is “An communication error occurred. Printing will be stopped”. Click “OK” and pop up error message box again.
Please advise.
Thank you very much! -
Add web element in Crystal report for SAP system
Hi all,
I have added web element in Crystal report for SAP system (BI or R/3) . But it does not show the control. It shows only scipt.It does not render the HTML.
But if I add the webelement for Excel sheet ,It shows the control.
How can I add web element for SAP System? Can't we use web controls in SAP system ?
Help me in this regard.Hi All,
i have the same issue on crystal report add-ins. Have you able to solve this without upgrading our sap business one to the latest version or patch level? Please see details below.
OS: MS Windows 7 SP1
SAP Business One 8.82 pl7
Crystal report 2011
Crystal report integration package installed under B1_SHare/Client
But still the problem persist on the workstation.
Please help me solve this problem.
Thank you,
ana -
Crystal Reports 2008 - dynamic parameters not returing all data
I am having the same issue with Crystal Reports 2008. Only returning 135 customers in a dynamic paramaters when the list should be 3288.
When I re-create the parameter by using a command instead of relying on Crystal to return the data from the db table Crystal returns only 5"pages" of customers to select from.
I have tried to run the report with this reduced selection & it then crashes.
Any ideas??This article may help you to increase the number of values in the parameter
KBase Article ID:c2017238
Article refers to: Crystal Reports XI BusinessObjects Enterprise XI
Symptom
For performance reasons, in Crystal Reports XI Release 1 and Release 2 the maximum number of values that are returned for a list of values is set to 1000. If you have a cascading List of Values (for example Country > Region > City), the lowest level (in this case City) will only display a maximum of 1000 values. This means that the higher-level prompts may display far fewer values than you expect. The list of values provides the data for the dynamic parameter list.
How can you modify the maximum number of values available in a dynamic parameter list?
Resolution
To increase the maximum number of values available in a dynamic parameter list, you must add a registry key.
CAUTION The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. For information on how to edit the registry key, view the 'Changing Keys and Values' online Help topic in the Registry Editor (Regedit.exe).
It is strongly recommended that you make a backup copy of the registry files (System.dat and User.dat on Win9x computers) before you edit the registry.
Crystal Reports XI Release 1
1. Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV.
NOTE Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV key.
2. Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter. NOTE: The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
NOTE The higher the number of values is, the longer it will take the Enter Values dialog box to populate with values.
3. After making changes to the registry, restart the affected service or application as required.
Crystal Reports XI Release 2
1. Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV.
NOTE Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV key.
2. Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter.
NOTE The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
3. After making changes to the registry, restart the affected service or application as required.
Regards,
Raghavendra -
How to show Crystal Reports in BW system to Business Object XI R3 Portal
Hi All
I have some Crystal Reports in BW system and want to call them on Business Object XI R3 Portal.
Lets say that there are x number of reports in the system.
I need to show them on BO Portal by passing some parameters.
I am not able to start that how I can show them.
I followed one tutorial on Cystal Report for Eclipse and I was able to make a Crysral Report for Web Application.That was deployed successfully. I got one URL to run that.
But now if I want to add this link in my existing BO Portal how can I do that.
Can anyone help me in that, that how to proceed.
Thanks & regardsWe don't allow customizing our pages. Any patches installed will over write any changes you do. Create your own user interface.
-
After install Crystal Report Server 2011, can not access control tools
Afte install Crystal Report Server 2011, can not access control tools from web or from application.
My server OS is Windows 2008 R2 SP1. I follow the default setting. How to fix it?
Error message is above.Is Tomcat started? On your Start menu you should have an option to get to "Tomcat Configuration" or, under the CRS menu you can run the "Central Configuration Manager" to start Tomcat.
What URL are you using to connect to the web app? By default Tomcat runs on port 8080 so your URL should look something like this: "http://<servername>:8080/BOE/CMC" or "http://<servername>:8080/BOE/BI".
If Tomcat is running and you're trying to access it from another computer, check to see if the Windows Firewall is turned on for the server - if it is, turn it off for "Domain" access.
If Tomcat won't start, go to the folder where Tomcat is installed and then look in the "logs" folder. There should be a file called "stderr.log" which you can open in Notepad to see what types of errors might be occurring (you can ignore any errors having to do with "persisted sessions".) If there are other errors, post in the BI Platform space to get assistance.
-Dell -
After install Crystal Report Server 2011, can not access control tool
After install Crystal Report Server 2011, can not access cntrol tool from web or from application. My server OS is Windows 2008 R2 SP1. I follow the fedault setting. How to fix it?
Error message:Seems like webapps are corrupted, Just redeploy the webapps.
refer the below thread to do the same.
http://scn.sap.com/thread/3400477 -
Crystal Report in InfoView is not displaying the parameter
Cheers All,
We have a Crystal Report which is connected to the BEx query. We also have parameters based on variables in BEx.
When we run the report directly from Crystal, everything is fine.
However, when we run the report from InfoView, when I click on the "..." button beside the parameter to make the selection, everything hangs up.
This (static) parameter is based on a variable which is based on a compounded characteristic 0ASSET_AFAB.
The compunding keys are :1) Company code 2) Asset 3) Sub-asset.
The user is providing the Company code in another parameter, but the user is not providing the Asset, nor the asset sub-number... so all the iterations of asset/sub-asset/depreciation area are displayed - and this works at BEx level, and it works when the report is run directly from the Crystal Reports, however this does not work when the report is run from the InfoView.
What would be the best course of action?
Regards,
DmitriyHi Rajiv,
In OIM 9.1 we are using the stored procedure to get the values for all the fields.In the stored procedure we are using the cursor to store the list of values but in the BI Publisher we are using the SQL queries to retrieve the values for the fields in the report. In sql queries we are unable to handle the list of values for the fileds like User Groups and Resources provisioned/deprovisioned.
Please let me know the process even if we can get list of values for the fields using the SQL queries. -
Integrate Crystal Reports 2008 in Lotus Notes 8.x
We allready use Crystal Reports 2008 with Lotus Notes 8.x trough NotesSQL 8.5. This works fine.
Now we want integrate Crystal Reports 2008 directly in Lotus Notes 8.x. so that the user can start reports directly from his Lotus Notes Application. Of course, data has to be retrieved in realtime (not with data stored in the report) and he should be able to pass parameters from a lotus notes form.
All informations we found are quit old (Crystal Reports 8.5 and Lotus Notes R5). Does anyone has an idea how to start and where to find new documentations? Is there maybe even a sample application availabl?
Any help is welcome!Hello Alain, I have the same troubles. I have some databases with Crystal Reports 9. But no solution for Crystal Report 2008.
Which dll's are needed? -
Crystal Report XI developer kit not running after install
Hi, I am new in Crystal Report. We just purchased Crystal Report XI developer kit, and I installed it on a windows 2003 server with sp II. But when I go to program file-> BusinessObjects XI->Crystal Reports->Crystal Reports XI to try to launch Crystal Report, nothing show up, not even an error message. I did unistall and reinstall the software again once, but still the same. On the server, there is .NET framework 2.0.
Anybody please help how to make Crystal Report XI up running.
Thanks,
QiaomeiLudek,
I am quite confused too. I could not find about | help anywhere related to Cyrstal Report. I wish I could attach an image to show you if I can. Here is what it looks like if I go to programs
from start->programs ->
BusinessObjects XI -> Crystal Reports----
>Crystal Reports for .Net Samples
Crystal Reports XI -
Business Objects License Manager -
Crystal Reports XI
Registration Wizard
Report Designer Component Samples
If I go to Business Objects License Manager, the first line of the window is
Product: Crystal Reports Developer
I am not sure if this can help you understand what I have.
Thanks.
Edited by: fqmchy on Mar 30, 2009 7:19 PM
Edited by: fqmchy on Mar 30, 2009 7:20 PM -
Lightroom 3.2 Windows 7 64 bit 4 core 8gRam
This 'not responding' is becoming habitual recently.
Initially, I thought it was me clicking into the dialog box too quickly for the purpose of entering a custom text to the file name. Now I keep the cursor down in the task bar and watch the export box flicker the signal 'not responding' on and off.
An image will leave normally as an EDIT IN from the Develop section but the Export in the Library mode has developed a problem.
The program has been quite steady since the update to 3.2 but the export dialog has become progressively worse. It is an export to another internal hard drive but the successive images are going to the same folder on that drive.
The database is optomized weekly.
Is there a maintenance routine to assist this 'ill export box' ?
RoseSorry I must have misinterpreted the e-mail addon note. I thought I was replying to this whole group
I responded with
1. Yes, there would be several files in the temp directory The Mogrify plug-in creates a running list. If I am exporting a tif that will become a jpg then there is contents in the recycle bin as that tif is deleted.
I can close Lightroom, restart and the first image exports without pause. The second image starts the 'jitter'' or flashing of the export box between 'not responding to responding' If I am quick enough when its in the ON position I can close the export box.
#2. There are very few files in the subfolder. Unless this feature of many files applies to a main folder with several subfolders, otherwise contents range from 0 to 20 at maximum in this subfolder structure.
This is an NTFS system
I tried this morning with a tif and only export sharpening applied + open in an external software. It flickered slightly but proceeded. Of course, I went on to try a 2nd and 3rd while 4 other applications were sitting in the Windows 7 taskbar and with a slight pause where the info box flashes and produces a black box. The export box appeared and didn't falter, wouldn't you know? Maybe its a late night thing <LOL!>
#3 currently responding
I have emptied the temp file and the recycle bin through this day and could do that while Lightroom was open using CCleaner.
There hasn't been the long delay so it might just be the temp file collection produced by the Mogrify plug-in.
There is a slight flickering but there isn't a LONG time before I'm able to type the custom text entry.
Thanks for your input. If it is a simple thing like minding the temp files I can insert that into the routine.
Rose -
I have Yoga 8. I was simply playing this game from Google Play, Fun Run when the battery died due to low power and then when i charged the tab and started it, it has been giving me the error "Sorry: Process System Not Responding". The tab keeps restarting and it locked so i can't even log in to update the app anyone and the wifi isn't working either.
Can anyone help? ThanksHi mmoorthy,
Welcome to the Sony Community!
Please try to clear the cache of the Chrome. Here are the steps.
IMPORTANT: A Google Chrome browser window should already be open to complete this procedure.
On the keypad remote control, press the button.
In the Options menu, select Settings.
Press the ENTER button.
In the Browser Settings menu, under Privacy & Safety, select Clear saved browsing data.
NOTE: The Clear saved browsing data option will clear the history, cache and cookies. If you do not want to do all 3, you can instead select each one individually. They are located just below the Clear saved browsing data option on the menu.
After you have selected the desired option, press the ENTER button.
Then repeat the steps provided by SonyFanGirl.
If my post answers your question, please mark it as "Accept as Solution"
Maybe you are looking for
-
Taking MacBook from US to Australia, power source question
I am taking my US purchased MacBook to Australia. Is it safe to plug the computer into the 240volt 50 cycle electrical outlets there(with plug adapter) or do I need to connect through a voltage converter?
-
I connected a couple of home video clips from my iPhone in iMovie and then uploaded it to YouTube so that I could share the link with family. When the upload is complete, the video says that it is no in iPhone format and cannot be viewed? Whats up wi
-
How do I add applications to the startup items?
I see a folder under system:startupitems, but I cannot modify it.
-
Problem with Offline Files with Cisco NSS322 (firmware 1.3)
Hi We've recently bought a new NSS322 NAS box to replace an ageing Windows SBS 2003 file server. We've upgraded the firmware to 1.3, and begun moving files across from the Windows server to the new NAS box. However, we're having a problem with Offlin
-
Developers, The Oracle XML Portal needs your help!
The Oracle XML Portal (www.webspedite.com/oracle) is in need of helpful content. I have managed it for over a year now and can't possibly keep up with all the new XDK features coming out. This site has helped over 5,000 developers. I know because I c