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

SAP Crystal Reports, version for Visual Studio 2012 windows 10

$
0
0

After Upgrading windows 8 to windows 10 and SAP Crystal Reports 13_0_15, version for Visual Studio 2012 in debug mode report is not display.Is there any solution?

I changed folder name 4_0_30319 to 4_6_79 but still it is not working........

Only Blank page is showing......but in windows 8 is working fine........


asp.net CrystalReportViewer paging problem

$
0
0

Issue: Cannot navigate past page 2. Seems very common with a lot of people having this problem.

There is at least 10 threads about this here and none of them have the answer.

The standard canned response is 'use Page_Init()'.

 

The situation is this:

  • All logic MUST BE IN Page_Load()!

 

There are several reason for this... I don't know the report name and parameters until the user selects them.

So I repeat. Page_Init is NOT AN OPTION.

I want to make this clear because none of the previous posters made this clear and got a ton of responses to use Page_Init() and they kept posting that they CANNOT use this event - just like me and people refusing to help them because the original poster won't use Page_Init().

 

It does work if I hardcode the report parameters OR pass the parameters to the page and use Page_Init()

I need it to work in Page_Load().

 

I have the following pseudocode based on code from here:

SAML Response from SAP Cloud Identity

 

protected void Page_Load(object sender, EventArgs e)

{

     if (Session["ReportDocument"] == null)

     {

          DataSet ds = new DataSet();

          // Get parameters from user , create datasource, etc etc.

 

          ReportDocument rpt = new ReportDocument();

          rpt.SetDataSource(ds);

          Session["ReportDocument"] = rpt;

          CrystalReportViewer.ReportSource = rpt;

     }

     else

     {

          ReportDocument rpt = (ReportDocument)Session["ReportDocument"];

          CrystalReportViewer.ReportSource = rpt;

     }

}

 

"next page" past page 2 still not working.

Can export to PDF, print, etc all work.

Selecting pages above 3 manually works.

Crystal Report V.14.0.4.738 format issue in multiline Label.

$
0
0

Hello,

 

We have a Windows Form application developed in VS 2012 using the Sap Crystal Report RTM V.14.0.4.738. We are having issue with Multi line in text objects. For example: in a report we have text object that can show 10 lines of text. But horizontally its not showing all characters in line, it breaking the line without filling till end.

 

Text object Font is MS 明朝.

 

Please see attached Problem image.

 

Any help would be appriciated.

 

 

Thank You,

Jaydeep Vasoya.

VB Project Deployment with Crystal Reports

$
0
0

I have been trying to deploy my Crystal Reports project to outside computers; however have ran into an issue. I have been able to install my project through Install Shield without any issues, yet when I launch the application that was installed nothing happens (not even an error). I am running out of ideas on how to solve this since I don't have an error to go off of. I know it is something to do with Crystal Reports because I completely remove it from the program and it installs/Starts perfectly.

 

The Crystal Reports application installs and starts on any computer that has Visual Studio installed, yet when I install it on a sand-boxed operating system it doesn't open once installed. I also have noticed that my my test computer doesn't have a Merge Modules folder but am not sure if that could be the issue. Could anyone please help?

 

Details:

Visual Studio 2015 (Visual Basic)

SAP Crystal Reports v13.0.15.1840

.NET Framework 4.5

 

Capture.PNG2.PNG

Problem with Visual Studio 2015 Professional Update1 32 bit

$
0
0

Hello to all.

I installedVisualStudio2015ProfessionalUpdate 132bit...when I try toinstall CrystalReportstells methat thereisa VisualStudio...can you help me?

Thanks so much.

ErroreCrystalReport.PNG

Crystal Report Sometimes Hangs, ReportDocument Load method does not return

$
0
0

Hello, we have a very critical issue with a customer that work in a terminal server environment.

Sometimes our Windows forms application hangs. We are using Crystal Report for .NET version 13.0.13.1597, 32 bit.

We have taken a lot of dumps with the DebugDialog tool and the hangs seems to be caused by method Load of ReportDocument that does not return.

 

We cannot find a solution, please HELP

 

 

This is part of debug dialog analysis report:

 

WARNING - DebugDiag was unable to locate debug symbols for \crpe32.dll, so the information below may be incomplete.

 

Detected possible blocking or leaked critical section at crpe32!MWCleanupProcess+3b3e98 owned by thread 0 in Job3ERP.exe__PID__16376__Date__12_22_2015__Time_04_14_26PM__718__Manual Dump.dmp

 

Impact of this lock

 

3,12% of threads blocked

 

(Threads 25)

 

The following functions are trying to enter this critical section

crpe32!Ordinal995+13eb4

 

The following module(s) are involved with this critical section

C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crpe32.dll from SAP SE


-----



Thread 0 - System ID 27008

 

Entry point  Job3ERP+5d30e
Create time  22/12/2015 14:06:41
Time spent in user mode  0 Days 00:01:06.984
Time spent in kernel mode  0 Days 00:00:19.859

 

This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.

 

 

.NET Call Stack

 

DomainBoundILStubClass.IL_STUB_CLRtoCOM(System.Object ByRef, Int32)+a9
[[InlinedCallFrame]]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(System.Object ByRef, Int32)+5b
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()+103
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod, Int16)+342
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod)+50
Cryrpt.Model.CrystalReportFactory.CreateReportObject(Cryrpt.Model.IRptFinder)+4f
Job3CoreCmsWF.CmsCryrpt10TabsForm.get_aaReportObject()+d7
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaVisualizzaReport()+62
Job3ERP_Commons.X_Form.aaVisualizzaReport()+1f
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaOnBtnFiltraClick(Boolean)+a9
ZJob3ERPGps.X_OR30_Form.InitCmsContent(System.Collections.Generic.Dictionary`2)+8e
Job3CoreCmsWF.CmsRibbonForm.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+140
Job3CoreCmsWF.CallManager.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+ad
Job3CoreCmsWF.CmsMasterDetailForm.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+51
Job3ErpModuloOrdiniClienti.MD_OrdiniClienti_Form.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+f2
Job3CoreCmsWF.CmsMasterDetailForm.ProgrammiCollegatiDettaglio_aaBtnProgrammaCollegatoClick(System.Object, PgmCollegatoEventArgs)+33
Job3CoreCmsWF.ProgrammiCollegatiUC.BtnColl_Click(System.Object, System.EventArgs)+8b
DevExpress.XtraNavBar.NavBarItem.RaiseLinkEvent(System.Object, DevExpress.XtraNavBar.NavBarItemLink)+79
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+12
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClickedCore(DevExpress.XtraNavBar.NavBarItemLink)+b
DevExpress.XtraNavBar.NavBarControl.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+28
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoLinkClick(DevExpress.XtraNavBar.NavBarHitInfo)+3a
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoClick(DevExpress.XtraNavBar.NavBarHitInfo)+47
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.OnMouseUp(System.Windows.Forms.MouseEventArgs)+125
DevExpress.XtraNavBar.NavBarControl.OnMouseUp(System.Windows.Forms.MouseEventArgs)+68
System_Windows_Forms_ni!System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)+274
System_Windows_Forms_ni!System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)+8f1eee
[[InlinedCallFrame]]
DevExpress.XtraNavBar.NavBarControl.WndProc(System.Windows.Forms.Message ByRef)+df
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)+11
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)+39
System_Windows_Forms_ni!System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)+80
DomainBoundILStubClass.IL_STUB_PInvoke(CrystalDecisions.CrystalReports.Engine.PEEngineOptions ByRef)+69
[[InlinedCallFrame]]
CrystalDecisions.CrystalReports.Engine.CRPE.InitCrpe()+bb
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()+e9
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod, Int16)+342
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod)+50
Cryrpt.Model.CrystalReportFactory.CreateReportObject(Cryrpt.Model.IRptFinder)+4f
Job3CoreCmsWF.CmsCryrpt10TabsForm.get_aaReportObject()+d7
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaVisualizzaReport()+62
Job3ERP_Commons.X_Form.aaVisualizzaReport()+1f
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaOnBtnFiltraClick(Boolean)+a9
ZJob3ERPGps.X_OR30_Form.InitCmsContent(System.Collections.Generic.Dictionary`2)+8e
Job3CoreCmsWF.CmsRibbonForm.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+140
Job3CoreCmsWF.CallManager.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+ad
Job3CoreCmsWF.CmsMasterDetailForm.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+51
Job3ErpModuloOrdiniClienti.MD_OrdiniClienti_Form.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+f2
Job3CoreCmsWF.CmsMasterDetailForm.ProgrammiCollegatiDettaglio_aaBtnProgrammaCollegatoClick(System.Object, PgmCollegatoEventArgs)+33
Job3CoreCmsWF.ProgrammiCollegatiUC.BtnColl_Click(System.Object, System.EventArgs)+8b
DevExpress.XtraNavBar.NavBarItem.RaiseLinkEvent(System.Object, DevExpress.XtraNavBar.NavBarItemLink)+79
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+12
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClickedCore(DevExpress.XtraNavBar.NavBarItemLink)+b
DevExpress.XtraNavBar.NavBarControl.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+28
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoLinkClick(DevExpress.XtraNavBar.NavBarHitInfo)+3a
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoClick(DevExpress.XtraNavBar.NavBarHitInfo)+47
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.OnMouseUp(System.Windows.Forms.MouseEventArgs)+125
DevExpress.XtraNavBar.NavBarControl.OnMouseUp(System.Windows.Forms.MouseEventArgs)+68
System_Windows_Forms_ni!System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)+274
System_Windows_Forms_ni!System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)+8f1eee
[[InlinedCallFrame]]
DevExpress.XtraNavBar.NavBarControl.WndProc(System.Windows.Forms.Message ByRef)+df
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)+11
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)+39
System_Windows_Forms_ni!System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)+80
System_Windows_Forms_ni!DomainBoundILStubClass.IL_STUB_PInvoke(MSG ByRef)+3c
[[InlinedCallFrame]]
System_Windows_Forms_ni!System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)+24d
[[InlinedCallFrame]]
System_Windows_Forms_ni!System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)+155
System_Windows_Forms_ni!System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)+4a
System_Windows_Forms_ni!System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext)+18
Job3ERP.MainModule.Main(System.String[])+73
[[GCFrame]]

Full Call Stack

 

ntdll!ZwWaitForSingleObject+15
kernel32!WaitForSingleObjectEx+be
kernel32!WaitForSingleObject+12
dtsagent+3374d
sacommlayer!DllGetClassObject+16e6
clientdoc!DllGetClassObject+2b2dc
clientdoc!DllGetClassObject+a1e6
clientdoc!DllGetClassObject+a399
clientdoc!DllGetClassObject+21357
DomainBoundILStubClass.IL_STUB_CLRtoCOM(System.Object ByRef, Int32)+a9
[[InlinedCallFrame]]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(System.Object ByRef, Int32)+5b
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()+103
clr!JIT_MonExitWorker+a
0x027d12f8
0x0b01c1b8
0x03715460
0x03715668
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod, Int16)+342
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod)+50
Cryrpt.Model.CrystalReportFactory.CreateReportObject(Cryrpt.Model.IRptFinder)+4f
Job3CoreCmsWF.CmsCryrpt10TabsForm.get_aaReportObject()+d7
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaVisualizzaReport()+62
Job3ERP_Commons.X_Form.aaVisualizzaReport()+1f
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaOnBtnFiltraClick(Boolean)+a9
ZJob3ERPGps.X_OR30_Form.InitCmsContent(System.Collections.Generic.Dictionary`2<System.String,System.Object>)+8e
Job3CoreCmsWF.CmsRibbonForm.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+140
Job3CoreCmsWF.CallManager.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+ad
Job3CoreCmsWF.CmsMasterDetailForm.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+51
Job3ErpModuloOrdiniClienti.MD_OrdiniClienti_Form.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+f2
Job3CoreCmsWF.CmsMasterDetailForm.ProgrammiCollegatiDettaglio_aaBtnProgrammaCollegatoClick(System.Object, PgmCollegatoEventArgs)+33
Job3CoreCmsWF.ProgrammiCollegatiUC.BtnColl_Click(System.Object, System.EventArgs)+8b
DevExpress.XtraNavBar.NavBarItem.RaiseLinkEvent(System.Object, DevExpress.XtraNavBar.NavBarItemLink)+79
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+12
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClickedCore(DevExpress.XtraNavBar.NavBarItemLink)+b
DevExpress.XtraNavBar.NavBarControl.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+28
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoLinkClick(DevExpress.XtraNavBar.NavBarHitInfo)+3a
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoClick(DevExpress.XtraNavBar.NavBarHitInfo)+47
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.OnMouseUp(System.Windows.Forms.MouseEventArgs)+125
DevExpress.XtraNavBar.NavBarControl.OnMouseUp(System.Windows.Forms.MouseEventArgs)+68
System_Windows_Forms_ni!System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)+274
System_Windows_Forms_ni!System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)+8f1eee
[[InlinedCallFrame]]
DevExpress.XtraNavBar.NavBarControl.WndProc(System.Windows.Forms.Message ByRef)+df
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)+11
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)+39
System_Windows_Forms_ni!System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)+80
DomainBoundILStubClass.IL_STUB_PInvoke(CrystalDecisions.CrystalReports.Engine.PEEngineOptions ByRef)+69
[[InlinedCallFrame]]
CrystalDecisions.CrystalReports.Engine.CRPE.InitCrpe()+bb
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()+e9
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod, Int16)+342
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod)+50
Cryrpt.Model.CrystalReportFactory.CreateReportObject(Cryrpt.Model.IRptFinder)+4f
Job3CoreCmsWF.CmsCryrpt10TabsForm.get_aaReportObject()+d7
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaVisualizzaReport()+62
Job3ERP_Commons.X_Form.aaVisualizzaReport()+1f
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaOnBtnFiltraClick(Boolean)+a9
ZJob3ERPGps.X_OR30_Form.InitCmsContent(System.Collections.Generic.Dictionary`2<System.String,System.Object>)+8e
Job3CoreCmsWF.CmsRibbonForm.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+140
Job3CoreCmsWF.CallManager.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+ad
Job3CoreCmsWF.CmsMasterDetailForm.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+51
Job3ErpModuloOrdiniClienti.MD_OrdiniClienti_Form.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+f2
Job3CoreCmsWF.CmsMasterDetailForm.ProgrammiCollegatiDettaglio_aaBtnProgrammaCollegatoClick(System.Object, PgmCollegatoEventArgs)+33
Job3CoreCmsWF.ProgrammiCollegatiUC.BtnColl_Click(System.Object, System.EventArgs)+8b
DevExpress.XtraNavBar.NavBarItem.RaiseLinkEvent(System.Object, DevExpress.XtraNavBar.NavBarItemLink)+79
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+12
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClickedCore(DevExpress.XtraNavBar.NavBarItemLink)+b
DevExpress.XtraNavBar.NavBarControl.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+28
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoLinkClick(DevExpress.XtraNavBar.NavBarHitInfo)+3a
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoClick(DevExpress.XtraNavBar.NavBarHitInfo)+47
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.OnMouseUp(System.Windows.Forms.MouseEventArgs)+125
DevExpress.XtraNavBar.NavBarControl.OnMouseUp(System.Windows.Forms.MouseEventArgs)+68
System_Windows_Forms_ni!System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)+274
System_Windows_Forms_ni!System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)+8f1eee
[[InlinedCallFrame]]
DevExpress.XtraNavBar.NavBarControl.WndProc(System.Windows.Forms.Message ByRef)+df
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)+11
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)+39
System_Windows_Forms_ni!System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)+80
System_Windows_Forms_ni!DomainBoundILStubClass.IL_STUB_PInvoke(MSG ByRef)+3c
[[InlinedCallFrame]]
System_Windows_Forms_ni!System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)+24d
[[InlinedCallFrame]]
System_Windows_Forms_ni!System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)+155
System_Windows_Forms_ni!System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)+4a
System_Windows_Forms_ni!System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext)+18
Job3ERP.MainModule.Main(System.String[])+73
[[GCFrame]]

 

how do a replace the connection Provider in a subreport?

$
0
0

I know how to do it for the main report by using:

 

 

 

ISCDReportClientDocument.ReportClientDocument.DatabaseController.ReplaceConnection.

 

When I try the same code with a sub report I get "Not supported within subreports".

Please help have hundreds of reports that need to go to SQLNCLI11; don't want to do this by hand.

 

 

Ty

Web Sitewith Visual Studio 2005 and Crystal Reports is not running

$
0
0

Hello:

 

I have an old Web Site developed with Visual Studio 2005 and Crystal Reports. It is working fine in a Windows 2008 Server but we need to change it to a Windows 2012 Server: We have been testing and everything works fine but when the user tries to run a report the Application Pool is stopped.

I know that it's a not longer supported version of Crystal Reports and Visual Studio but I want to know if there's anyway to make it works

 

Thank you


Crystal reports runtime framework 4 install WITHOUT installing VS 2013 (or 2015)

$
0
0

In my PC I have VS 2015 and Crystal reports runtime framework and it works fine. I used CRforVS_13_0_13.exe to install the Crystal runtimes to do this.

 

 

But when other users on the network use it it fails due to not having the Crystal reports runtime framework on their PC.

 

But to install it using CRforVS_13_0_13.exe  it demands I first install VS 2013. But I sure don't want VS on every user PC!

 

 

Now I found the DLLs in the:

 

 

c:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet

 

 

Library on my PC but I am sure it has to be installed by an installer that fixes the registry and anything else needed.

 

 

So how do I get just what is needed for the VS 2015 app to run on other users PCs? An installer application?

 

 

Thanks!

The table 'PROCEDURE' could not be found. Error in File Report1003 {9578D7F2-1799-4336-B8F1-9FA4FB81277C}.rpt: The table could not be found.

$
0
0

The following error comes up when I use a package procedures in my Crystal Report.  If I use a procedure, the report works just fine.  It seems that the crystal report runtime is not recognizing (or stripping) the package name at runtime and seems to think my procedure is a table.

 

The table 'PROCEDURE' could not be found. Error in File Report1003 {9578D7F2-1799-4336-B8F1-9FA4FB81277C}.rpt: The table could not be found.

 

When I go into my report and uncheck the following:

 

Verify on First Refresh

Verify Stored Procedures on First Refresh

 

then I receive the following error on my report:

 

Failed to retrieve data from the database. Details: [Database Vendor Code: 6550 ] Failed to retrieve data from the database. Details: [Database Vendor Code: 6550 ] Failed to retrieve data from the database. Error in File Report1003 {5D78B282-7113-4C87-A004-4852A99442C3}.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code: 6550 ]

 

This is what the Show SQL Query looks like in my report:

BEGIN "MYDATABASE"."PACKAGE"."PROCEDURE"(:O_RC1); END ;

 

This is the runtime I have installed:

SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit)

 

Datasource Connection:  Oracle Server

Database: Oracle 12.1.0.1.0

 

Is there a way around this issue? I would like to be able to use package procs for my report.

Technical clarification question regarding ActiveX v.s. PDF printing modes

$
0
0

I'm curious if someone can provide for me the technical aspects of how ActiveX handles printing v.s. PDF mode within the PrintMode selection.

 

It's my understanding that these print methods both work at very different levels and print differently.

 

Example question:  From a feasibility standpoint, would it make better sense to develop applications so that you either print using ActiveX or PDF? 

 

Reason being, I have an application that utilizes the Crystal reports Viewer Print Button (ActiveX) AND a separate print button for PDF version.  Ultimately both output as PDF, however there are rending issues between the PDF version as well as the ActiveX version that correction would be a development nightmare. 

 

I'm able to correct the PDF version then those corrections wreak havoc on the ActiveX version and vise versa.  

 

My simple solution is to switch the viewer to "PDF" and it seems to be perfect in both areas.....  The end-user can't really tell the difference. These are reports that are not being modified by the end user for any purpose.  Just straight output (like a publication).

 

In addition does the ActiveX printmode version provide any extra functionality.

 

Thanks

crystal report for VS2012 cannot print directly on windows 10

$
0
0

hi everyone

 

I have a problem

 

look the below pic

 

the left side is the win10 that is wrong ,the right side pic is the win7 that is right

 

when we press the "print" icon, it should be the right pic,but it shows the left pic.

 

Is any one can help me?

 

is that the crystal problem or the IE problem?

 

thx alot

 

b.t.w :

 

the ie is all ie 11

 

we use vs2012 to develop and the crystal report uses the below link

 

 

 

問題.png

Crystal report custom paper size

$
0
0

Greetings..!

crystal reports stored paper size in non portable way (i.e.) ID rather than name. Is there any chance to get that ID manually.

Crystal report Version: CRforVS_13_0_5

I used this following code to find programatically

int k;

int rawKind = 0;

for (k = 0; k < pd.PrinterSettings.PaperSizes.Count; k++)

{

    if (pd.PrinterSettings.PaperSizes[k].PaperName == "Mypapername")

{

   

rawKind = k;

   

}


it works on my development computer well and when i deployed it, at the time of application access this code  stops working(A program caused a problem windows will close it soon).

Thank you.

Need help in Formula Field

$
0
0

Hello,

 

I got this error

 

need help - formula.png

 

I dont know how to fixe.

 

Please help

ASP.NET ReportDocument Deserialization Failed Session State Server

$
0
0

Hi.  I am using Crystal Reports for Visual Studio with Visual Studio 2013 and have the reports running on .NET 4 website on Windows Server 2008 R2.  I am storing a ReportDocument in Session and setting the ReportSource of a CrystalReportViewer in another page to display the report.  This works perfectly when Session is InProc but deserialization fails with the following error when I switch to using StateServer:

 

CrystalDecisions.Shared.CrystalReportsException: Deserialization failed.  You need to run "rassdk://C:\websites\ltcr\system\reports\rpt-files\checks_received.rpt" on a Report Application Server. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt

 

This is the same issue reported in unable to deserialize Crystal Report (ASP.NET) but there is no resolution.


Crystal Report V.14.0.4.738 format issue in multiline Label.

$
0
0

Hello,

 

We have a Windows Form application developed in VS 2012 using the Sap Crystal Report RTM V.14.0.4.738. We are having issue with Multi line in text objects. For example: in a report we have text object that can show 10 lines of text. But horizontally its not showing all characters in line, it breaking the line without filling till end.

 

Text object Font is MS 明朝.

 

Please see attached Problem image.

 

Any help would be appriciated.

 

 

Thank You,

Jaydeep Vasoya.

Tobit Faxware @@Nummer Code@@

$
0
0

Hi,

 

I'm using Crystal Reports for Visual Studio version 13.0.15.1840 with C#/.Net 4.5

 

I'm running into an issue when I try to pass on a Fax Number to Tobit Faxware.

In my report there is a Formula Field present that contains the Fax number in the Format" '@@NUMMER '+{FAXNR}+'@@' " in white font color.

 

As I understand this should enable Tobit to analyse the resulting Report and extract the Fax number given in the report to send the document to it.

Unfortunately this doesn't work, Tobit is not able to read the Fax Number from the report.

 

Any suggestions why this isn't working as expected?

 

regards

Johannes

crystal report VS .net development

$
0
0

Hi,

 

I 'm developed windows form application (VS2012 ) to export crystal report data into different PDF file. However, there are many parameters in main report and subreports. So I 'm confused if I need to set the value to parameters in main report and subreports.

 

 

 

In the meantime, I don't have idea on how to set the connection string for crystal report in .net.

 

You support is highly appreciated.

Crystal Reports for Visual Studio and Oracle 9i

$
0
0

Hello everybody,

 

Is it possible to connect "Crystal Reports for Visual Studio 2010" to an "Oracle 9i" database ?

 

Development environment :

- Visual Studio 2010 (Pro) + VS 2010 SP1

- ODT/ODAC 11.2.0.3.0

- .NET 4.0

- ASP .NET MVC 4

- Entity Framework 5

 

I need to use "Crystal Reports for Visual Studio" to edit report, and I need to connect to an "Oracle 9i" database.

 

Thanks for any advice !

How I can run C++ winform project with an crytal report(push mode)

$
0
0

I tried to create a C++ winform project, which contains a crystal report and get data with push mode, but it always failed and throw a "DataSourceException" if the project is C++ winform project, and works well if the project is C# winform project. What's wrong with the C++ project?


An unhandled exception of type 'CrystalDecisions.CrystalReports.Engine.DataSourceException' occurred in CrystalDecisions.ReportAppServer.DataSetConversion.dll

 

Additional information: Unknown Query Engine Error

Error in File C:\Users\ahong1\AppData\Local\Temp\CrystalReport1 {73B5809F-3283-43A2-9B69-DBAD59EE84E6}.rpt:

Unknown Query Engine Error

 

see attached file for C++ project(ReportTestWithVS2010.zip.txt), I renamed the .zip file to .txt because of the attached file does not support .zip files. So you can download the attched file and remove the file suffixes ".txt".


[Additional]

Before you run the project, you need to make sure you had already installed "Access Database Engine"(Download Microsoft Access Database Engine 2010 Redistributable from Official Microsoft Download Center) and installed SAP Crystal Reports(SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads) for VS2010.


I just want to use push mode to get data for a crystal report in C++ winform project, and the connection DB is OLE DB(ADO). I created the Test.accdb for the attched project with office access 2010.


 


Viewing all 2556 articles
Browse latest View live


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