Crystal Report Not giving output
GoodMorning Gurus!!!
I created a crystal report in XI R2 based on a Multiprovider. Though the Multiprovider is active and the DSO has the Data correctly activated, the crystal report is not giving the output.
Could someone please tell the reasons...also i have checked the server connections as well..they are right.
Please give me the options to chk some more criterias.
Thanks & Regards
Jiten
not answered
Similar Messages
-
Report not giving Output correctly
hi all
The problem is about Pending invoice report. But this report is not giving output correctly.
Plz help me to solve the problem.
Thanks
SubhasishHi Mishra,
Invoice output is coming correctly- assuming you have calculation error then check the print program assigned to your invoice output condition type. It must be having some logic error.
If the issue is with improper formatting then check the layout assigned to your invoice output conditon. You can check both the program and layout assingment to ouput condition at NACE transaction.
This is regular task which abapers can do with ease. so please take their help. They can just do a simple debug to understand the issue.
regards
sadhu kishore -
Hi,
We have a BW report which was published in WEB. It is based on one infoset.
The variable screen has date entry in range.
when i give one date in the variable screen , iam getting the output.
But if i give a range , then , the query runs but the webpage after one hour shows " Cannot find server"
But the workprocess for that particular query runs on and on.
Is there is any way to increase the webpage life , any suggestions to overcome this is welcome
PVCHi,
Data is there in the underlying objects of the infosets.
If i give single value in the variable screen , iam getting the report.
But if i give a range , the report runs on and on withouit giving any output.
Is there a way to increase the waiting time of the webpage.
PVC -
Dear All,
I have created a new report and registered in con.curr.program with output format as 'XML'. After running the report with a parameter, the output is showing the value as '0'.
But if i run the same report through Oracle Report Builder for the same parameter, it is giving the value.
Please suggest me in this.
Thanks in Advance
Rgds,
Bopty
Edited by: Bopty on Feb 14, 2012 11:00 AM
Edited by: Bopty on Feb 14, 2012 11:06 AMBopty wrote:
Dear All,
I have created a new report and registered in con.curr.program with output format as 'XML'. After running the report with a parameter, the output is showing the value as '0'.
But if i run the same report through Oracle Report Builder for the same parameter, it is giving the value.
When you run report through report builder with parameter and works fine.. then problem is in parameter passing at mail calling report. check it.
Hope this will help you -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
Display more pictures in crystal report not work why
Hi guys i try to show picture of specified employee from network path in crystal report it work
but i don't know how to show all pictures to all employees in crystal report
Can any one help me to customize my code to accept show all employee pictures
i try to make this from crystal report and assign path but version of crystal report not allow to me
to put path
my code below show picture to one employee from text box control from network path
I need to customize this code to accept show more one pictures of employees from employee table
the following fields i show in report
EmployeeNo integer
EmployeeName nvarchar(50)
Image datatype image
btnemployeeno_click
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoR", con);
cmd.CommandType = CommandType.StoredProcedure; // Viewxxx doesn't seem a good name for a sp
cmd.Parameters.Add("@EmployeeNo", SqlDbType.NVarChar, 20);
cmd.Parameters["@EmployeeNo"].Value = textBox1.Text;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
string path = Path.Combine("\\\\192.168.1.105\\Personal Pictures", textBox1.Text) + ".jpg";
FileStream fs=null;
if (File.Exists(path))
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + textBox1.Text + ".jpg", FileMode.Open);
else
MessageBox.Show("Please File Not Exist");
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
foreach (DataRow dr in dt.Rows)
dr["Image"] = imgbyte;
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();Hi,
Put an image field in your report, then change the image’s Graphic Location:
right click the image, select Format Graphic, select Picture tab, click the conditional-formula button that look like a x2 and set the formula’s text to
the name of the formula or parameter field that will contain the image’s URL.
Save the formula and click the OK button. Save the report and test it.
Be carefull with the size of the image field. If this size is not equal to the image itself it could get resized.
Good Tutorial
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
After i install Visual-Studio 2013 crystal-report not working
hi
after i install Visual-Studio 2013 crystal-report not working on my Visual-Studio 2010 projects
when i try to open crystal-report i see this:Hi E_gold,
Crystal Reports forum may be a better place for you.
Thanks for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Inventory reports are not giving output while executing in rsrt
Hi,
I am running inventory reports in RSRT. But for every report when i run, a debugger comes and its not showing any output. And the break-point in it is a standard one. so atleast standard reports must execute, but they are not giving me any output.
Please tell me what can i do to resolve the error.
RomaHi Roma,
Just press F8 key and keep executing report .
Usually Bex Show this when either there is some problem with Report or Some variables you have used in query or you have not sufficient memory .
Run the report and you will definately get some ides.
key F6 to go to next line of execution
key F8 to go to next breakpoint .
Regards,
Jaya Tiwari -
Crystal report not working on a client pc
Hi Everyone,
I have developed windows application in vb 2012 which will bind data from ms access in crystal report. My windows application is running fine on local machine where i installed vs2012 but when i create a setup an installed it on the local machine it is giving
this error
'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine error
and when i install on a client machine it is giving me the following error,
System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw
an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the
file specified.
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
Anyone faced same error ?? Please suggest.Also for 3rd party software usually contacting the vendor for assistance is recommended. Especially since Crystal Reports are not supported by Microsoft. The search engine or appropriate forum at the below link should be able to assist you.
SAP Crystal Reports, version for Visual Studio
Please BEWARE that I have NO EXPERIENCE and NO EXPERTISE and probably onset of DEMENTIA which may affect my answers! Also, I've been told by an expert, that when you post an image it clutters up the thread and mysteriously, over time, the link to the image
will somehow become "unstable" or something to that effect. :) I can only surmise that is due to Global Warming of the threads. -
Crystal Report not taking parameter propery
Hi,
I am facing a unique issue in reports.The report is not taking the parameter entered by the user instead it is taking the value which was used for testing the report initially.
Save data with report in uncheked.
The report is shwing correct data on CMS and with designer also.
The problem arises when report is viewed java based web application.
I am usng Crystal Reports XI and Business Objects 12 CMS.
Regards,
Misra P.Hi,
what does single time mean? Only the first time when you start the report from your code and the second time it is like before? You may need to empty the report's parameters before giving new ones... If I could see the relevant part of your code, I could give a hint. There are also lots of samples hwo to paramterize a report from java code, which usually work fine...
There is also an option in the crystal reports designer to keep parameter values as they were set in the CMC when saving a report to BOE...
Regards,
Harald -
Crystal report PLD giving dump error during preview
Hi,
I have developed a Crystal report PLD for A/R Credit Memo (RIN1). It is working perfectly while running from Crystal report interface. After importing the same from Report and Layout Manager in SAP, while trying to view the preview it is giving dump error. Can anyone help me out in this regards.
Thanks in advance.Hi,
Check SAP note:
1562837 - Previewing/printing some Crystal Reports layouts crashes
B1
Thanks & Regards,
Nagarajan -
Crystal Report not works in JAR File
I'm using Eclipse All in one, which includes Crystal Reports.. I Connected my Java program with Crystal Reports and its working properly. Now my problem is that the Report is not working in JAR files.. It throws some exception as
"com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects
com.businessobjects.reports.sdk.JRCCommunicationAdapter---- Error code:-2147215357 Error code name:internal"
Whats the Error.. I don't know. I think that i may missed some CLASSPATH Files. The included CLASSPATH Files are:
ReportViewer.jar
jrcerom.jar
Concurrent.jar
CrystalCharting.jar
CrystalCommon.jar
CrystalContentModels.jar
CrystalExporters.jar
CrystalExportingBase.jar
CrystalFormulas.jar
CrystalQueryEngine.jar
CrystalReportEngine.jar
CrystalReportingCommon.jar
icu4j.jar
keycodeDecoder.jar
log4j.jar
MetafileRenderer.jar
rasapp.jar
rascore.jar
rpoifs.jar
Serialization.jar
URIUtil.jar
xercesImpl.jar
xml-apis.jar
and the mysql-connector jar file
Anybody help me please...Unable to load database connector
'com.crystaldecisions.reports.queryengine..driverImpl.
DriverLoader
now you have any idea.. pleaseIs that a typo where you have two periods below?
queryengine..driverImplOther than that I don't think anybody here can help you with that. If your classpath includes all necessary JAR files and you are able to access all your resources from within your application JAR file, then I imagine there is a problem with the third-party crystal decisions JAR file or how you are attempting to use it.
My advice to you is to try and contact support with the vendor or provider of this API or possibly try posting on a support forum on their website to see if somebody can help you there. -
Crystal reports not working in windows 7 but working fine on XP
I have a VB .net 2005 windows app. It has been working on Windows XP (32-bit) environment for a while and now we are moving to Windows 7 (64-bit). The program runs fine except for the reports which was written using the crystal report built in with VB .net
2005. I get an error Database login and it asks for user ID and password. HELP PLEASE !!!!
I am using the following connection string:
DBconn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & str_data & ";Persist Security
Info=true;user ID=Admin;Jet OLEDB:Database Password= mypassword"
And on the REPORT form I have the following code
Private Sub frmExportDiv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim crReportDocument As CrySelectedDivisionSummary
crReportDocument = New CrySelectedDivisionSummary
Dim ss As String = Application.StartupPath()
Dim logOnInfo As New CrystalDecisions.Shared.TableLogOnInfo
logOnInfo.ConnectionInfo.ServerName = ss & "\\Firm_data.mdb"
logOnInfo.ConnectionInfo.Password = "mypassword"
logOnInfo.ConnectionInfo.UserID = "Admin"
crReportDocument.Database.Tables("qryExportDiv").ApplyLogOnInfo(logOnInfo)
cryprintandexport.ReportSource = crReportDocument
End SubHi vbmaayah,
CR is not supported anymore by MSFT. Here is the official support forum:
http://scn.sap.com/community/crystal-reports/
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Crystal report not able to see a SQL view in Business One
Hi all
I am trying to create a report using views I have created in the Business One database.
I can run the report fine when using the Crystal Designer, but when I try to Preview the external Crystal report file from within Business One, it comes up with an error 'The table 'xxxx' can not be found'.
I have tried to make the connect an SAP Business One connection, and also tried it with the OLEDB connection. Neither worked.
(I can however preview other 'table' reports fine)
I am running SAP B1 8.8 SP 0 pl 15 and SQL2005.
As views are allowable in B1 databases I would hope that we can use them in our Crystal reports. Can we use views?
Or is it my setup/Crystal setup that is causing me issues.
Any help much appreciated.
Thanks
DeniseHi Gordon and Kevin
Thank you both for your replies.
Gordon - great idea to use the Command mechanism. I had not thought of that but will give that a try.
Kevin - pleased to hear views are allowed as I often use them in my reports.
I think I have a more basic issue with my setup of Crystal & B1 on the system - and perhaps this is causing my inability to use views.
My current approach is to install Crystal Designer on the server. I know that it is preferable to put the designer elsewhere but I am not able to connect using SAP Business One connection at all from the client machines. Frustration! (Keeps saying Logon failed and I KNOW I have the correct logon details)
Will update this thread once I have set up the designer on the server and hopefully succeeded in including a view (or command) in a report.
Thanks for your help
Denise -
Crystal Report Not Refreshing in browser
Hi all,
Am using crystal report for my web application so here am passing my parameter from jsp page
but it is not refreshing
For example
I am select Month=jan my query goes this way.
Select * from employee where month='jan' group by department order by designation
when am intially design in eclipse in filter option am selecting 'jan' and when am running in browser am passing the same query with the parameter but here instead of 'jan' am passing month variable where my month variable changes every time according to user choose
my crystal report is not getting refreshed ..
hope u understood my problem
Regards
Vanishree.BHi Tejomay ,
I have tried that even after calling refresh() , it ;s not getting refreshed..but if am using signal table in my query it is getting refreshed .but when am grouping with another table it is not refreshing..
Regards
Vanishree
Maybe you are looking for
-
How to scan more than one page with Acrobat 9, Windows 7?
I have Acrobat 9 Standard, with Windows 7, and am trying to scan from an HP LaserJet 3015. Prior to having Windows 7, there were no problems. Now when I scan only one page will show as a pdf, no matter how many I scan. The data shows "transferring
-
5.5 Gen TV/iPod Help please
I just got a new Ipod on May 23,2007 it is a 5.5 Gen Ipod and i got a Belkin Retractable TV/iPod Cable to go with. It doesn't seem to work i have tried everything. I have tried to switch the TV thing to "on" im in NTSC. I have tried both wide screen
-
Intercompany (Company code to Company code) STO with Proforma Invoice.
Dear experts. I ve done Inter company STO Process.. with IV billing.. But my client requirement is instead of IV it should Generate Proforma.. since these two legal entities.. is it possible to create proforma... ? i try to create the scenario in del
-
Standard ratio (4:3) ???
I want to record video into imovie using my computer's camera. I am filming my daughter dancing. I only seem to have the widescreen option. I want standard aspect so she can watch it on her tv. (it's old, and not a widescreen.) I tried cropping it i
-
Guitar Rig 2 - HELP PLEASE!!
Alright brothers, I know this is the Logic forum, I don't doubt that for an instant. But when a company with the reputation for quality such as native instruments drops the ball on offering the simplest bit of gratitude for purchasing their product -