Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports, version for Visual Studio
Viewing all 2556 articles
Browse latest View live

BusinessObjects.Foundation.Logging.dll dependency issue

$
0
0

I'm in the process of developing a .Net Winform application for my client, to automatically schedule the execution of a number of Crystal Reports (existing .rpt files), and export the results in PDF and Excel formats, using the Crystal Reports API to load, run and export the reports.

 

I downloaded and installed the SAP Crystal Reports, developer version for Microsoft Visual Studio version v.13.0.10.1385 (Service Pack 10 - I'm waiting for my Client to provide access to download Service Pack 14!), and I'm using Visual Studio 2010, and developing against the .Net 4.0 framework.My client laptop is running Windows XP.


I also have Crystal Reports 2011 (Version 14.0.2.364 RTM) installed, which I use to design and manually execute Crystal Reports .rpt files.

 

The application works fine when executed within the context of the Visual Studio IDE/debugger.

The application also works fine when I build the Release version, along with an installer, install it onto my development laptop and execute it outside of Visual Studio (i.e. as it is intended to be executed on a "production" machine).

 

However, when I install the application onto a separate Desktop (running Windows XP, with the .Net 4.0 framework installed), I get exceptions raised due to a missing dependency that CrystalDecisions.VSDesigner.dll relies on.

 

Looking back at the build log, there is a warning against the building of the installer that states:

 

Unable to find dependency 'BUSINESSOBJECTS.FOUNDATION.LOGGING' (Signature='692FBEA5521E1304' Version='13.0.2000.0') of assembly 'CrystalDecisions.VSDesigner.dll'

 

I have searched my complete hard drive, and cannot find BusinessObjects.Foundation.Logging.dll anywhere on it.

 

So what am I missing, and why does the application function correctly when executed within the context of the Visual Studio debugger and on the development machine outside of Visual Studio? Is the dependency (if it's a real one) being met by some other assembly?  How can I fix this issue?


Thanks.


Crystal Reports preview doesn't match printout

$
0
0

Our users are complaining about overlapping columns in their report preview, see below

crpreview.PNG

but it turns out that the printout is actually ok:

 

printout.png

Is there something we need to do to make the preview more accurate?  Thanks. 

 

Maricris Villareal

PrintMode.PrintOutputController Doesn't Print Drill-Down

$
0
0

SP14, Cr4VS, Winform, vb.net

 

After setting the viewer PrintMode to the new PrintMode.PrintOutputController
printing when the viewer is displaying a Drill-Down prints the main report instead.

 

This is probably a bug.  Let's hope it can be fixed by next service pack.

Crystal Reports for Visual Studio 2015 - Some icons missing?

$
0
0

Hi,

 

I had a completely clean virtual machine with Visual Studio 2015 RTM. In this Virtual Machine, I installed Crystal Reports Support Pack 14 (v.13.0.14.1720) and everything looks great, except some icons are missing in the command bar:

 

2015-07-28_08-56-01.png

 

Is this a known issue?

 

Thank you very much in advance!

 

André Lima
Microsoft MVP - Windows Application Development

Display chinese character in Crystal Reports

$
0
0

Hello,

 

The chinese characters do not show properly in Crystal Report, which the ASP.NET and Database can display the data correctly.

I tried to switch to MingLiU and Arial Unicode MS, however it is no use.

I tried to switch the locale / non-unicode from english to chinese.

 

Platform in use: Server 2008 english

Crystal Report: 2005

 

However, it works fine with Windows 7 (chinese) platform.

Any suggestion, thanks.

PrintMode.PrintOutputController Doesn't Recognize Saved Paper Tray Setting

$
0
0

SP14, Cr4VS, Winform, vb.net

 

In Crystal Designer, a choice of paper tray (e.g., Tray 3) is recognized in future print sessions as demonstrated by this image: 2015-07-28_1442 - IdoMillet's library

 

However, when opening the same reports, on the same machine, via a winform application using the PrintMode.PrintOutputController the print dialog doesn't recognize the saved paper tray. Here is an image of the dialog: http://screencast.com/t/GmHi3mgW7

 

Will this be fixed in a future SP?  If not, what is the recommended solution?

ReportDocument Session not working after setting session state to "StateServer"

$
0
0

Hello,

  We have been using Crystal Reports Version 13.0.9 for Visual Studio 2010 and implementing the report using a crystal object viewer control in an ASP.NET page.

 

We have been using "In-Process" for our session state in our web servers (using IIS 7.5).  We are ready to go to a Web Farm using State Server for our Sessions.

 

Our hang up is with our crystal application.  The report will RUN the first time it opens.  If we attempt to interact with the report in any way (select the next page, select the next record, print etc...) it hangs up and we eventually (it takes some time...like a few minutes) get the dreaded "Database Vendor Code 17, failure to connect" Error.

 

We have basically debugged to the following line of code where it attempts to set the ReportSource to the already existing ReportDocument object which we place in a Session object:

 

if (IsPostBack)

{

    //where reportViewer is the crystalreportviewer control

    reportViewer.ReportSource = (ReportDocument)Session["Report"];

}

 

There is no doubt in my mind that changing our method of saving the Session State is affecting this line in "some" way.  I know that all classes need to to be Serializable, but previous searches indicate that ReportDocument is in fact Serializable.  So I don't know what else we are missing.

 

Here is some technical stuff that may be helpful in solving this:

1.)  We are using the "Push Method" for setting DataSources

2.)  We use SQL Server 2012 on a remote server within our Domain of the Web Server

3.)  We are using Crystal Reports Version 13.0.9, but I upgraded to 13.0.13 to see if that solved the problem...it did not (same issue)

4.)  When creating the report object, we do use a ReportFactory class to assist with load control.  See below for a snippet of this:

 

objReport = ReportFactory.GetReport(objReport.GetType());

objReport.Load(crystalPath + rptName);

 

public class ReportFactory {

 

protected static Queue reportQueue = new Queue();

    

protected static ReportDocument CreateReport(Type reportClass) {

     object report = Activator.CreateInstance(reportClass);

     reportQueue.Enqueue(report);

     return (ReportDocument)report;

}

 

public static ReportDocument GetReport(Type reportClass) {

     //75 is my print job limit.

     if (reportQueue.Count > 70) {

          ((ReportDocument)reportQueue.Dequeue()).Dispose();

          GC.WaitForPendingFinalizers();

          GC.Collect();

     }

     return CreateReport(reportClass);

}

 

public static int getLength() {

     return reportQueue.Count;

}

 

}

 

Any suggestions?

 

Thanks!
Lawrence Giles

Visual Studio 2015 for CR

$
0
0

Hi, Which edition of VS 2015 supports CR 2013. On a Windows 7 32 bit OS I tried installing once VS 2015 community and then VS 2015 Professional(Trial) along with Support Pack 14(v.13.0.14.1720). I get the below message and error.

 

 

 

 

 

I tried running only the MSI file from the SP 14 but no luck Crystal Reports for Visual Studio 2015 RC

 

 

Thanks for you help in advance

lmaz


Crystal Report 2013 Supported by MSVS2015

$
0
0

I'm looking for the newest Developer Version of Crystal Report and where can I get the merge modules for it for distribution, I'm also wondering if it's supported by the new Microsoft Visual Studio 2015 Professional?

 

Thanks in advance

What file to download so sap crystal reports run on a user's workstation when running a vb.net 2010 desktop application

$
0
0

I have a V.Bnet 2010 desktop application that is correctly using the corresponding SAP Crystal reports. The .net framework is 3.5. I have this application running correctly in Visual Studio.net 2010. Now I want to have the application execute on the users Windows 7 64 bit workstations. I do not want to install visual studio on the user's workstation. I just want to install enough of the version of SAP crystal reports on the user's workstation so that the reports can be generated.

 

From what I have seen on the internet, the best download I can find is: CRforVS_redist_install_64bit_13_0_13.zip. Is this the correct file or do I need another file?

 

Thus can you tell me what I need to download for the SAP crystal reports to execute on a user's workstation? What do I need to  download and where do I obtain the download from? Would you point me to the correct link?

CrystalReport in VS2010

$
0
0

Hi Friends,

 

i am trying to use CrystalReport in VisualStudio 2010. for this task i have imported CrystalDecisions.CrystalReports.Engine dll(version:9.1.3300.0).

 

please find some question below:-

 

  • Am i using correct dll version in VisualStudio 2010?

 

  • I am creating ReportDocument object for loading the rpt file. now i start with build and run the solution but unfortunately solution din't run but at the same time i commented ReportDocument object then at that time solution is run successfully .

        so is there any version issue?

 

Please suggest on the above issue.

 

Many Thanks in advance.

 

Thanks

 

Rohit

Crystal Report with Visual studio 2013 aspnet_client/system_web/4_6_81

$
0
0

I am totally confused with behavior of SAP Crystal Report which i am using with Visual Studio 2013. When I run my ASP.NET Web Application, I am getting following folder pathaspnet_client/system_web/4_6_81/crystalreportviewers13/ instead of C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13. I do not have any such folder found in my IIS 7.5 C:\inetpub\wwwroot\aspnet_client\system_web). Can you please help me on this? due to this i am not able to see the report.

Please check the below screenshot for the reference

CRYSTAL.PNG

Problems using .NET to invoke CR 2013 vs CR 2008. Class

$
0
0

Got a customer with an application that integrates via .NET with CR.  They have code that worked with CR 2008 and are running into issues not that they are using CR 2013.  They just upgraded to BOE 4.1 from 3.1x and their programmatic invocation of reports is broken.

 

They have been spinning their wheel with SAP Support and getting frustrated.

 

Thought maybe one of you gurus might recognize this issue.  Is it a path setting,  a 64-bit vs 32 bit thing,  wrong version of CR etc?  The original class ReportDocument has a bunch of methods that don't seem to be supported any longer?  Is there a merge module, DLL missing?  See their problem description below:

 

 

"

We upgraded from BO 3.1 SP5 to BO 4.1 SP6. Within our .Net application,  we are invoking Crystal Reports 2008 (now Crystal 2013) through code but are encountering errors.   Below are the latest from our developer.  Please let me know if you can offer some assistance or point us to the right direction if you have seen similar error in the past.  Thanks in advance.   –

 

Latest:

 

  1. 1.       Exception: “Could not load file or assembly 'BusinessObjects.Enterprise.Sdk' or one of its dependencies. An attempt was made to load a program with an incorrect format.”

Still outstanding, waiting for the input from the BO team.

 

  1. 2.       A first chance exception of type 'CrystalDecisions.CrystalReports.Engine.LoadSaveReportException' occurred in CrystalDecisions.CrystalReports.Engine.dll

Additional information: Invalid report file path.

As per the suggestion given, ReportClientDocumentclass was used instead ofReportDocumentclass. But there are multiple properties/functions which are not available in the new class (and are widely used in the solution) but were available in ReportDocument as below:

  • oRptDocument.ReportDefinition.ReportObjects
  • oRptDocument.SetDataSource
  • oRptDocument.SetParameterValue
  • oRptDocument.RecordSelectionFormula

 

Can’t we have a solution to the existing problem in such a way that instead of using new class we should go ahead with existing class only (and sort out the issue with creating an instance of ReportDocument class).

"

 

I'm sure somebody can recognize this error - any suggestions would be appreciated.

 

Thanks

BusinessObjects.Foundation.Logging.dll dependency issue

$
0
0

I'm in the process of developing a .Net Winform application for my client, to automatically schedule the execution of a number of Crystal Reports (existing .rpt files), and export the results in PDF and Excel formats, using the Crystal Reports API to load, run and export the reports.

 

I downloaded and installed the SAP Crystal Reports, developer version for Microsoft Visual Studio version v.13.0.10.1385 (Service Pack 10 - I'm waiting for my Client to provide access to download Service Pack 14!), and I'm using Visual Studio 2010, and developing against the .Net 4.0 framework.My client laptop is running Windows XP.


I also have Crystal Reports 2011 (Version 14.0.2.364 RTM) installed, which I use to design and manually execute Crystal Reports .rpt files.

 

The application works fine when executed within the context of the Visual Studio IDE/debugger.

The application also works fine when I build the Release version, along with an installer, install it onto my development laptop and execute it outside of Visual Studio (i.e. as it is intended to be executed on a "production" machine).

 

However, when I install the application onto a separate Desktop (running Windows XP, with the .Net 4.0 framework installed), I get exceptions raised due to a missing dependency that CrystalDecisions.VSDesigner.dll relies on.

 

Looking back at the build log, there is a warning against the building of the installer that states:

 

Unable to find dependency 'BUSINESSOBJECTS.FOUNDATION.LOGGING' (Signature='692FBEA5521E1304' Version='13.0.2000.0') of assembly 'CrystalDecisions.VSDesigner.dll'

 

I have searched my complete hard drive, and cannot find BusinessObjects.Foundation.Logging.dll anywhere on it.

 

So what am I missing, and why does the application function correctly when executed within the context of the Visual Studio debugger and on the development machine outside of Visual Studio? Is the dependency (if it's a real one) being met by some other assembly?  How can I fix this issue?


Thanks.

IDAutomation font is not displaying on client machine crystal report

$
0
0

I am using IDAutomation Code128 UFL and i have created barcode in crystal report as per in the following link,

 

Crystal Reports Barcode Font UFL | Tutorials

 

Everthing working fine in my local machine. After i deployed into the server i can not able to view barcode in client machine crystal report viewer. It's working after i installed IDAutomation code128 font in client machine. Is there any option to display barcode in crystal report viewer without installing font into the client machine?


Password did not match that for the login provided

$
0
0

Hello,

 

I have researched and researched but yet found a solution regarding error message "18456, Severity:14, State:8", reason: password did not match that for the login provided.

 

Basically I have developed an asp.net website to host crystal reports with a login and roll membership. It is a pretty simple website that will allow management and other employees to view certain reports for the company depending on their roll.

 

I'm using 4.0 Framework with SAP Crystal Reports in VS 2010. My ODBC connection "both unit and system testing" is a 32 bit driver set to SQL server authentication using a login ID and password. The website is hosted on Windows Server 2008 R2 Standard using IIS 7.5.

 

My Crystal Report's datasource is a 'ODBC (RDO)' setup with DSN default property equal true.

 

The website is configured on IIS 7.5 to use the 4.0 Framework and its pipeline mode to use "Classic". My site's application pool is set on "NetworkService".

 

The username is NOT a domain name, but a username we created on SQL Server "SQL Server 2008 R2" for accessing specific databases. We have used this username in many websites currently in production and had no issues with it.

 

My database log indicates "Login failed for user 'xxxxxx'. Reason: Password did not match that for the login provided.[CLIENT:999.99.9.999]. Error 18456, Severity:14, State:8.

 

The password is not wrong because we are using this username with the same password in other websites that work perfectly. I don't know if this is a Crystal Reports issue or a webserver issue.

 

Please let me know what I can do to fix this annoying problem.

 

Thank you in advance!

Crystal Reports(Support Pack 14) Print and Export

$
0
0

Dears:

When use the lastest version of Crystal Reports for vs,we found a problem

 

if the report we desiged with parameter,we can not export or print

the export button show us nothing and the print button show us

11.png

 

The report with no para work normal

saving and retreiving crystal report

$
0
0

i am new in crystal reports. my scenario is:

 

I created a crystal report, set dataset as datasource and simply send it to printer. this goes fine.

 

Now i wanted to:

  1. Save that report to database in any format.
  2. Retrieve that report from database in any format.
  3. Set the report as send to printer

 

My code is as follows:

CrystalReport objRpt =newCrystalReport();
objRpt.SetDataSource= objDataset;
Stream objStream = objRpt.ExportToStream(ExportFormatType.CrystalReport)
//steam to byte array and then save byte array in database

 

what is the reverse code ?

Crystal Reports(Support Pack 14) RunCustomToolGeneration Problem

$
0
0

Dear all,

 

i have recently installed support pack 14, so when i do some design changes in my crystal report, its .cs file went empty automatically.

 

how can i resolve this issue, neither RunCustomToolGeneration is working to regenerate its .cs file

 

looking forward for opinions / suggestions.

 

Thanks, Have a good day.

Crystal Report not loading in Windows 10

$
0
0

I am using Visual studio 2010 with SAP crystal report 13.0.2.

It was working fine with windows 8. But after upgrade to windows 10 Crystal report not working/showing when running the application.Attached the screenshot. Please assist.

Viewing all 2556 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>