Using the ReportViewer in a Visual Studio 2010 WinForms project. After updating client to Support Pack 12 after print previewing a report that has a ODBC connection to a text file using the Microsoft Text Driver the text file remains open after the ReportViewer is closed. Roll back to 13_0_8 which is what we were previously distributing and the text file and ODBC connection is closed without issue.
SAP Crystal Reports for Visual Studio Support Pack 12 - ODBC Connection Left Open
Error, Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel
Hello helpful people,
I am getting the following error when I run my report, please help.
Error, Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'.
Message was edited by: Ludek Uher Bolded and background Formatting removed. Keep is simple please. See the SCN Rules of Angagement: http://scn.sap.com/docs/DOC-18590
.Net Vb 2.0 Crystal Report migration to x64 server
Hi,
We use crystal report for taking report direct to print with some barcode. We used to program in 2003 server 32 bit.
Then we migrate it to 64 bit but when we try to print report it gives error. I attached error. It says 'UFL U2lbcp.dll that implements
this function missing.'
I tried to register this dll into 64 bit server but i did not figure out error. I searched every action and tried every suggestion. Bu I have not
figured out yet. Please help me this is very important for me.
Best Regards.
Printing problem at client site using SAP crystal reports
After installing the project at client site, printing reports are not working and throwing error.
I am using Visual Studio 2010 professional, code is in C#, reports are in SAP crystal reports, .NET framework 4, backend is MS SQL Server.
Error Message: "Could not load file or assembly 'CrystalDecision.Windows.Forms.Version = 13.0.2000.0, culture=neutral Public key token ....................... or one of its dependencies. The System can not find the file specified."
I have tried installing crystal reports for visual studio runtime but failed.
Your guidance will be highly appreciated.
SP12: XP Pro Not Supported
According to this:
Windows XP Pro is no longer a supported platform.
At what SP level was support for XP Pro dropped?
Crystal Report is not Showing up when called in VB.net 2010
I created a report in Crystal reports 2013 and am now trying to display that report within an application that I am writing in vb.net 2010.
The form displays fine except the viewer shows an error that reads:
"An error occurred during local report processing. The definition of the report 'h:\reports\rptBookings.rpt' is invalid. The report definition is not valid. Details: Invalid character in the given encoding. Line 1. Position 1."
I have a form with a report viewer on it, and am trying to assign the report to the viewer so that when the form is shown the report will also get displayed.
Here is the code that I have set:
rvReports.LocalReport.ReportPath ="h:\reports\rptBookings.rpt"
Notes: rvRepports is the report viewer
Message was edited by: Ludek Uher
Report won't open windows 8
Hi,
My application will reports perfectly fine in Windows 7, but when on Windows 8, the reports load but keeps loading and loading and the report never show up, what is the issue, and how can I solve it?
Thank you,
Jean-Philippe
NullReferenceException when using ExportToHttpResponse
Hi,
I have a .net application where number crystal reports are invoked and generated as PDF through ExportToHttpResponse function. On the current Windows server 2008, all reports are running fine with no problems. We are in the proccess to a newer version Windows Server 2012 R2. After deploying the crystal runtime 32bit on the new server, most of the reports are running with no issues; however some reports are giving NullReferenceException in the EromReportSourceBase.ExportToStream when running them in from the new server. I have compared almost all configuration in the old and new servers and ideally everything is the same. Just to add, the reports that are not working are expecting
DataTable as dataset in subreports.
Error:
[NullReferenceException: Object reference not set to an instance of an object.]
CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +1130
CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +649
CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options) +98
CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName) +98
CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName) +123
Error line:
report.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, false, "BPA_Report");
Thanks.
Abdullah
Does Developer Version for Visual Studio support the new Visual Studio 2013 Community Edition?
The CR for VS Updates and Runtime Downloads page (http://scn.sap.com/docs/DOC-7824) only says that the Developer Version for Visual Studio "does NOT support Express Editions". The Supported Platforms document (http://scn.sap.com/docs/DOC-21990) only lists "Professional, Premium, and Ultimate" for VS 2013, but that document hasn't been updated since Microsoft announced the Community Edition.
So, does the SAP Crystal Reports Developer Version for Visual Studio support the new Visual Studio 2013 Community Edition that Microsoft released last month? (I'm currently using VS 2013 Professional on a 90-day free trial, but would love to save the money if the Community Edition would meet my needs.)
Thanks.
Label height wrong
Since we moved to Crystal 13 all the label reports are not printing correctly anymore.
If we have a report (e.g. Herma 4450) printing 3x9 labels the last label on the page is almost half a label height off.
Has anything changed in printing labels, do we have to recreate all the reports?
Thomas
Parameters prompt users for values even after they have been set, Crystal Reports 2010, SP13
We recently upgraded to Crystal Reports 2010 to SP13, and reports that have been running for years are now prompting the users to enter report values. Oddly enough some reports have started prompting for values while others do not, and there seems to be no difference in the parameter definitions. These are reports that have already had the value set using the SetParameterValue('parametername',value) before being assigned to the Report Viewer. I have tried checking to make sure that the values are being passed as discrete values, as in some cases passing a nullable value does not work, e.g.
If parametervalue.hasvalue then
rpt.SetParameterValue('parametername',parametervalue.Value)
else
rpt.SetParameterValue('parametername',parametervalue.Nothing)
End if
I have also tried using the generated parameter values that come with the underlying report VB to set the values:
With Me.Parameter_InvestorID.CurrentValues
.Clear()
.AddValue(value)
End With
'Me.SetParameterValue("@InvestorID", value.Value) ' old method
Same results - the user still gets prompted, regardless which of these two methods gets used.
I have checked the definitions for the parameters and the following is typical - this parameter example was created by connecting to a Stored procedure in SQL Server.
Name: @InvestorID Type: Number List of Values: Static
Value Field: (None) Description Field (None)
Show on (Viewer) Panel: Do not show.
Optional prompt: False, and will not let me change it.
Default value null
Allow custom values is true
Allow multiple values is false
Allow discrete values is True
Does anyone have any suggestions as to why SP13 should suddenly start prompting users for parameters, when everything was working (barring SP12) up until then?
Thanks, Neil
How to get News Gothics Font in Crystal Report 2008?
I want to change the existing font to News Gothics, but there is no such font name in my list. Do I have to install a new font class?
If, Yes please provide me the link, and do I have to install that on BO server as well?
Also, there is no such weight in the list named as "Demi"? How to get that in the list as well.
CR 2011 UFL & .net 4.0
Trying to use a library function from a .net 4.0 class library, COM enabled and registered in the GAC (4.0 GAC), in a CR Report (CR 2011) and the formula builder doesn't see my library in the GAC. Does CR 2011 not see the 4.0 GAC?
Regards.
Web Service making new connection in Crystal Report
I have been using the WCF web service as a data source in my Crystal Report 2008.
Is it possible to have single connection, and all methods to be listed in the same, similar to what we have in SQL data source?
Because every time I have to make a new connection and choose a method which is to be used in the sub report, this leaves me with 10 connections for 10 sub-reports.
Kindly guide me in case I am doing something wrong.
Error in File - Unable to connect: incorrect log on parameters.
Hi Ludek
As you suggested
I have updated SP12 in my system , but still the same issue.
So please help me, i am providing you all the information related to my application.
Database used- MS ACCESS
Connection type used-- OleDbConnection
Win or web app - windows
OS -- windows 7 (32 bit) , but i have tried windows 8 - 64 bit (in both os not working).
Code used- vb.net
Does the report work in dev and fails when app is distributed, or does it fail in both environments? - In both environment it will get fail.
Does the report work in the CR designer? -- no.
getting the below error.
Please do the needful.
Mixed Mode assembly is built against version ‘v2.0.50727’
We are in the process of developing a POC for migrating application to 64 bit, and from Windows 2003 server(32 bit) OS to Windows 2008 R2 Server 64 bit for workstation and Windows server 2012 Server 64 bit. We are using crystal report v 11.0.5 at present and as part of this migration we have identified Crystal report developer version for Visual Studio 2010 - CRVS2010 V13.0 as the right version to use in the new environment. We are using visual studio 2010 for development. After installing the new version and the 64 bit run time on both server and workstation machines and trying to generate the report, we get the below error. Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. Tried the solutions suggested in this page : http://scn.sap.com/thread/3251872 In the above thread, the solution says we should not have runtime installed in the development environment. However, if I uninstall the runtime on the workstation machine, I get a different error. We are not able to resolve this issue. Any help on this is much appreciated. Best Regards Shwetha
Problem with passing Parameters into Report
Hello,
i have upgraded my Solution to VisualStudio 2012 and CrystalReports 13.0.5 and now 13.0.7.
The Problem i'm facing is, that i can pass parameters to my Reports, but the report ist not using them for grouping or dataselection.
I can see the passed parameter on the Report(for example det start and the enddate), but they are not used like the shoud be for selecting data!!
If i use an old report, created in VisualStudio2008, then everything works fine, if i one edit the report, the report is never working again!
I tried 3 different Versions of CrystalReport including the newest trialversion, the result is the same!
I also tried 2 different PC's on with i'm working and 3 different clients(where the software is running), everywhere the same!
The problem is the same with every project i use!
I tried everything else i coud imagin including days of internetresearch, but i did not found a single user with the same problem!
This Problem is very serius for me and our company, because we can not deliver any update to the projects currently in use!
Please help!!!!!!
Developing on:
Win8 x64
VisualStudio2012
CrystaReports CRforVS13.0.7 + Runtime 13.0.7
Applications are written in VisualBasic
Database SQL-Server 2008
Set Parameter in CR.
Hello All,
I have created a parameter in my C# coding as : cryRptLabDetails.SetParameterValue("TotalLABPaidAmount", paidamt);
I want to come this in my crystal report in parameter tab. So how can I do it?
Thanks.
Using a hyperlink, can I pass a value from a report to an external program?
I want to call an external program from a report using a hyperlink where the hyperlink needs to take a value from the report, a customer number. This customer number will be sent to the hyperlink which will use it to bring up that customer's record for editing. I actually have a batch file instead of an html file, and I want to send the batch file a customer record. The batch file calls an external program which accepts the customer number and brings up the customer's record for editing in a windows form. I don't have to use a batch file. I could use a link to an html file so long as I can pass the html file the customer number.
Thank you for your help.
Problem migrating reports. Parameters are not used by report
Hello,
I'm upgrading an old software developed with VS2008 and Crystal Reports for VS2008. I'm trying to migrate reports to a recent version, i've tried with VS2013 and Crystal Reports Runtime (x64) 13.0.12.1494
The problem I'm facing is that i can pass parameters to the reports but the report is not using them. If i use the preview from the report there's no problem but passing the parameters from code or even letting the report prompt ask for them cause the problem.
It doesn't matter the type of parameters (number, string, datetime), the report has the same behaviour for all of them.
W8.1
VB.net
.Net Framework 4.5
VS2013
CR Runtime 13.0.12.1494