Converted Crystal Report Not Executing in Info View
We are in the process of testing BOXI3.1 sp2 fix pack 2.8. The problem we are having was not occurring in BOXI rel2.
After saving a Crystal Report developed with version 11.5.0.313 using CR2008, the report was run successfully within Crystal Reports. I'm assumming that the report was converted to 2008 format due to saving the report.
The report was then saved into the repository from Crystal Reports. After logging into Info View the report was scheduled. The report that normally returns results in less than 5 seconds from Crystal just hung in Info View. After 4 hours the the task was cancelled. Even though Info View presented that the report was "running", there ws NO thread started with the database. This was confirmed by our DBA
The report was rewritten from scratch using CR2008. This report was able to execute to import this report
to Info View without error.
John
Edited by: JOHN DOMBROWSKI on Jul 6, 2010 11:18 AM
Thanks for your response.
Before I read your response, I tried tweaking my reports and was able to resolve the issue.
Steps taken to solve the issue are the following:
a. Value not showing one field of four (4) reports.
Solution: I created new ones and integrate it in VB 6. The values are now showing. Tweaked on the line object properties, got a problem with the extended line but solved it by adjusting the height of the detail section.
b. Value not showing in sub-report.
Solution: My report used a shared variable so I can pass the condition to my sub-report. I used the new reports and just pass a query during runtime. The values in the subreport is still not showing. I added a formula and called the value in it. Values in the subreport is now showing.
I'll try to update the crystal reports version as suggested at a later time.
Similar Messages
-
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 -
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] -
Database is Locking While Priview the PLD converted Crystal report
Hi All
I converted a Purchase Order PLD into Crystal Report to design a PO according to user requirement in a TEST company
and save this report physically and again I use this Converted Crystal Report as a Layout in the TEST1 company on the Purchase Order.While priview the Purchase Order document it is working fine
when this same layout is used in TEST2 and preview the document it asking the login details and same thing is happening in the other database TEST1 (in which Report is working fine) also and i came to know that the all the databases are locked
unlock the database and remove that layout from TEST2 database and again add same layout in the same database and now i just open this layout through REPORT LAYOUT MANAGER and click edit button the report is opened in edit mode then also total sql server with user sa is locked and i didnt saw the company list at the start of the sap business one
Can any one give the solution for this issue
Thank youYou may keep all original fields and move or hide fields to meet your customer's need. System field should not be removed.
Thanks,
Gordon -
Crystal report in JSP using activeX viewer
Hi,I'm trying to integrate JSP and crystal report.
can you give me a sample code to display crystal report in JSP using activeX viewer(not pure HTML)
I'm using crystal report 9,there are ASP sample come with CR9,but no JSP.also I don't want use Crystal Enterprise9 even I know the URL reporting may be the eaier way.Hi,I'm trying to integrate JSP and crystal report.
can you give me a sample code to display crystal
report in JSP using activeX viewer(not pure HTML)
I'm using crystal report 9,there are ASP sample come
with CR9,but no JSP.also I don't want use Crystal
Enterprise9 even I know the URL reporting may be the
eaier way.Hi, did u manage to get the ActiveX Viewer up with JSP? I'm also trying to do the same thing. If you could, pls kindly email me the basic source codes to [email protected]? Thanks -
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. -
Convert crystal reports to OBIEE?
Does anyone know of a tool that will convert crystal reports to OBIEE or how difficult it is?
There is no tool as both products are from different vendors. You need to manual conversion, mean get the requirements noted form crystal reports and build them in OBIEE from scratch. Using BI PUblisher is recommended,as most of the crystal reports uses custom sql.
-
Converting Crystal reports to Oracle D2K reports or BI Publisher
Hi I have one requirement
I need to convert crystal reports to oracle D2k reports is there any tool which will make my work easier
any body who has work on it please suggest.
Thanks in advance
Edited by: Qwerty on Jul 9, 2010 12:44 PMcheck this it may help
http://www.oracle.com/technetwork/middleware/bi-publisher/convert-to-bi-publisher-11g-1611815.pdf ( page 25 - 45 )
http://download.oracle.com/otndocs/xmlp/CrystaltoBIP.pdf -
How to biod Crystal Reports based on ABAP Tables/Views
Hi,
Can any one post me some document stuff on building Crystal reports based on ABAP Tables/Views please!
Thanks,
Madhu.Hi,
Check out the links below for Crystal Reports :
Re: Crystal report in SAP BW
http://support.businessobjects.com/documentation/product_guides/
http://help.sap.com/saphelp_nw04/helpdata/en/86/06a8d3be17fc47aa8d850e50cf5f24/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/46/dfd33b1ed4b47de10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/34/c0523e83464644e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5f72b7c0e943d99f4f5cef2bfacfe1/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/06/00a63b60f26e3be10000000a114084/frameset.htm
Hope this helps.
Cheers,
Kedar -
Converting Crystal Report 2008 report into webi
BO XI R2 SP1
Crystal 2008
Windows 2003
I was wondering if it is possible to convert reports built in Crystal 2008 into webi using some mechanism within BO. Please help if you know how to do that.
Thanks!Sorry.There is no way to do this. The RCT only converts Deski documents to Webi.
PS: This question was previously asked and answered [here|Converting Crystal Reports to Webi;. -
Converting Crystal Reports to Webi
Hi,
Please lte me know ..... Is there any way to convert Crystal Reports Xi to Webi reports and vice versa?
Appreciate your help
Thanks,
BhanuI believe you'll get faster response if you post to the Crystal Reports Design forum:
SAP Crystal Reports
Ludek -
Crystal report not comming on the CR Viewer
Post Author: ssr1
CA Forum: Crystal Reports
Hi,
We actually did the report import using the wizard, not sure what went wrong.. but post which all the reports are throwing error
"There was an error retrieving data from the server: File frs://Input/a_056/003/000/824/~ce150c43a5b57562a6.rpt not found on File Repository Server."
The .rpt file names would change for every report though....
I am very badly stuck with this problem... Need help.Also, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup -
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 Adopting all possible Dropdown Values from BEx Variable
Hi all,
I am having an issue in a Crystal report where the drop down parameter that is sourced from a BEx query variable does not include all the possible values in the cube (or in master data). After learning my lesson the first time of not changing the name of the variable or changing it to dynamic (this causes it to break), I had the understanding that the value list may not be complete when running the report in the Crystal client or in the viewer, however, I thought it should be correct when published to the BOE and run in infoview. I am getting the same incomplete list in infoview. I published the report into infoview using the Crystal 2008 desktop client, not the /CRYSTAL/RPTADMIN transaction.
I know there are a couple ways of sourcing a Crystal report from a BW query - using MDX vs. not, etc. I created this report using the SAP menu > "Create new report from a query". I don't believe Crystal will easily let you use that menu option to create a report off two BW queries joined together (which is what I am doing), so I built it off one originally (using the SAP menu), then added the other later on. I have the checkbox for "Use MDX driver with support for Multiple structures" checked. In database expert, my "Selected Tables" both are of database type "SAP BW Query".
Do I have the right understanding of how the value list should work when sourced from a BEx variable? If so, can anyone offer any suggestions for getting the value list populated correctly?
Here's some info:
Crystal version: CR2008, version 12.2.4.507
BOE version 3.1
SAP BW 7.01 EhP 6
Thanks,
ChadHi,
- in the Crystal Reports designer the list of values is not online and there is a maximum number of values - configured by a registry setting:
(windows 7)
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Business Objects\Suite 12.0\SAP\BWQueryReportWrapper
Key: MaxPickListSize
and correct you can not change the name of the variable or set it to dynamic as the definition is based on the BEx query.
I know there are a couple ways of sourcing a Crystal report from a BW query - using MDX vs. not, etc. I created this report using the SAP menu > "Create new report from a query". I don't believe Crystal will easily let you use that menu option to create a report off two BW queries joined together (which is what I am doing), so I built it off one originally (using the SAP menu), then added the other later on. I have the checkbox for "Use MDX driver with support for Multiple structures" checked. In database expert, my "Selected Tables" both are of database type "SAP BW Query".
The checkbox on the Multi Structure is not for the option to combine 2 Bex queries - it is for Bex queries with 2 structures and the BW query driver has been deprecated already and you have to use the MDX Driver.
Do I have the right understanding of how the value list should work when sourced from a BEx variable? If so, can anyone offer any suggestions for getting the value list populated correctly?
in Crystal Reports Designer the list is static and when you publish the report using the BW Publishing to your SAP BusinessObjects Enterprise system the list becomes dynamic in InfoView.
regards
Ingo Hilgefort
Maybe you are looking for
-
I just bought a new MSI kt3 ultra-aru from newegg and a new athlon xp 1900+(1.6ghz) and i unlocked it but the board wont boot with the new multiplier, so i thought the proc was not unlock so i try my old tbird which has already been unlocked and it d
-
ITunes error message? windows vista..
i've never had any problems with my iPod and iTunes...but now for some reason whenever I plug my iPod in it won't sync to iTunes and this error message comes up: "iTunes could not connect to the iPhone "iPod" because of an unknown error (0xE800006B)"
-
Infoset resulting multiple results at query level
Hi, I have joined 1 DSO and 1 Infocube in Infoset.. Mapped Plant, Material and Batch DSO Plant Material Batch Caldate Qty P1 M1 B101 01/02/2014 1000 P2 M2 B102 05/02/2014
-
Duplicate member Name in same dimension in a Cube
Hi, Can someone please let me know whether we can have same member name in a dimension for building a cube? For Example: I have one dimension Dim1 (Hierarchy) , Level2 Level1 Leaf Leaf Code L13 - L11 - L1 - 10 L13 - L1
-
Also can't upgrade - "Older version of ASI can't be removed"
If I go to Windows Installer and try to uninstall the Apple Software Installer it tells me it can't find the file applesoftwareupdate.msi. I have searched my computer and the file is not there. Now that I've uninstalled my old version of iTunes (7.3.