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

Visual Studio 2013 to open a Sage 50 Crystal Report (which is in 2008)

$
0
0

Is it possible to open a report using the latest runtimes and visual studio components (v13)?

 

I am trying to view a crystal report done in 2008 on a web site I'm creating. When I add the controls (CrystalReportViewer and CrystalReportSource with path to report) and run the page it asks me for credentials. I know I can programatically set them but I wanted to try to see if it worked at first. I plugged in the credentials and the popup for credentials kept coming back. It would never show the report.

 

I then tried programatically setting the login credentials and still would show the credentials popup.

 

Is this because of a version issue? Any ideas or suggestions? I only have visual studio 2013 and I'm hoping it's still possible to view the report on a web site.

 

 

Thanks in advance,

 

Miguel Martorell


Not showing all records into Crystal Report using C#

$
0
0

I am passing parameter field and showing report. But not displaying all records. Only showing last record.

 

Anyone help me,

CrystalReportViewer not printing correct size in actual application.

$
0
0

I cannot seem to figure out my sizing issue. When designing the report in VS2013 I configure all page setup setting correctly. When using the Main Report Preview while designing the actual report I can correctly print and preview my content with proper formatting/page setup settings.

When I create a form using a crystalReportViewer the preview and everything including the printer settings appear correct even when looking at the printer setting in the print dialog that pops up when clicking the print button on the reportviewer, however when I actually print to the printer it shrinks down my report almost like it's re-scaling thinking that the paper size is not correct adding a margin and shrinking my text.

 

Attached is examples of the exact issue I am referring to with code using to load the report viewer.

 

        public AssetLabelForm(string AssetId)

        {

            InitializeComponent();

 

 

            AssetLabel report = new AssetLabel();

            crystalReportViewer1.ReportSource = report;

 

 

            //creating an object of ParameterField class

            ParameterField paramField = new ParameterField();

 

 

            //creating an object of ParameterFields class

            ParameterFields paramFields = new ParameterFields();

 

 

            //creating an object of ParameterDiscreteValue class

            ParameterDiscreteValue paramDiscreteValue = new ParameterDiscreteValue();

 

 

            //set the parameter field name

            paramField.Name = "AssetNumber";

 

 

            //set the parameter value

            paramDiscreteValue.Value = AssetId;

 

 

            //add the parameter value in the ParameterField object

            paramField.CurrentValues.Add(paramDiscreteValue);

 

 

            //add the parameter in the ParameterFields object

            paramFields.Add(paramField);

 

 

            //set the parameterfield information in the crystal report

            crystalReportViewer1.ParameterFieldInfo = paramFields;

 

 

            //preparing root for preview

            crystalReportViewer1.ReuseParameterValuesOnRefresh = true;

            crystalReportViewer1.ReportSource = report;

            crystalReportViewer1.RefreshReport();

 

 

        }

 

 

 

CaptureVSDESIGNER.PNGIMG_20150328_140440_541.jpgCaptureApplication.PNGIMG_20150328_140703_689.jpg

Lines of text missing at page break

$
0
0

DETAILS:

 

I'm using CR 11.0.0.1282 to create and edit reports. Reports are targeted for a public website and are rendered as a PDF for viewing and printing. We are running 40 or 50 different reports on this particular website. One report is rendering incorrectly, others may be having trouble that we haven't discovered yet, but two other reports that are extremely similar do not appear to have the same problem.

 

On my local machine I'm running Windows 7 using IE 10.0

 

The target server is running Windows Server 2012

 

I am using Visual Studio 2010 to edit this particular website.

 

The CR runtime on both my local machine and on the target webserver is 13.0.2000

 

When I debug the website with Visual Studio on my local IIS server, the report renders properly and looks exactly like it does when I run it from the editor.

 

When I deploy the report to the webserver and browse to it from my local machine, the report scales differently with the first page coming to an end about two lines earlier than when it is being served from my machine and getting further off as you move down.

 

THE BIG ISSUE:

 

A text field that spans the bottom of the second page and the top of the third page is missing three lines where it spans the pages. The text field picks up three lines later at the top of the third page as if nothing is wrong. At first I thought the header or footer must be overlapping them, but suppressing the header and footer did not resolve the problem. I have tried every formatting trick in the book and nothing seems to help. Additionally, the problem does not appear limited to this one field. If the data is adjusted so that a different field hits the page break, it loses lines too. Data in these fields can be very long so checking "Keep Together" on the section expert or "Keep Object Together" on the "common" tab of the "format field" dialog is a poor solution and also does not seem to work when deployed to the server.

 

I realize that the problem is probably a printer driver issue. On my local machine I have several printers installed. On the target machine, only the default Microsoft XPS Document Writer printer is installed. I already tried changing my default printer to the XPS printer and checking the "No Printer (optimize for screen display)" option in "Page Setup".

 

 

Although I will be willing to try other formatting suggestions, the solution we really want is a server solution as we suspect that this issue may be affecting other reports on the server. There are hundreds of reports deployed on various websites on this server and hundreds more deployed on other servers within our organization.

 

 

Any suggestions?

crash call stack caused by crdb_adoplus.dll and crqe.dll on Crystal Report for Visual Studio 2008

$
0
0

Hi There,

 

i have an application running on C# .NET which use .NET Framework 3.5 SP1 and Crystal Report for Visual Studio 2008 x64. Now i'm facing the issue in application. suddenly my IIS crash , and the application is logout.

 

i have opened advisory case to Microsoft and they help me to analyze the dump from the application when the issue is happened.

 

here it is the stack trace :

STACK_TEXT: 

00000000`9b1dd160 000007fe`eb93946d : 00000000`9b1dd308 000007fe`eb931948 00000000`00000000 000007fe`eb931610 : verifier!VerifierStopMessage+0x1f0

00000000`9b1dd210 000007fe`eb939736 : 00000000`9b1ddb50 00000000`00000002 00000000`00000040 00000000`00000004 : verifier!AVrfpDphReportCorruptedBlock+0x2a5

00000000`9b1dd2d0 000007fe`eb9399cd : 00000000`b32f1000 00000000`9b1ddb50 00000000`00000004 00000000`00001000 : verifier!AVrfpDphCheckNormalHeapBlock+0xce

00000000`9b1dd340 000007fe`eb93873a : 00000000`9b1ddb50 00000000`01001002 00000000`cca0c3b0 00000000`00000000 : verifier!AVrfpDphNormalHeapFree+0x29

00000000`9b1dd370 00000000`770b99a5 : 00000000`00000000 00000000`00000000 000007fe`f25514f7 000007ff`05f0a1d1 : verifier!AVrfDebugPageHeapFree+0xb6

00000000`9b1dd3d0 00000000`7705dbc0 : 00000000`b32f0000 00000000`cc16afb0 00000000`b32f0000 00000000`cc16afb0 : ntdll!RtlDebugFreeHeap+0x35

00000000`9b1dd430 00000000`7704413d : 00000000`b32f0000 00000000`9968aa01 00000000`00000000 00000000`9b1ddb50 : ntdll!RtlpFreeHeap+0x19a70

00000000`9b1dd770 00000000`76ef307a : 00000000`00000001 00000000`9968aa40 00000000`9b1dd958 00000000`cc16afb0 : ntdll!RtlFreeHeap+0x1a6

00000000`9b1dd7f0 00000000`9739cabc : 00000000`00000000 00000000`9968aa40 00000000`000002a3 00000000`cc13ef28 : kernel32!HeapFree+0xa

00000000`9b1dd820 000007fe`f2550e37 : 00000000`00000000 00000000`24b20fc0 00000000`0000001b 000007ff`0604a340 : msvcr90!free+0x1c

00000000`9b1dd850 000007ff`05f05802 : 00000000`00000000 000007ff`0604f7c0 00000000`9b1dd958 00000000`9968aa40 : mscorwks!DoNDirectCall__PatchGetThreadCall+0x7b

00000000`9b1dd8f0 000007ff`05f0a231 : 000007ff`0604f730 000007ff`05f05802 00000000`cc16afb0 00000000`0000001b : DomainBoundILStubClass.IL_STUB(Void*)+0x42

00000000`9b1dd9b0 000007ff`05f0a1d1 : 00000000`cc16afb0 00000000`000007d4 00000000`9b1dd2e8 00000000`00000000 : crdb_adoplus!<Module>.DbFieldInfo.{dtor}(DbFieldInfo*)+0x11

00000000`9b1dd9e0 000007ff`05f0a177 : 00000000`0000001c 00000000`cc13ef20 00000000`00000000 00000000`00000000 : crdb_adoplus!<Module>.DbFreeFieldList(UInt32, DbFieldInfo**)+0x31

00000000`9b1dda30 000007fe`f254f18a : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : DomainBoundILStubClass.IL_STUB(Int32, Int64)+0x7

00000000`9b1dda60 00000000`9a506b36 : 00000000`0000001c 00000000`cc13ef20 00000000`00000000 00000000`00000000 : mscorwks!UMThunkStubAMD64+0x7a

00000000`9b1ddaf0 00000000`9a583538 : 00000000`bf35af90 00000000`bf9bcfa0 00000000`9b1ddd30 00000000`00000000 : crqe+0x16b36

00000000`9b1ddca0 00000000`9a6c1c64 : 00000000`bec28dc0 00000000`cd926e60 00000000`00000000 00000000`cbafcf20 : crqe+0x93538

00000000`9b1ddf90 00000000`9a6bc697 : 00000000`cd926e60 00000000`00000000 00000000`00000000 00000000`00000000 : crqe+0x1d1c64

00000000`9b1de000 00000000`b64fcab9 : 00000000`cd926ec0 00000000`9b1de0c0 00000000`00000000 00000000`b6dee2cb : crqe+0x1cc697

 

The crdb_adoplus tried free a corrupted Heap Block:

 

0:188> dt DPH_BLOCK_INFORMATION 000000009b1ddb50-40

verifier!DPH_BLOCK_INFORMATION

   +0x000 StartStamp : 0

   +0x004 PaddingStart     : 0

   +0x008 Heap             : 0x00000000`9b1ddb58 Void

   +0x010 RequestedSize    : 0x9b1ddb50

   +0x018 ActualSize       : 0x9b1ddb30

   +0x020 Internal         : _DPH_BLOCK_INTERNAL_INFORMATION

   +0x030 StackTrace       : 0x00000000`00000001 Void

   +0x038 PaddingEnd       : 0

   +0x03c EndStamp         : 0


is this problem solved by upgrading Crystal Report version to CR12 ?


Thank you,

 

Best Regards,

Leonardus Tono Amboro

IT Enterprise System Architect

PT Astra International Tbk.

AMDI A Building, 7th Fl.

Jln. Gaya Motor Raya 8. Sunter II, Jakarta 14330, Indonesia

 

Message was edited by: Ludek Uher Phone number removed - Please see the SCN Rules of Engagement

Crystal Reports distributable for Visual Studio 2008

$
0
0

I've developed a vb.net application for my company, deployed using 'Click-Once' and am having issues with the crystal reports distributable prerequisite for my app.  We are looking for support on this issue and I have been unable to locate anything online, except for this forum.

 

Can anyone guide me in the right direction?

 

Thank you!

I’m getting the below issue when I try to deploy a report with Dynamic parameters, when I deploy it with static parameters I’m not getting this issue.

$
0
0

I’m getting the below issue when I try to deploy a crystal report with Dynamic parameters in BI Launch Pad, when I deploy the same report with static parameters I can deploy and run it. I have Restarted the BI server, still the issue exitno use. kindly help me on this issue.

 

“This error occurred: Adding Crystal Report "CrystalReport1.rpt" failed. The server with kind rptappserver returned an error result. Failed to copy the report file to the report object. Refreshing the report object properties might have failed. Failed to read data from report file CrystalReport1. Reason: Failed to read parameter object”.

WPF Viewer throwing null exception on print.

$
0
0

My Setup is as follows:

 

Visual Studio Premium 2013

WPF Application, Any CPU, Net Framework  4

CRforVS_13_0_13.exe installed.

 

Report Created in Crystal Reports 2011

 

I am new to using Crystal Reports in Code and it's very possible that I missed a step somewhere but when I go to print the form from the WPF Viewer I receive a Null exception pasted below  BUT if I first toggle the selected printer and then click the apply button (grayed out until I toggle) then it prints without throwing an error.

 

Have I missed a piece of code somewhere?

 

 

Thanks in Advance

 

Gary Tummond

 

 

 

 

System.InvalidOperationException was unhandled

  _HResult=-2146233079

  _message=Nullable object must have a value.

  HResult=-2146233079

  IsTransient=false

  Message=Nullable object must have a value.

  Source=mscorlib

  StackTrace:

       at System.Nullable`1.get_Value()

       at SAPBusinessObjects.WPF.Viewer.ReportPaginator..ctor(PrintDialog dlg, ReportDocumentBase doc)

       at SAPBusinessObjects.WPF.Viewer.PrintControl.Print()

       at SAPBusinessObjects.WPF.Viewer.ReportAlbum.PrintReport()

       at SAPBusinessObjects.WPF.Viewer.ViewerCore.PrintReport()

       at SAPBusinessObjects.WPF.Viewer.CrystalReportsViewer.PrintReport_Executed(Object sender, ExecutedRoutedEventArgs e)

       at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)

       at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)

       at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)

       at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)

       at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)

       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

       at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)

       at System.Windows.Controls.Button.OnClick()

       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)

       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

       at System.Windows.Input.InputManager.ProcessStagingArea()

       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

       at System.Windows.Application.RunInternal(Window window)

       at System.Windows.Application.Run()

       at CountyStaleChecks.App.Main() in d:\Tfs\Indian River Programming\Individual\Gary\CountyStaleChecks\obj\Debug\App.g.cs:line 0

  InnerException:


What Crystal Product do we need to modify an existing report using VS2013?

$
0
0

Greetings,

 

     Our team is moving from VS2008 to VS2013. I install Crystal Reports for Visual Studio and pointing to the full .Net 4.0 Framework after upgrading an application to VS2013..

 

     The application that is being upgraded to VS2013 requires a Crystal Report to be modified.  This can be done successfully in VS2008 but not in VS2013.

 

     The Crystal Report dlls are referenced and the solution build properly.

 

     Finding I cannot view or modify a report. Did I install the wrong product?

 

     Is there a product we can download to modify a Crystal Report within Visual Studio 2013?

 

Crystal Reports: problem displaying justified text on the right

$
0
0

Hi!

i have a problem with crystal report for visual studio 2010

i try to display justified Arabic text on a text object/formula, the problem is the text does not show correctly on the viewer or printed

 

i tried to use rtf text and html text but nothing works

 

please help!

 

here is a little picture of my problem attached

 

cr2010.png

Update : I just tried with Visual Studio 2013 and CRforVS_13_0_13 still not working

Crystal Viewer Binding errors

$
0
0

I just migrated to a new PC with windows 8.1 pro. I installed visual studio community edition update 4 and crystal reports for visual studio version 13.0.13.1597. All installed with no problems. I have a vb .net project using the crystal report WPF viewer control.

 

All reports display correctly but I am getting binding errors in the visual studio IDE.

 

The errors are:

System.Windows.Data.Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=TooTip: DataItem='Button' (Name='btnOpen'); target element is 'Button' (Name=btnOpen'); target property is 'Name' (type 'String')

 

There are 14 of theses errors for different buttons.

 

I have seen the problem mentioned throughout the crystal reports forums but have not found an answer to eliminate the binding errors.The errors occur as soon as the control is initialized.

cannot download PrintControl.cab for Crystal Report Basic (VS2008)

Login/Verify Error In Visual Studio 2010 & 2013

$
0
0

Hello Everyone,

 

We recently upgraded our desktops to Windows 8.1 64bit from Windows 7. We use Oracle as database. Back in Windows 7 we had v13.0.1.220 of following packages: SAP Crystal Reports, version for  Visual Studio 2010 - 32 bit & 64 bit runtime. And we had Oracle 12.

 

Now in our new computers we also have Visual Studio 2013, and same version of Oracle 12. In VS2010 When we try to open a connection with Oracle Provider for OLE DB:

 

oracle err.PNG

 

And for the Microsoft OLE DB Provider for Oracle:

 

microsoft ole db provider.PNG

 

By the way, sorry for the non-english localization. Error window simply says:

 

"Unable to logon.

Details: ...

Source: ...

Description: ...

 

Local Error: 1019 [Database vendor code: 1019]"

 

We do have this problem in Visual Studio 2013 too. Falling back to W7 is not an option Because of this error we cannot update datasource (view etc.) in our reports.

 

Thanks in advance

why linked parameter disappears from report in newer versions?

$
0
0

We are migrating some applications from Crystal Reports 9 and VB6 to C# and Crystal Reports 13.0. We are using same old .rpt without modifications. Some of them contain sub reports with linked parameters pointing to formula fields, and when we try to print or export the reports they are returning an error like this.

 

Error in formula  Record_Selection: '{TRN_FILE.TRN_POST_DT} <= {?Pm-@MonthOf}  ' This field is not known.

 

Opening the .rpt file with older version (CR9) and taking a look to Change subreport links presents the ?Pm-@MonthOf parameter but when we use newer version of crystal reports (SAP CR 2013)  to open the same file the linked parameter disappears from sub report links.

 

Any idea of why this could be happening? , the only way we have found to make reports work in newer version is adding linked parameters again in design mode, but having a lot of reports with this same problem we want this to be our last option.

 

Thanks for your comments.

'select expert' option is not filtering data in CR, in VS2012

$
0
0

,Hi,

We have a VB  VS2005 crystal report application , is working good with ' select expert ' option for filtering data in side crystal report. When we are migrated the application to VS2012, the application is not filtering the data inside crystal report. I could see the 'select expert ' options and Formula editor code in VB 2012 exactly same as VB 2005. But, there is no data filtering in Crystal Report. Please help. We are using Crystal report developer version for VS2012.  My formula editor code inside CR 'select expert' is {REPORT.CODE} in ["3102",  "4010"]


in VS 2012 , ReportClass.Export(Exportoptions) throwing Exception "Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'".

$
0
0

Hi  Team,

 

Problem : we are getting below exception on vs-2012  "Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'"

 

Could you please help me why we are getting this Error?

 

Note : Im not using  Exportstream method , just using only Export method (refer code sample) for exporting Crystal report.

 

EnvironMent Details :

 

Crystal Report Version : CRforVS_13_0_5.exe

 

(SAP Crystal Reports runtime engine for >net Framework (64-bit)

SAP crystal Reports ,version for Microsoft Visual studio)

 

OS -Windows 7 -64 BIT

 

RAM : 16 GB

 

code where i Got the Exception

 

               dfdoFile.DiskFileName = Path.Combine(reportPath, reportFileName);

                expOptions.ExportDestinationType = ExportDestinationType.DiskFile;

                expOptions.ExportFormatType = ExportFormatType.CrystalReport;

 

            

                expOptions.DestinationOptions = dfdoFile;

              

                objReport.Export(expOptions);

 

below is stack trace :

 

   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export(ExportOptions options)

   at Medtech.BaseObjects.Report.CreatePDF(ReportClass objReport, DataView objRptDataView, String printerName, PrinterPaperOrientation

 

i have attached Screenshot for your reference ,

SubReport with ParameterFieldName - Crystal Report

$
0
0

Staff       Based on the structure below, as you would to implement a subreport, where I am using stored procedure, and I am thinking of using the ParameterFieldName parameter, where the report parameter is id_Pedido_Item, you would have any tips to pass me?

 

Dim rptPrint As ReportDocument = New ReportDocument       

rptPrint.Load(Me.nm_Path_RPT)       

rptPrint.DataSourceConnections.Clear()       

For nr_Servidor As Integer = 0 To rptPrint.DataSourceConnections.Count - 1             rptPrint.DataSourceConnections(nr_Servidor).SetConnection(Me.nm_Servidor, Me.nmBancoDados, Me.nm_Usuario, Me.ds_Senha)             rptPrint.SetDatabaseLogon(Me.nm_Usuario, Me.ds_Senha, Me.nm_Servidor, Me.nmBancoDados)       

Next       

Dim paramFields As New ParameterFields       

Dim paramField As New ParameterField       

Dim discreteVal As New ParameterDiscreteValue       

paramField.ParameterFieldName = "id_Pedido_Principal"       

discreteVal.Value = "00001234"       

paramField.CurrentValues.Add(discreteVal)       

paramFields.Add(paramField)       

CrystalReportViewer1.ParameterFieldInfo = paramFields       

CrystalReportViewer1.ReportSource = rptPrint

 

Message was edited by: Don Williams

FileNotFoundException was unhandled, file 'crdb_adoplus.dll' or one of its dependencies was not found

$
0
0

I am using Visual Studio 2013 Professional on a computer running Windows 8.1. I downloaded and installed the SAP Crystal Reports, developer version for Visual Studio 'Install Executable' CRforVS_13_0_13.exe. I ran my Visual Basic 2013 application in Visual Studio 2013  development, tried to produce a Crystal Report and got the error stating that the file 'crdb_adoplus' was not found. Additional information stated that the file 'c:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .Net Framework\Common\SAP BusinessObjects Enterprise X14.0\win32_x86\dotne1\crdb_adoplus.dll' or one of its dependencies could not be found. I checked in Windows Explorer and found that the 'Install Executable' CRforVS_13_0_13.exe had installed the file 'adopluss.dll' in directories 'c:\program files (x86)\...\   win32_x86\ ' and 'c:\program files (x86)\...\win64_x86\.'.

 

I checked my VB projects properties and the references show that 'c:\program files (x86)\...\win32_x86\dotnet\' is referenced, not 'c:\program files (x86)\...\win32_x86\dotnet1\' (as referenced by the error message) or 'c:\program files (x86)\...\win32_x86\' (where CRforVS_13_0_13.exe had installed the file 'adopluss.dll').

 

Any help or suggestions would be greatly appreciated. Thanks.

Disable selecting individual report elements in preview

$
0
0

Hi,

 

I'm using the CrystalDecisions.Windows.Forms.CrystalReportViewer to show the preview of a report. Sadly, it's possible in this preview to select individual elements (texts, fields) of the report (a rectangle is drawn around the selected element just like in the report designer).

Is is possible to disable this behavior somehow in code?

 

Thanks,

Markus

Upgrading from Windows Server 2008r2 to 2012r2

$
0
0

We have an existing Windows Server 2008R2 which Crystal Reports delivering reports via our website. 

On the Windows 2008 server, we used Crystal Reports version 2008.

 

I am now updating my Windows Server to 2012, and because Crystal Reports 2008 does not work on this server, I am trying to use the latest version.  (I downloaded the trial -- once it works, I will purchase.)

 

Below is the Web.config file I have on the 2008 server (and this works on the 2008 server

 

<?xml version="1.0"?>

<!--

    Note: As an alternative to hand editing this file you can use the

    web admin tool to configure settings for your application. Use

    the Website->Asp.Net Configuration option in Visual Studio.

    A full list of settings and comments can be found in

    machine.config.comments usually located in

    \Windows\Microsoft.Net\Framework\v2.x\Config

-->

<configuration>

    <appSettings>

        <add key="CrystalImageCleaner-AutoStart" value="true"/>

        <add key="CrystalImageCleaner-Sleep" value="60000"/>

        <add key="CrystalImageCleaner-Age" value="120000"/>

    </appSettings>

    <connectionStrings/>

    <system.web>

        <!--

            Set compilation debug="true" to insert debugging

            symbols into the compiled page. Because this

            affects performance, set this value to true only

            during development.

        -->

        <compilation debug="false">

            <assemblies>

                <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/><add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

                <add assembly="CrystalDecisions.ReportAppServer.CommonObjectModel, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.ReportAppServer.DataDefModel, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.ReportAppServer.ObjectFactory, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.ReportAppServer.ReportDefModel, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="CrystalDecisions.CrystalReports.TemplateEngine, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

                <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

                <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

                <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

                <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

                <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

                <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

                <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

                <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

                <add assembly="System.DirectoryServices.Protocols, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

                <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

                <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

                <add assembly="System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

                <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

                <add assembly="System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

                <add assembly="CrystalDecisions.Data.AdoDotNetInterop, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/></assemblies></compilation>

        <!--

            The <authentication> section enables configuration

            of the security authentication mode used by

            ASP.NET to identify an incoming user.

        -->

        <authentication mode="Windows"/>

        <!--

            The <customErrors> section enables configuration

            of what to do if/when an unhandled error occurs

            during the execution of a request. Specifically,

            it enables developers to configure html error pages

            to be displayed in place of a error stack trace.

 

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">

            <error statusCode="403" redirect="NoAccess.htm" />

            <error statusCode="404" redirect="FileNotFound.htm" />

        </customErrors>

        -->

        <httpHandlers><add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers></system.web>

</configuration>

 

 

 

What do I need to install and what changes to the web.config do I need to make to have my reports continue to display via my website?

Viewing all 2556 articles
Browse latest View live


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