Crystal Reports 2010 SP1 on IIS 7.0 - Report is not being displayed
Hi,
Finally, the keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll error is gone, after I installed Crystal Runtime 2010 SP1. Also, I tested Crystal Report 2010 SP1 on my Windows 32 application and I can tell that I do not have this error anymore and report is being displayed properly.
But Crystal Report is not being displayed on ASP.NET page on MS Server 2008 standard edition SP2 with IIS 7.0. Database resides on iSeries remote machine.
The MS Server 2008 is virtual machine.
OS system has:
Crystal Report Basic Runtime for Visual Studio 2008
SAP Crystal Reports Runtime engine for .NET Framework 4 (32-bit)
Simply the report is not being displayed at all. No errors are being recorded in the Event Viewer.
Nothing happens; excerpt the page is Loadingu2026 and Waiting for u2018website nameu2019 in the left lower corner of Firefox web browser.
Here is the code behind aspx page with a command button - very simple:
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
protected void Button1_Click(object sender, EventArgs e)
ReportDocument crReportDocument;
Database crDatabase;
Tables crTables;
// CrystalDecisions.CrystalReports.Engine.Table crTable;
TableLogOnInfo crTableLogOnInfo;
ConnectionInfo crConnectionInfo;
crConnectionInfo = new ConnectionInfo();
//Set server name
crConnectionInfo.ServerName = this._strServerName;
//set database name
crConnectionInfo.DatabaseName = this._strDatabaseName;
crConnectionInfo.UserID = this._strUserID;
crConnectionInfo.Password = this._strUserPassword;
//Set integrated security
crConnectionInfo.IntegratedSecurity = false;
crReportDocument = new ReportDocument();
crReportDocument.Load(Server.MapPath("~/crystal-reports/TransformerLoad/TransLoadMonthlyMax.rpt"));
crDatabase = crReportDocument.Database;
//Set all tables from current report file
crTables = crReportDocument.Database.Tables;
//crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
//Apply schema name to the table's location
foreach (CrystalDecisions.CrystalReports.Engine.Table _crTable in crTables)
crTableLogOnInfo = _crTable.LogOnInfo;
crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
_crTable.ApplyLogOnInfo(crTableLogOnInfo);
//Check if database table name starts
if (_crTable.Location.StartsWith("XFMRSMAX", StringComparison.CurrentCulture) ||
_crTable.Location.StartsWith("XFMRSMIN", StringComparison.CurrentCulture))
//_crTable.Location = this._strSchemaName + "." + _crTable.Location.Remove(8) + Convert.ToInt32(Request.QueryString\"ReportYear\");
_crTable.Location = "XFMRSMAX09";
else
_crTable.Location = _crTable.Location;
this.CrystalReportViewer1.ReportSource = crReportDocument;
This code runs on my development machine Win XP SP3
OS system has:
Crystal Report Basic Runtime for Visual Studio 2008
SAP Crystal Reports Runtime engine for .NET Framework 4 (32-bit)
This code also runs on another development server - Windows XP SP3 (IIS 5.1)
OS system has:
Crystal Report Basic Runtime for Visual Studio 2008
SAP Crystal Reports Runtime engine for .NET Framework 4 (32-bit)
ispnet_client folder has IUSR user and this user has read permissions to this folder. I even tried to change the permissions to Read & Execute.
I am developing my reports using Crystal Reports 2008 SP2.
Any help would be greatly appreciated.
Serghei
Hi Ludek,
Thank you for your response.
I checked the web.config file, all http handlers are there. I think the handlers are required to render the images on crystal report viewer but in my case the report viewer is not being rendered.
I have to questions:
1. What exact folders should be under aspnet_client\system_web?
In my case I have structure like this
aspnet_client\system_web\2_0_50727\crystalreportviewers13
aspnet_client\system_web\4_0_30319\crystalreportviewers13
Should I have folders something like this
aspnet_client\system_web\2_0_50727\crystalreportviewers13_1
aspnet_client\system_web\4_0_30319\crystalreportviewers13_1
after I installed Crystal Reports 2010 SP1
Also, in C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET 4.0\Common\Crystal Reports 2011\ there is no folder named as crystalreportviewers13 but instead crystalreportviewers
a. Should I copy all files from this folder to aspnet_client\system_web\2_0_50727\crystalreportviewers13, or
b. Should I copy all files from this folder to aspnet_client\system_web\2_0_50727\crystalreportviewers13 and rename this folder to
crystalreportviewers
2. Can you explain how to get a data report?
This is the quote from your previous answer
I'd be interested to see this simplified to a saved data report - no DB logon code - as a test...
Thank you Serghei
Similar Messages
-
Sections of report not being displayed on some systems
Post Author: jlutz
CA Forum: General
Hello... strange issue... We have these Crystal 11 reports deployed that are being called via a VS .NET 2005 application. The reports display fine on most systems, but on some systems (Dells, a few years old, 512mb of ram), sections of the report are not being displayed. For example, on one report parts of the header are not displayed, nor is some of the subtotal sections etc.However, if they zoom to 75%, they can view the subtotal section but the header part disappears. Additionally, if they export or print the report, it comes out just fine! Any idea what could be going on here? Thanks!Post Author: PeterLiebich
CA Forum: General
I have issues in ReportDesigner when I have my hardware acceleration set at maximum try reducing it. Goto
ControlPanel-> Display Properties (settings Tab) -> Advanced Button -> troubleShoot tab. I had to set my down by 4 notches before it worked. - Try setting it to none to see if it fixes your issue -
Keycodedecoder.dll failure still there in Crystal Reports 2010 SP1
Hi
I have a problem with getting an error that busineesobjects.licensing.keycodedecoder.dll not found for version 13.0.2000.0.
I am using Crystal Reports for Visual Studio 2010 Support Pack 1 (where I thougt this problem was resolved)
The exception does not show up by default but if I subscribe to the AssemblyResolve event I can see that the common language runtime tries to bind the keycodedecoder assembly and fails.
You can reproduce it by creating a .Net 4 windows forms project in Visual Studio 2010 and have Crystal Reports 2010 SP 1 installed. Here is the code for reproducing it:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;
namespace CR2010error
public partial class Form1 : Form
ReportDocument doc = null;
public Form1()
InitializeComponent();
AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(QFE);
private void button1_Click(object sender, EventArgs e)
doc = new ReportDocument();
private Assembly QFE(object sender, ResolveEventArgs e)
// Format of e.Name: [name-without-exe-and-dll], Version=[version], Culture=[culture], PublicKeyToken=[key]
Assembly assembly = null;
string[] parts = e.Name.Split(',');
if (4 <= parts.Length)
assembly = HandleSignedAssembly(parts[0].ToLower().Trim(), parts[1].ToLower().Trim(), parts[2].ToLower().Trim(), parts[3]);
return assembly;
private enum FailType { NoFail, FileNotExist, NoVersionInfo, QfeError, LoadError, };
private Assembly HandleSignedAssembly(string name, string version, string culture, string keyToken)
if (name.ToLower().EndsWith("xmlserializers") || name.ToLower().EndsWith(".resources"))
return null;
Assembly assembly = null;
string[] parts1 = version.Split('=');
string wantVer = parts1[1].Trim();
string[] parts2 = wantVer.Split('.');
int wantMajor = Convert.ToInt32(parts2[0]);
int wantMinor = Convert.ToInt32(parts2[1]);
int foundMajor = -1;
int foundMinor = -1;
string path = CreateFullPath(name);
string exception = "";
FileVersionInfo fvi = null;
FailType failType = FailType.NoFail;
try
if (!File.Exists(path))
failType = FailType.FileNotExist;
catch (Exception e1)
failType = FailType.FileNotExist;
exception = e1.Message;
if (FailType.NoFail == failType)
try
fvi = FileVersionInfo.GetVersionInfo(path);
foundMajor = fvi.FileMajorPart;
foundMinor = fvi.FileMinorPart;
catch (Exception e2)
failType = FailType.NoVersionInfo;
exception = e2.Message;
if (null != fvi)
if (wantMajor != foundMajor || wantMinor != foundMinor)
failType = FailType.QfeError;
else
try
assembly = Assembly.LoadFrom(path);
catch (Exception e3)
failType = FailType.LoadError;
exception = e3.Message;
assembly = null;
if (null == assembly)
Message_SignedAssembly(failType, exception, path, name, wantVer, null == fvi ? null : fvi.FileVersion);
return assembly;
private void Message_SignedAssembly(FailType failType, string exception, string path, string nameOfDll, string wantVersion, string foundVersion)
StackTrace st;
StackFrame sf = GetOriginatingStackFrame(out st);
string referredBy = "";
if (null != sf)
if (-1 != sf.GetFileLineNumber())
referredBy = string.Format(msgSource1, sf.GetMethod().DeclaringType, sf.GetMethod().Name, sf.GetFileLineNumber(), sf.GetFileColumnNumber());
string reason = "";
if (failType == FailType.FileNotExist)
reason = string.Format(msgReason1, path);
else if (failType == FailType.LoadError)
reason = string.Format(msgReason2, exception);
else if (failType == FailType.NoVersionInfo)
reason = string.Format(msgReason3, exception);
else if (failType == FailType.QfeError)
reason = string.Format(msgReason4, wantVersion, foundVersion);
else
return;
string msg = string.Format(msgBase1, referredBy, nameOfDll, reason);
MessageBox.Show(msg, "QFE Resolver failed", MessageBoxButtons.OK, MessageBoxIcon.Warning);
MessageBox.Show("StackTrace: " + st.ToString());
private string CreateFullPath(string name)
if (name.EndsWith(".resources"))
name = name.Substring(0, name.Length - ".resources".Length);
return AppDomain.CurrentDomain.BaseDirectory + name + ".dll";
private StackFrame GetOriginatingStackFrame(out StackTrace st)
st = new StackTrace(true);
StackFrame sf = null;
for (int i = st.FrameCount - 1; 0 <= i; --i)
StackFrame frame = st.GetFrame(i);
string s = frame.GetMethod().Name;
if (frame.GetMethod().Name == "QFE")
break;
if (null != frame.GetFileName())
sf = frame;
return sf;
#region Message
static string msgBase1 =
@"The program has failed to resolve a reference to a dll.
Referenced dll is
.dll
Reason for failing:
static string msgSource1 =
Referred by
static string msgReason1 =
@"The referenced file does not exist. Searched for file:
Copy the missing referenced file and retry again.";
static string msgReason2 =
@"The referenced file cannot be loaded.
static string msgReason3 =
@"Version information could not be obtained from the referenced file.
Recompile the referenced file and retry again.
static string msgReason4 =
@"The referenced file is not compatible with the requested version.
The requested version was , but the found file has version .
According to the rules of QFE, these versions are not considered to be compatible.
Replace the referenced file with a compatible version and retry.";
#endregionI am only having version 13 (SP1) installed on my computer.
If I run modules I can not see that crpe32.dll is loaded but there are fourteen other Crystal dll's loaded all with version 13 (from the below path)
c:\program files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\
Yes I konw it's just a warning but it's really enoying and I think it's bad if you said all references to this keycodedecoder.dll has been removed in version 13 but this warning has been there in the beta version and the final version and now also in the SP1 version, and you have told us it has been fixed at least for the SP1 version.
I have tried my test project on a lot of other computers here at the company and we all get the same error so it's strange if you can't reproduce it. Can I e-mail you a zip-file of my test project or attach it in some way at this forum?
I am running a 32 bit version of Windows 7 with CRforVS_redist_install_32bit_13_0_1 installed.
Regards Tony -
Crystal Reports Excel Export Issue - page footer not being displayed
We recently converted all Crystal Reports from Visual Studio 2003 to Visual Studio 2005 sp1, .NET 2.0, Crystal Reports for .NET. I have the latest merge modules from business objects. All reports & footers worked fine in VS2003 ... but now when I export to PortableDocumentFormat (PDF) or WordForWindows (DOC) the page footers appear correctly. But, when I export to Excel (XLS) like the code below, the page footers do not appear. We need to place a disclaimer at the bottom of every page of an exported excel document. I checked the print preview, and I tested printing the document ... the the footer is not being utilized properly by the Crystal Reports export.
System.IO.MemoryStream oStream = new System.IO.MemoryStream() ;
oStream = (System.IO.MemoryStream) report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.Excel) ;
Response.Clear() ;
Response.Buffer = true ;
Response.ContentType = "application/vnd.ms-excel" ;
Response.BinaryWrite(oStream.ToArray()) ;
Response.End();
I have asked the question in msdn forum
http://forums.msdn.microsoft.com/en-US/vsreportcontrols/thread/0ead9e34-bc45-4062-90dd-17f8f8ebf062fyi - if i hadn't mentioned it, problem occurs in all our environments (developer workstation, development server, testing server, production server, etc.)
on my development workstation i found the file 3 times
c:\program files\common files\business objects\1.0\bin\crxf_xls.dll
has file version 9.1.1.557
c:\program files\common files\business objects\2.7\bin\crxf_xls.dll
has file version 10.2.0.1093
c:\program files\common files\business objects\3.0\bin\crxf_xls.dll
has file version 11.0.0.1937
on my development server (and our other environment servers too)
c:\program files\common files\business objects\2.7\bin\crxf_xls.dll
has file version 10.2.0.1210
so just from that i notice that the file versions in the 2.7 bin are different from my developer workstation to my development server ... but the issue still occurs in both places. -
Udf Data is not being displayed in the report
Hi all,
i have designed one report in which i am displaying some udf fields along with other system fields.
i have not used any selection criteria.
when i run report it doesn't display udf data of some random rows in the report even if data is peresent in that udf field.
If i open sales order and press 'Shift-F2' and update the document and now if i run report then i get that udf value in the report.
why this happening. data is there in the udf field only its not displayed in the report with out updating the that udf.
pls suggest some solution.
regsrds,
Chetan.Hi Ashish,
I ran the "ZPS/!ZPS" in RSRT where ZPS is the infoset name. In Dev, it displayed the values. In QA, it displayed the below messages:
ECharacteristic 0TCAKYFNM does not exist. Check authorizations
WThere are calculated elements. These results are bracketed [ ]
and below that, it displayed the values for Number of records. But, it has not displayed the values for the other figures.
Does this has any impact in QA.
Thanks & Regards,
AVN Rao. -
Plan values not being displayed in the report ..
Hi All,
I have a query on query.. .
which displays actual and plan values , but the report is not showing the plan values
tell me how to do this
SruthiSruthi,
Basically how do you store the data in the transaction cube's ?
How does the data differs b/w Plan and actual for the same KF ?
It stores depending on the Version...
Restrict the KF to a perticular version ...
Then you can get the desired...
Check the LISTCUBE with different versions..
Cheer's
HVR. -
Hi
I have extended Opportunity BO with a field type LANGUAGEINDEPENDENT_EXTENDED_Text", then I have enhanced my datasource and report.
for this field I have entered value almost 100 characters but in report only 60 character is being shown.
Could anyone help me how to bring whole value in report as it is in database.
Thanks
Sunil MauryaHi Sunil,
As per your requirement in reports only display 60 characters.
We have similar requirement to display more than 1000 character in report but this is not possible in report
Please check this discussion :
Add 'notes'-field in report
Regards,
Mithun -
AJAX Report Refresh a_report- Condition for display not being validated
Hi ,
I have a report which has the following condition for dispaly:
Exists(SQL query returs atleast one row) - SELECT * from temp1The query for the report is : select * from temp1 Now I have a button on the page and on click of the button I call the below Javascript :
function f_insert_Temp_table(pTrans){
var l_Return = null;
var get = new htmldb_Get(null,$x('pFlowId').value,
'APPLICATION_PROCESS=temp_table_insert',206); // ODP to insert into temp1
get.add('TRANS_ID_ITEM',pTrans);
gReturn = get.get('');
//alert(gReturn);
//$x_Show('6342610690289435');
$a_report('6342610690289435','1','15','15');
}Everything executes fine and the report refreshes the rows but the condition used for display doesn't get checked when I call $a_report() ...
I can see the ODP execute successfully and row gets inserted into temp1 which means report condition is satisfied .
If I remove the condition for the report, I can see the report getting refreshed and showing new rows through the $a_Report() call.
Is there something that needs to be added to the script or $a_report call to validate the condition too ?Is there a way I can validate the region condition too ?
Appreciate any suggestions/pointers here. I really do not want to refresh the whole page.
Thanks,
Dippy
Edited by: Dippy on Feb 5, 2010 11:05 AMHi Flavio,
Thanks for your support.I figured where I was going completely wrong.
Its just that when the page loads for the first time the temp table is empty and hence the report is not being displayed which simply
means that the report id Im passing into the a_report function is not rendered on the page. Hence no matter what the temp table contains the report id is absent from the page.
I fixed it as follows :
Remove the condition for the report.
Added and item and computed(P_Compute) its value using select count(*) from temp.
Added an onload JS function which does a $x_Show('Report_Region') if P_Compute > 0 or $x_Hide('Report_Region') if P_Compute <0 .
Now in my JS function which has an AJAX call to an ODP does an $x_Show('Report_Region').
Flavioc : the query for my report is simple
select * from tempIt finally dawned upon me that I'm trying to catch hold of an ID that's not rendered.
So one issue is solved now the other part would be figuring out how to make $a_report work with pagination etc . -
How to submit a report ,Passing the internal tables from parent report
How to submit a report ,Passing the internal tables from the parent report ?
The SUBMIT statement executes a report from within a report. i.e. you could have a drill-down which
calls another report. Can only execute reports of type '1'.
*Code used to execute a report
SUBMIT Zreport.
*Code used to populate 'select-options' & execute report
DATA: seltab type table of rsparams,
seltab_wa like line of seltab.
seltab_wa-selname = 'PNPPERNR'.
seltab_wa-sign = 'I'.
seltab_wa-option = 'EQ'.
load each personnel number accessed from the structure into
parameters to be used in the report
loop at pnppernr.
seltab_wa-low = pnppernr-low.
append seltab_wa to seltab.
endloop.
SUBMIT zreport with selection-table seltab
via selection-screen.
*Code used to populate 'parameters' & execute report
SUBMIT zreport with p_param1 = 'value'
with p_param2 = 'value'.
Other additions for SUBMIT
*Submit report and return to current program afterwards
SUBMIT zreport AND RETURN.
*Submit report via its own selection screen
SUBMIT zreport VIA SELECTION-SCREEN.
*Submit report using selection screen variant
SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
*Submit report but export resultant list to memory, rather than
*it being displayed on screen
SUBMIT zreport EXPORTING LIST TO MEMORY.
Once report has finished and control has returned to calling
program, use function modules LIST_FROM_MEMORY, WRITE_LIST and
DISPLAY_LIST to retrieve and display report.
*Example Code (Retrieving list from memory)
DATA BEGIN OF itab_list OCCURS 0.
INCLUDE STRUCTURE abaplist.
DATA END OF itab_list.
DATA: BEGIN OF vlist OCCURS 0,
filler1(01) TYPE c,
field1(06) TYPE c,
filler(08) TYPE c,
field2(10) TYPE c,
filler3(01) TYPE c,
field3(10) TYPE c,
filler4(01) TYPE c,
field4(3) TYPE c,
filler5(02) TYPE c,
field5(15) TYPE c,
filler6(02) TYPE c,
field6(30) TYPE c,
filler7(43) TYPE c,
field7(10) TYPE c,
END OF vlist.
SUBMIT zreport EXPORTING LIST TO MEMORY.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = itab_list
EXCEPTIONS
not_found = 4
OTHERS = 8.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
list_index = -1
TABLES
listasci = vlist
listobject = itab_list
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
IF sy-subrc NE '0'.
WRITE:/ 'LIST_TO_ASCI error !! ', sy-subrc.
ENDIF.
Submit report as job
*Submit report as job(i.e. in background)
data: jobname like tbtcjob-jobname value
' TRANSFER TRANSLATION'.
data: jobcount like tbtcjob-jobcount,
host like msxxlist-host.
data: begin of starttime.
include structure tbtcstrt.
data: end of starttime.
data: starttimeimmediate like btch0000-char1.
Job open
call function 'JOB_OPEN'
exporting
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit
importing
jobcount = jobcount
exceptions
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03.
if sy-subrc ne 0.
"error processing
endif.
Insert process into job
SUBMIT zreport and return
with p_param1 = 'value'
with p_param2 = 'value'
user sy-uname
via job jobname
number jobcount.
if sy-subrc > 0.
"error processing
endif.
Close job
starttime-sdlstrtdt = sy-datum + 1.
starttime-sdlstrttm = '220000'.
call function 'JOB_CLOSE'
exporting
event_id = starttime-eventid
event_param = starttime-eventparm
event_periodic = starttime-periodic
jobcount = jobcount
jobname = jobname
laststrtdt = starttime-laststrtdt
laststrttm = starttime-laststrttm
prddays = 1
prdhours = 0
prdmins = 0
prdmonths = 0
prdweeks = 0
sdlstrtdt = starttime-sdlstrtdt
sdlstrttm = starttime-sdlstrttm
strtimmed = starttimeimmediate
targetsystem = host
exceptions
cant_start_immediate = 01
invalid_startdate = 02
jobname_missing = 03
job_close_failed = 04
job_nosteps = 05
job_notex = 06
lock_failed = 07
others = 99.
if sy-subrc eq 0.
"error processing
endif. -
Detail sections not displayed with Crystal Reports 2010 Runtime (SP1 also)
I have migrated a VB app from RDC 9 to Crystal Reports 2010 and I'm experiencing a very strange issue.
In a report with 6 nested groups, the detail part is splitted in 7 section, and the whole detail has the "keep together" flag activated. At runtime, some detail sections are not displayed. There is no suppress condition on the detail section. The missed sections are those near bottom of the page. I suppose that when there is no room to print the section on the page and it should go on the next page, Crystal forget to display it.
I exported the report in Crystal format and reopened with Crystal Reports designer and the missed section are displayed.
The same report is displayed correctly using RDC 9.
If I show the group tree and select the missed section group, the section is correctly displayed on a separate preview page.
I've some screenshot to better demonstrate the problem.
I hoped SP1 will resolve the issue but unfortunately it didn't.
Pier Alberto GuidottiThis issue has been escalated for a fix. tracking number is TE5000325237. For anyone wanting to attach to this thread with a similar issue, please note the behavior as decribed in the TE below. If the description does not match your issue exactly, please create a new thread.
Description - Steps to Reproduce;
1) Run the report in the CR 2008 designer - note the second page
2) Run the report in VS2010 app using CRVS2010 SP1:
CrystalReportViewer1.ReportSource = <path to report>
3) Look at page 2 and compare to page 2 from the CR2008 designer (also, see attached compare.jpg file which is a screen shot of both views) - note missing group on page 2
4) Export to PDF, DO, RTF - same issue
5) Print to printer using the viewer print button - same issue
6) Same issue print to printer using code:
Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
crReportDocument.Load("C:\Crystal\Test\Forum tests\Alberto missing detail section\Crystal Issue\Distinta di Taglio CR 2010.rpt")
crReportDocument.PrintToPrinter(1, 1, 1, 2)
MsgBox("Done")
7) Same issue print to printer using code:
Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
crReportDocument.Load("C:\Crystal\Test\Forum tests\Alberto missing detail section\Crystal Issue\Distinta di Taglio CR 2010.rpt")
Dim rcd As ISCDReportClientDocument
rcd = crReportDocument.ReportClientDocument
rcd.PrintOutputController.PrintReport()
MsgBox("Done")
8) Export to RPT file format - view this export in the CR2008 Designer - report looks as it should
9) Add report to the .NET2010 project. trying to view the repor tin the .NET2010 IDE results in .NET crashing.
- Ludek -
Crystal reports 2008 SP1 missing in BusinessObjects Crystal Reports website
We have used Crystal reports 2008 as a reporting utility in our application and have released our product last year. During our release the latest software available was Crystal reports 2008 base + SP1 + SP2 + Fix Pack 2.7 and same was mentioned in our documentation as mentioned in BELOW.
The current supported version of Crystal Reports is Crystal Reports 2008 with
Service Pack 2 and Fixpack 2.7. The installation sequence is as follows:
1. Install Crystal Reports 2008 base.
2. Install Crystal Reports 2008 SP1.
3. Install Crystal Reports 2008 SP2.
4. Install Fixpack 2.7. This can be found under the hotfix section on the web site.
Questions
1) Now the issue is that, Crystal reports 2008 SP1 is NOT available for download in the "Business Objects u2013 Crystal Reports Runtime Packages". Why was it removed? Any clue? Without this our instructions doesn't hold good.
2) If Crystal reports 2008 SP1 will NOT be available any more then what is the equivalent installable for "Crystal reports 2008 base + SP1 + SP2 + Fix Pack 2.7" to be used? Can Crystalreports 2008 SP3 Full Build + Fix Pack 3.3 be used instead of "Crystal reports 2008 base + SP1 + SP2 + Fix Pack 2.7" ?
Pls Clarify.Hello,
Download Service Pack 3.0 full build: https://smpdl.sap-ag.de/~sapidp/012002523100009989492010E/cr2008_sp3_fullbuild.zip
and then Fix Pack 3.3: https://smpdl.sap-ag.de/~sapidp/012002523100016815822010E/cr2008fp33.exe
Then you and your users don't need to go through all of those upgrade steps.
Thank you
Don -
Loading Crystal Report 2010 Error
When I try to install C# application that I created at the client's workstation, i am getting an error about not getting my report loaded. The application loads the report working in my development workstation, but when i installed in the other workstation, then it will not load the report. I have installed Visual Studio 2010 with CR 2010. I had created the reports with Crystal Report 2008, and want to migrate to VS2010.
Here's what I get from the client's workstation:
Method 'get_ReportRequestStatus' in type 'CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper' from assembly 'CrystalDecisions.CrystalReports.Engine, Version=14.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' does not have an implementation.
I have all my CR *.dll referrenced to the latest one, but I am not sure if I am using the right *.dll.
Thanks for any input on this. It'll be greatly appreciate it.Correct, you are using the beta version of the runtime.
Search here on how to remove version 14 and use the RTM release version 13.
Thank you
Don -
Crystal Reports 2010 shows error on 64 bit vista/7 machines
Hello,
<br/><br/>
I search the threads before posting my problem. I saw number of threads similar to this but none of them is pointing towards solutions to my problem. Thus decided to create new one. I tried various things listed in old post to solve my problem but no solution. I am listing below what I have already tried.
<br/><br/>
Following is my development environment:<br/>
- OS windows XP 32 bit<br/>
- MS Visual Studio 2010<br/>
- Crystal Reports 2010 <br/>
- windows application with target framework 3.0<br/>
- when i build solution for client i change target platform to x86<br/>
<br/><br/>
My client machine<br/>
1)<br/>
- OS windows vista 64 bit<br/>
- Crystal Reports for VS2010 Redist 64 bit<br/>
2)<br/>
- OS windows 7 64 bit<br/>
- Crystal Reports for VS2010 Redist 64 bit<br/>
<br/><br/>
On my development machine everything works fine. Only client machines having problem opening reports. I am having problem opening reports on client machines. I shows following error. My windows application runs fine but when we try to open reports it shows log4net error.
<br/><br/>
<br/>
start error text----
<br/>
<br/>
The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception.<br/>
<br/>
See the end of this message for details on invoking <br/>
just-in-time (JIT) debugging instead of this dialog box.<br/>
<br/>
Exception Text **************<br/>
System.TypeInitializationException: The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.<br/>
File name: 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
at CrystalDecisions.Shared.SharedUtils..cctor()<br/>
<br/>
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<br/>
--- End of inner exception stack trace ---
at CrystalDecisions.Shared.SharedUtils.GetFullTypeName(Type type)
at CrystalDecisions.ReportSource.ReportSourceFactory..cctor()
--- End of inner exception stack trace ---
at CrystalDecisions.Windows.Forms.CrystalReportViewer..ctor()
at BackOffice.frmReportViewer.InitializeComponent()
at BackOffice.frmReportViewer..ctor()
at BackOffice.mdiMain.vendorsListToolStripMenuItem_Click(Object sender, EventArgs e)
at BackOffice.mdiMain.vendorsListToolStripMenuItem1_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
<br/><br/>
Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
<br/><br/>
BackOffice
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/BO%20config%20removed/BackOffice.exe
<br/><br/>
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
<br/><br/>
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
<br/><br/>
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
<br/><br/>
CrystalDecisions.Windows.Forms
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.1.220
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
<br/><br/>
CrystalDecisions.Shared
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.1.220
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Shared/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Shared.dll
<br/><br/>
CrystalDecisions.ReportSource
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.1.220
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportSource/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
<br/><br/>
JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<br/>
configuration<br/>
system.windows.forms jitDebugging="true" <br/>
configuration<br/>
<br/>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
<br/><br/>
end error text----
<br/><br/>
I am not using log4net in my windows application. As I know not directly. No log4net tag in config. Not even in publish file listing.<br/><br/>
I have Crystal Decisions.CrystalReports.Engine in my reference. <br/>
ReportSource<br/>
Shared<br/>
Windows.Forms<br/>
<br/><br/>
I tried adding reference of log4net in my app and then tried deploying. slight modified error. Instead of not find the file it says not able to load and rest error part is same.
<br/><br/>
I have excluded all crystal dll from publish file list and tried.
<br/><br/>
I even updated cilent machine with Crystal Reports for VS2010 Redist 64 bit support pack 1.
<br/><br/>
I tried adding following in config but no result<br/>
startup useLegacyV2RuntimeActivationPolicy="true"<br/>
supportedRuntime version="v2.0.50727"<br/>
startup
and
startup useLegacyV2RuntimeActivationPolicy="true"<br/>
supportedRuntime version="v4.0"<br/>
startup<br/>
<br/>
I found related to this in one of the thread. I am not sure but this could be the problem. what is the solution for it?<br/>
In my development machine windows/assembly folder, there exist 2 log4net files<br/>
Assembly Name - version - Processor Architect<br/>
- log4net - 1.2.9.0 - blank<br/>
- log4net - 1.2.10.0 - x86<br/>
But in my client machine, there is only one log4net file.<br/>
Assembly Name - version - Processor Architect<br/>
- log4net - 1.2.10.0 - AMD64<br/>
<br/><br/>
I have spend lot hours on it but no output. Any help or direction is appreciated.<br/><br/>
Thanks,
Edited by: Dhairya Tolat on Mar 21, 2011 8:13 PMHi deguri,
1. Are you going to sell the application(which embeds the crystal runtimes) to another company?
2. Is the application intended for users within your company?
If the answer to question 1 is a 'Yes', then you need to purchase the license.
If the answer to question 2 is a 'Yes', then you do not need the license.
Take a look at a question posted in response to the blog i referred to in my previous post. That is a typical scenario where license needs to be purchased.
We are product a client/server application in VS 2010 and would like to include Crystal Reports. The rendering/runtime would be on the server component. Our package is distributed to our clients and runs on their hardware. We would be producing the reports and shipping them with the software (i.e. no embedded designer).
Am I correct in understanding that we would need only a single SAP Developer Advantage license (~$2500 USD) and that would cover redistribution to all our our clients?
Thanks in advance!
CR for VS 2010 on Application Server
2011-06-15 14:18:50 Blair Wheadon Business Card [Reply]
Yes, you are correct.
I hope that clarifies things...
Deepu. -
Integrate the Crystal Reports 2008 SP1 with SAP R/3
Hi Experts,
I have a requirement to integrate Crystal Reports with the SAP R/3 . I'm new with this kind of integration and need help because I need to create a report based on the R/3 data.
I have read some posts from this forum especially on the integration kits - SAP forum but still don't have any idea on how to do it?
I already installed the BusinessObjects Enterprise XI 3.1 and also Crystal Reports 2008 SP1. I also download the Integration Kits -SAP installer from the SAP Marketplace but when I tried to installed it, I get stuck because it need information for BW publisher.
As for your information, we don't use any BW server because we only use R/3.
Can anyone help me where to start on this integration?
Thanks,
-Syahida-Hi Stratos,
You're right regarding the transport files. My basis team able to transport that file but when I try again to connect from Crystal Report to R/3, it come out with other error like " Connect to SAP gateway failed" and " partner 202.171.46.161 :3300 not reached"
What I did were :
a) Click on blank report
b) Create New Connection
c) SAP Tables, Cluster
Did I do any wrong here because the error cameout after I did all the step above ? When I look out on the error, it seems like it need to use port 3300. Is there any specific port required for the integration? This is because if the integration through SAPGui, it should used port 3200 and if go direct using SAPRouter, it will use port 3299.
Really need your expertise here or any document that I can refer because the standard document for integration kit for SAP did not mention anything about the port.
Thanks and Regards,
-Syahida- -
Regarding Crystal Reports 2013 SP1/SP3 runtime distribution clafrifications
Hi,
We are in process of migrating exsisting Crystal Reports from CR 2008 SP4 to CR 2013 SP1/SP3.
Iam unable to find the corresponding msms for the same for runtime distribution (to install on end user Boxs).
Can see latest as v.13.0.13.1597 (_http://scn.sap.com/docs/DOC-7824)
Please help out link where I can download msi (or msms) for Crystal Reports 2013 SP1/SP3 runtimes that need to be deployed on user PCs.
Also need advise
( i ) Can we install both runtimes (CR 2008 SP4 and CR 2013 SP1) on user PC at same time?
( ii ) We have already deployed CR 2008 SP4 runtimes on user PCs, is that sufficient? or do we need to install any other runtime?
( iii ) Will CR 2013 SP1 support old CR 2008 SP4 ?
Thanks & Regards,
Rajeshwar RaoCrystal 2013 does not come with the SDK, instead you have to download Crystal for Visual Studio AND update your code to use it. You can't just install one of the .msi files or the .msm file (which are all available at the link you show above) and expect it to work with existing code.
-Dell
Maybe you are looking for
-
How do I save an edited photo with text in a jpeg format?
-
Csap_ord_bom_create uploading documents
Dear All, I am using csap_ord_bom_create for uploading the BOMs. I want to attach documents to header and at item level. Can I do it or do I have to do it with the help of a change function module. Thanks geravine
-
Verify custom plugin signature with Adobe Default Security
Hi, I have a few questions using Adobe Default Security when verifying a signature. I've created my own signing plugin which works well. When I verify my signature it states that it is a valid signature, that the document has not been altered and tha
-
My laptop can no longer connect to my BEFW11S4 v2 router. The "WLAN Link" light is off. I have the latest firmware, 1.45.10, reflashed it twice and tried an older version of firmware from the Linksys ftp site without success, then reloaded 1.45
-
Navigation via button in agentry editor details screen -SAP Round Manager
Guys, I am looking to open a details screen from a details screen via a button or an image on click .Please suggest the right way to do that .Please follow the attached figure for your reference . Tags edited by: Michael Appleby