Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all 3636 articles
Browse latest View live

Need a 64-bit version of CrystalDecisions.CrystalReports.Engine.dll

$
0
0

Is there a version of CrystalDecisions.CrystalReportsEngine?  I need a 64 bit version to get a successful result.  I installed the Visual Studio plugin and checked the 64 bit runtime. 

I can only find the 32 bit version in the following directory

 

C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .Net Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.CrystalReports.Engine.dll.

 

I noticed under

 

C:\Program Files (x86)\SAP Business.........\SAP BusinessObjects Enterprise XI 4.0\ there is a win64_win64 but no where in there is a CrystalDecisions.CrystalReports.Engine.dll

 

The app works fine in 32 bit but we cannot deploy it in 32 bit mode because of other 3rd party products.   Is there a 64 bit I can download and install?   I thought I did and expected it to be in C:\Program Files but no SAP products are there. 

 

Please help.

 

thanks,

 

Mike M.


WPF .NET 4.0 Blank Report but Export Fine and Data There...

$
0
0

Before you bark at me I have spent the last hour looking for solutions on this forum, however most of the issues are related to IE9 or ASP.  -- Does not help as this is a .Net WPF Application with the WPF Viewer.

 

Development Environment:

VS 2010 Professional

CR for VS2010 SP 4

Windows 7

 

 

Deployment

.Net 4.0 Framework (Not Client)

Windows XP

CR 32 bit 13.4 Runtime

 

Issue: Reports run fine on development machine data shows up as expected.

 

On the Deployment machine, with the WPF Viewer the headers and footers etc show on preview but no data is visible.  When you export to Excel or PDF the data is clearly visible and look as expected.

 

there are no issues with permissions to data or login to database as the data would not be there on export if it was

No Error messages are being reported

 

Happens for all reports at the moment on deployed machine.

 

The reports are not complex,  one crosstab table and standard display data..(two groups and on detail section)

 

Can anyone please point me in the right direction to resolve!!

Printing with CRViewer print button freezes the ASP.NET page

$
0
0

Hello,

 

Using IE8, with a VS2010 project and the CR for VS2010 SP1.

 

My page loads fine and the report viewer loads the report perfectly.  If I choose to go to a different page, refresh, search, go to the next page, ect. everything works fine...  EXCEPT the print button.

 

After the report is created and displayed I click on the CRViewer toolbar print button. The print dialog displays and I can print normally but after printing the report is unresponsive. It takes a Ctrl +F5 refresh to bring the application back.

 

All other buttons, export, refresh, GroupTree all work normally and do not effect the report. It is only the print button that makes the report unresponsive.

 

I changed the print mode to "ActiveX" in VS2010 and this fixes the problem for most people. Sadly, I need the print to PDf to work since some of our thin clients do not allow ActiveX due to security restrictions.

 

I am working with the most up-to-date version of CR, I believe that is version 13.0.2000.0 or the 13.0.1.220. My code for creating the report is in the "Page_Init" function.

 

The only visible error is thrown by IE when the page finishes loading, it says done with errors. The error is "Can't move focus to the control because it is ivisible, not enabled, or of a type that does not accept focus." When I run the application and click the print button on the CRViewer toolbar Fiddler2 shows it launching "application/pdf" but nothing happens after that even after a successful print.

 

The main problem is that the Response.Redirect is throwing the exception "Response is not available in this context." with a type of 'System.Web.HttpException'....

Thank you,

 

Kaempf

 

Edited by: ASKaempf on Jul 13, 2011 3:47 PM

Getting Crystal Reports to work with Visual Studio 2012

$
0
0

Hi Everyone I am having issues with getting Crystal Reports to work with VS 2012 and I read there was a way to make Crystal Reports think it is working with VS 2010 and wondered if anyone knew how to do it?

 

Thanks a bunch

Slow Crystal reports printing

$
0
0

Hi,

i am printing a 1000 Pages report, the report contains 2 sub reports, the problem is that it is taking almost 20 minutes to start printing, and on more records like around 3000 records printing newer starts,how can i print this report, so the printing can start quickly, is there any solution or workaround for it,please note that if i remove sub reports from the report it works fine, but i cannot remove sub reports due to my design limitations.

 

thanks in advance

Crystal Report for Visual Studio 2010 and MySQL report not working with IIS

$
0
0

Software and Component detail

_______________________________________

Microsoft visual studio 2010

MS .NET Framework

Version 4.0.30319 RTMRel

 

MYSQL SERVER Database

Version 5.5

MySQL Connector 6.6.4 64 Bit

 

MySQL ODBC Driver Version 5.2.a

 

Crystal Report for Visusl Studio 64 Bit 13.0.5

(CRforVS_redist_install_64bit_13_0_5)

 

Current Setup

_____________

 

1. I have WebSite in ASP.NET Visual Basic which works fine and is connected to MySQL Database, using MySQl Connector 6.6.4 64 bit

and is using a connection string,defined in web.confg.

  2. I am using a Crystal report( It is very complex report, so cannot dare to redo it). Data Source for the report is set using a connection string

DRIVER={MySQL ODBC 5.2a Driver};SERVER=Licensedb;DATABASE=License;pwd=root;PORT=3306;OPTION=3 and this report is called from website using the below code

             Dim crystalReport As ReportDocument = New ReportDocument()

            Dim repPath As String = Server.MapPath("~/Reports/") + "LicenseReport.rpt"

            crystalReport.Load(repPath)

            CrystalReportViewer1.ReportSource = crystalReport

            crystalReport.SetParameterValue("InstanceID", CInt(Session("sessionInstanceID")))

            crystalReport.Refresh()

            crystalReport.SetParameterValue("InstanceID", CInt(Session("sessionInstanceID")))

            CrystalReportViewer1.Visible = True

 

3. The above setup works fine, when I run the website from Visual studio 2010. But when i use IIS 7, the aspx page having crystal report viewer control load and its blank.

However it work very well from studio it self.

 

4. So I changed the setup in point 2, by having a ODBC Data source defined. And changed the report accordingly. It work fine in Visual studio , but from IIS

it gives error "Failed to Open Connection, Failed to Open Connection <Crystal Report File name.rpt>"

 

5. I tried creating a System DSN and same connection string in IIS Application Connection string. But nothing changed.

   

Please can anyone point in correct direction. I must admit this is my first website development work, so I might have overlooked some minor details.

Any help would be much appreciated.

 

 

Thanks

Dilpreet

crystal reports for visual studio does not export imb font to pdf

$
0
0

here is my configuration:

 

        Visual studio 2005  8.0.50727.762 (sp.050727-7600)

        .new framework 2.0.50727 SP2

        Crystal reports  file version 10.2.51014.0   assembly version 10.2.3600.0

 

problem is:

 

     intelligent mail barcode font is displayed in designer, able to export excel and word, does not export to pdf (operation not yet implemented).

Crystal Report - Need to print the report continuously without page break, the printer is a POS printer with continuous paper feed.

$
0
0

Hi all,

I am customizing POS solution for my client and my client is using POS printer that supports continuous paper feed.

 

I have designed the receipt using crystal report.

I have displayed Company Detail, Cashier Info in Report Header.

Cash Received and Change displayed in Report Footer.

The purchased item displayed in Details Section as there might have more than one items purchased.

 

The dimension under the page setup is Horizontal: 7.5 cm, Vertical: 10 cm.

The horizontal is measured with ruler and accurate whereas vertical is a random number.

 

I have set the top and bottom margins to 0.00 so that when I print, it will be continuous with the previous page content.

However, I cannot avoid page break if the purchased item not fully utilize one single page, the Report Footer content always displayed in one new page.

This causes the previous page left a big blank area.

 

How to fix this? Please let me know if you have a better idea to achieve this requirement.

Or is it possible to change the Vertical on runtime, but the purchased item details could be short or long (Multiple line is enabled) and I have no idea how many lines of one purchased item detail it could occupy.

 

Thanks in advanced.


No way to resolve conflict between "log4net

$
0
0

I recently installed Crystal Reports 11 for Microsoft Developer Studio 2010 using the CRRunTime_32bit_13_0_5.msi on a Windows 7 64 bit system.  I then created a C# (.NET 4.0) assembly with the report viewer then referenced this assembly from another C# (.net 4.0) assembly. 

 

When I build the assembly that references the CR assembly I get the following message: No way to resolve conflict between "log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a" and "log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304". Choosing "log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a" arbitrarily.

 

I found this blog post:
http://scn.sap.com/thread/3167651

but the fix there did not fix my problem.

 

Note all my assemblies are build for .NET 4, but the references to the CrystalDecisions assemblies are showing as .NET 2.0 even though the path to the assemblies shows as a 4.0 path (C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet)

Error while installing crystal template in visual studio 2010

$
0
0

Hi,

 

I am facing an issue while installing ms visual studio 2010 professional .The installation returns msi error code 1603 ,since the installation of crystal template which comes along with the visual studio installer failed. I have posted a query in mdsn on this ,link to the query

 

http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/31cad01f-d084-4f75-943f-34399e4215c0

 

Posting my query in the Crystal reports forum here, as per suggestion from msdn .....also please find the error log with respect to crystal template install ,while installing visual studio 2010..

 

This is a very urgent issue for me  and hopiing to get a response asap....

 

Thanks in advance!

Response.Redirect not working after printing CR

$
0
0

Using Visual Studio 2010 sp1 with Crystal for VS 2010. Web app running as a web application in x86 mode  using .NET 4.0 framework.

 

I recently created a CR with a sub-report and it previews and prints just fine.  However, after I PRINT the report, my code behind in the ASPX file is not recognized and thus fails. 

 

For example, I created a 'Back' button to redirect the CR aspx back to the calling aspx file and it works just fine if I only view the report.  If I click on the printer icon located on the report viewer toolbar, the button stops working.  In fact, none of the code behind syntax is recognized and the aspx file just does a page_load. 

 

I know this code works because it does work if I DON"T print the report:

 

    protected void btnBack_Click(object sender, EventArgs e)

    {

 

        Response.Redirect("~/NewCase.aspx");

    }

 

I also have a 'Submit' button that changes the data parameters for the report and it works great but after I print the report, it will not work either.   (I've tried to upgrade to sp2 but I get an error with the installation process... so still trying to figure that out.)

 

    protected void btnSubmit_Click(object sender, EventArgs e)

    {

 

        CrystalReportViewer1.RefreshReport();

    }

 

To summarize,  All the code I listed works fine if I do not try to print the report and just view it.  After I click the printer icon, the code stops being recognized and the aspx page just refreshes. 

 

I've searched for help on the web for a couple of days to no avail; so I am thinking it must be some issue with the report viewer. 

 

Any help would be greatly appreciated.

 

Paul

Barcode not shown while export to PDF

$
0
0

We have web applications developed in ASP.NET and C#. we are use Crystal Report for Visual Studio 2010 for our reports (version 13.x). We have barcodes in some of our reports. we are using IDAutomationHC39M. Recently we upgrade our server to Window server 2008. After the server upgrade, we are not able to print the barcode when we export it to PDF. its just shows the string instead of barcode. we can see the barcode in the report before we press "print". But it shows the barcode in my development machine which is running on Windows 7.

 

Pls Help. We are stuck with this because couple of critical reports are not able to print barcode.

 

 

Regards and thanks

krishna kumar

Background color problem in embedded field in crystal reports

$
0
0

I have following format in crystal reports

text1

text2

text3

 

i placed these all 3 fields in text field in crystal reports for proper alignment when they grow vertically,

my problem is that i need to change background color for text2 field,

how can i achieve this

 

i m using crystal reports for .net 2005

Crystal Reports Runtime Installation error

$
0
0

I am facing the following error when installing the Crystal Reports Run time environment on a Windows 7 32 bit machine:

 

Error1904. Module. C"\Profram Files\SAP Business Objects\CrystalReports for .Net Framework 2.0\Common\SAP BusinessObjects Enterprise XI 4.0\..\dtsagent.dll failed to register. HRESULT - 1073741819. Contact your support personnel.

 

Can some one please help?

 

Thank you.

ExportPDF freeze without any message

$
0
0

I use Crystal report for SAP B1 (crystal report Basic 2008)  in a visual studio 2005 vb application.

When I export the report in pdf nothing appends an no message appears.

Can anyone help me ...

 

 

      Try

            Etat = New CR_Etat

            Etat.FileName = PathRpt

            Etat.DBConnect()

            If ModeDebug >= 9 Then Console.WriteLine(" DEBUG ExportImpCarteBL Etat.DBConnect OK")

            Etat.Parameter("DocNum") = NumBl

            Etat.Parameter("LineNum") = LineNum

            Etat.Parameter("ItemCode") = ItemCode

            Etat.Parameter("CardNum") = CardNum

            Etat.Parameter("MontantCarte") = MontantBarcode

            If ModeDebug >= 9 Then Console.WriteLine(" DEBUG ExportImpCarteBL Etat.ExportPDF NOK")

            Etat.ExportPDF(PathExport)

            If ModeDebug >= 9 Then Console.WriteLine(" DEBUG ExportImpCarteBL  Etat.ExportPDF OK")

            Etat.Report.Close()

            If ModeDebug >= 9 Then Console.WriteLine(" DEBUG ExportImpCarteBL  Etat.Report.Close OK")

            Return True

 

 

The Log shows

...

DEBUG ExportImpCarteBL Etat.ExportPDF NOK

...

and nothing append after.

Restarting the application should sometimes resolve the problem!!!

Help !!


Custom Size mail label - how to pre-set the default paper size?

$
0
0

I created a custom size mail label using the size 67mm x 36mm with a left margin of 2mm and a gap of 2mm, but I need the label to be on an A4 size sheet. I have 3 columns and 8 rows of labels

 

But when creating the custom label the template uses Letter size paper and not A4 even though the default printer paper is set to A4

 

How do I preset the paper to be A4 for the template before entering the label sizes and margins?

 

The problem is that presuambly the template calculates the labels based on the wrong parameters due to the paper size being incorrect. When I print the labels the left hand margin reduces from the 1st column to 2nd cloumn and then the 3 column, so that I start for example with a 3mm left margin on the first label and then have no left margin on the third column

 

Any assistance appreciated

Last letter of the field cut off instead of can grow option is selected ??

$
0
0

Hi,

 

I am using Crystal Report 13 with Service Pack 5 and Visual Studio 2010.

 

I am facing a text cut problem while printing the record. In description field when it has more than 1 line of data then the last letter are cut but on screen it is perfectly visible.  (Can grow option is already selected)

 

I am guessing that this issue related to http://scn.sap.com/message/10956530#10956530

Reproduce able report link https://www.dropbox.com/s/qj3bi9hvudanxqm/CrystalReportError.zip

https://www.dropbox.com/s/qj3bi9hvudanxqm/CrystalReportError.zip

 

Please advice what to do ?

 

Regards,

Manish

Does the new SP5 API release expose any additional RPT file properties?

$
0
0

I am CEO of a software tool vendor that maintains a bulk dependency search & documentation tool for Crystal Reports, called Find it EZ Code Search.    We have had many clients request access to certain properties and attributes that were not exposed with versions of the Crystal API prior to the latest 13.0.5 update, namely:

 

  • File -> Summary Info -> Document Properties -> Statistics tab/panel ( all field data )
  • Cross Tab properties ( from the Cross-Tab Expert, Cross-Tab panel )
    • Colums
    • Rows
    • Summarized Fields
  • OLAP cubes ( need to expose data source fields used within the cube )

 

Are any of these available in the latest SP5 API released?  If not, could they be in a future release?

Is there a CrystalReportsRedist2008_x64.msm file to creat a Merge Module?

$
0
0

I have Windows Server 2008 R2 with Visual Studio 2008 and a C#.Net with Crystal Reports.  The C#.Net application was originally in Visual Studio 2005 on an XP machine.  I am trying to create a Windows Installer to be able to run this application on other Window Server 2008 R2 boxes.  I was looking for a CrystalReportsRedist2008_x64.msm file to create a merge module.  Any Help?

What are the required Crystal Reports dependancies to run Crystal Reports Apps on a Server that does not have Visual Studio loaded?

$
0
0

I have a C#.Net application in Visual Studio 2008 with Crystal Reports on Windows Server 2008 R2 64 Bit.  Do I need to create a Merge Module along with adding assembly in the setup to create an installer so that the C#.Net App with Crystal Reports will run on a Server that does not have Visual Studio installed.

Viewing all 3636 articles
Browse latest View live


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