SAP Crystal report on Windows Server 2012
Hi,
Let me explain my situation first.
I have Windows7 dev box with VS 2010, 2012 and 2013. My application backend is Oracle 10g.
I have an old application build in VS 2005 which I migrated to Framework 4.0 from 2.0.
I downloaded CR executable from "http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_9.exe" and it worked fine locally.
But when I deployed the same code on Windows Server 2012.. reports didn't appear.
Please assist.
Well, let's get the easy one out of the way 1st
Licensing of the runtime. The runtime is free for win apps. For web apps it is also free - as long as the app is used within your organization. If the web app is used external to your org, you do need to obtain additional licensing. And for that you will have to contact sales: 866-681-3435
Now, the actual issue:
Normally, the runtime is deployed using the MSI, MSM or CLickOnce, Nothing wrong with you installing VS on the server and then CR, but I suspect you're using up a VS license for that (expensive(?)), but that is a decision for you to make. E.g.; uninstalling VS and running the CR SP 9 MSI should suffice. To actually get the viewer working, I'd like you configure the viewer as per the direction in this blog:
Visual Studio 2012 Crystal Report not working on Windows Server 2012/ 0x800a1391 – JavaScript runtime error: &…
- Ludek
Similar Messages
-
Error With Crystal Reports On Windows Server 2012
Hello,
I have a VB.NET exe application created in Visual Studio 2010 that prints a crystal report directly to the printer. On Windows Server 2008 it worked fine but it does not work on Windows Server 2012. The report was originally created in Crystal Reports 2011. I have read elsewhere that in order to run a Crystal Report on WS 2012 that it needs to be created using Crystal Reports for Visual Studio. So I installed the developer version of Crystal Reports for Visual Studio (v. 13.0.8.1216). I opened the report in Visual Studio and saved it. I then installed the CRRuntime_64bit_13_0_8.msi on the WS 2012. My vb.net exe has the CrystalDecisions assemblies shown below. When I try to run the exe I get the error below. Does anyone have any idea as to what I am doing wrong? Thank you for your input.
Unhandled Exception: System.TypeInitializationException: The type initializer for 'PrintWorkOrderAndDrawing.PrintWorkOrderAndDrawing' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.En
gine.ReportDocument' threw an exception. ---> CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient,
or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://
www.businessobjects.com/support for more information.
at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
--- End of inner exception stack trace ---
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()Hi Thomas
First the info re.;
I have read elsewhere that in order to run a Crystal Report on WS 2012 that it needs to be created using Crystal Reports for Visual Studio.
is incorrect. CRVS will run all reports down to CR 9 without issues. And even reports created in older versions will, for the most part, work just fine.
The error is rather strange as it normally indicates that an incorrect runtime has been installed. However in your case as you are using CR 13.0.8.1216 and the 64bit_13_0_8.msi that does not look to be the case. I would like you to double check the CR references in the project. Say, crystaldecisions.crystalreports.engine. It should be version 13.0.2000.0.
If that is confirmed, then we may be at the permissions mentioned in the error. And I'd use Process Monitor for that. Filter ProcMon for the app exe and run the app. Look at the logs for "Access denied" messages. In the log, look for CrystalDecisions.CrystalReports.Engine, see what the exe is doing with it. Where is it trying to load it from? Etc., etc.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
SAP LVM SETUP ON WINDOWS SERVER 2012
Hi Experts
How to do the SAP LVM SETUP on windows server 2012. If Any One Knows Please Let Mme Know.
Regards
sureshCan you elaborate on the question a bit? You're asking how we setup LVM on a Windows Server, but that depends a lot on what the server is for.
Maybe you can clarify your question and I can assist.
Best,
Nathan -
Dynamic Crystal Report with Windows Server 2008
I am creating a report through code with Crystal report on Windows Server 2008 R2. When I am executing the following command:
CRAXDRT.Report.Database.AddADOCommand
This is generating an error which is given below:
Error description: Logon failed
Details: [Database Vendor Code: -205]
But its working fine with Windows Server 2003.
Private Sub AddRptDatabase(a_CRReport As CRAXDRT.Report, a_sStartDT As String, _
a_sEndDT As String, a_sDept As String, a_sStatus As String)
Dim cnnRpt As ADODB.Connection
Dim cmRpt As ADODB.Command
Dim sSQL As String
Dim sWhere As String
Dim sTemp As String
Dim sTemp1 As String
sSQL = sSQL & sWhere & " Order by AdminData.RONumber"
Set cnnRpt = New ADODB.Connection
cnnRpt.open g_objBA.LocalConnectionString
Set cmRpt = New ADODB.Command
cmRpt.ActiveConnection = cnnRpt
cmRpt.CommandType = adCmdText
cmRpt.CommandText = sSQL
'Create data set
a_CRReport.Database.AddADOCommand cnnRpt, cmRpt
Exit Sub
Please suggest some solution.Moved to Legacy SDK forum.
CR XI R2 Service Pack 6 and Fix Pack 6.4 should work on Windows 2008. CR 2008 SP 2 and above also. Older version, no support for it.
CR is 32 bit, make sure the 32 bit client is installed and being used.
Thank you
Don -
SAP Crystal Report using SQL Server Authentication and Windows Authenticati
I'm a SAP Crystal Report, version for Visual Studio 2010 Beginner
my ingredients are
1.windows 7 ultimate service pack1
2.sql server 2008 standard edition
3.visual studio 2010 pro
4.SAP Crystal Report, version for visual studio.net
I was created a report named customersByCity.rpt using OLE DB (ADO) -> Microsoft OLE DB Provider for SQL Server -> I'm supply Server, User ID, Password and Database. I assume me using SQL Server Authentication for my report
Then, my ASP.NET files as following
//ASP.NET
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="viewCustomersByCity.aspx.cs" Inherits="viewCustomersByCity" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div><asp:Label ID="lblMsg" runat="server" BackColor="Yellow" ForeColor="Black"></asp:Label>
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true"></CR:CrystalReportViewer>
</div>
</form>
</body>
</html>
//code-behind
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
public partial class viewCustomersByCity : System.Web.UI.Page
private const string PARAMETER_FIELD_NAME = "city";
private ReportDocument customersByCityReport;
private void ConfigureCrystalReports()
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.ServerName = @"WKM1925-PCWKM1925";
connectionInfo.DatabaseName = "Northwind";
connectionInfo.UserID = "sa";
connectionInfo.Password = "sysadmin25";
SetDBLogonForReport(connectionInfo);
private void SetDBLogonForReport(ConnectionInfo connectionInfo)
TableLogOnInfos tableLogOnInfos = CrystalReportViewer1.LogOnInfo;
foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
tableLogOnInfo.ConnectionInfo = connectionInfo;
private void SetCurrentValuesForParameterField(ReportDocument reportDocument, ArrayList arrayList)
ParameterValues currentParameterValues = new ParameterValues();
foreach (object submittedValue in arrayList)
ParameterDiscreteValue parameterDiscreteValue = new ParameterDiscreteValue();
parameterDiscreteValue.Value = submittedValue.ToString();
currentParameterValues.Add(parameterDiscreteValue);
ParameterFieldDefinitions parameterFieldDefinitions = reportDocument.DataDefinition.ParameterFields;
ParameterFieldDefinition parameterFieldDefinition = parameterFieldDefinitions[PARAMETER_FIELD_NAME];
parameterFieldDefinition.ApplyCurrentValues(currentParameterValues);
protected void Page_Load(object sender, EventArgs e)
customersByCityReport = new ReportDocument();
string reportPath = Server.MapPath("customersByCity.rpt");
customersByCityReport.Load(reportPath);
ConfigureCrystalReports();
ArrayList arrayList = new ArrayList();
arrayList.Add("paris");
arrayList.Add("Madrid");
arrayList.Add("Marseille");
arrayList.Add("Buenos Aires");
arrayList.Add("Sao Paulo");
ParameterFields parameterFields = CrystalReportViewer1.ParameterFieldInfo;
SetCurrentValuesForParameterField(customersByCityReport, arrayList);
CrystalReportViewer1.ReportSource = customersByCityReport;
1st scenario
When in a runtime, it's keep appear a dialog box. This dialog box ask me to suppy Server, User ID, Password and Database. Once all information is supplied, my report display the data as expected
2nd scenario
I change my report using OLE DB (ADO) -> Microsoft OLE DB Provider for SQL Server -> checked on Integrated Security. I just choose Server, and Database. I assume me using Windows Authentication
When in a runtime, there's no dialog box as above. My report display the data as expected. really cool
Look's like, when report using SQL Server Authentication there's some problem. but, when report using Windows Authentication, it's fine.
I'm looking for comment. Please help meHello,
MS SQL Server 2008 requires you to install the MS Client Tools for 2008.
Once install then update all of your reports to use the SQL Native 10 as the OLE DB driver.
The try again, if it still fails search, lots of sample log on code in this forum.
Don -
Crystal Reports and Windows Server 2003 R2
Having huge issues with Crystal Reports for Visual Studio .NET 2010 Beta 2. I downloaded both the runtime and software as provided and restarted the pc. No matter what I do, I can not use it
I get these errors in my IDE:
Error 2 Custom tool error: "Code generator 'ReportCodeGenerator' failed. Exception stack = CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: The system cannot find the path specified.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath, String resourceNamespace)
at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)" F:\Code\CrystalReportsApplication1\CrystalReportsApplication1\CrystalReport1.rpt 1 1 CrystalReportsApplication1
Error #2:
Warning 1 The designer cannot process the code at line 20:
Me.CrystalReport11 = New CrystalReport1
The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again. F:\Code\CrystalReportsApplication1\CrystalReportsApplication1\Form1.Designer.vb 21 0
Error #3:
Error 3 Type 'CrystalReport1' is not defined. F:\Code\CrystalReportsApplication1\CrystalReportsApplication1\Form1.Designer.vb 21 34 CrystalReportsApplication1
I tried a repair and even reinstalled VS.NET with no luck. This is runnig on a Windows 2003 Server R2. What do I do?Hi Dan!
First at all, I think that you created this thread in the wrong SDN forum; I'd rather search whether under the [Business Intelligence (including SAP BusinessObjects and SAP Crystal Solutions)|http://forums.sdn.sap.com/index.jspa?categoryID=1#45] or the [Business Intelligence SDK Application Development (SAP BusinessObjects and SAP Crystal Solutions)|http://forums.sdn.sap.com/index.jspa?categoryID=1#46] categories and, if nothing found, create a new thread on the category that better fits your question.
Let me also warn you that Windows Server 2008 R2 is a completely different operating system from Windows Server 2008, and it is not generally released for SAP NetWeaver; check [SAP note 1383873|https://service.sap.com/sap/support/notes/1383873] ("Windows Server 2008 R2 Support"). I don't know if it is supported for Crystal Reports specifically; please check it.
However, and just to provide you some Windows tricks to trace bad or lacking modules (.exe, .dll, .ocx, .sys, etc.), you can generally use the free tool "Dependency Walker". Get it at [www.dependencywalker.com|http://www.dependencywalker.com]. Read [note 1212310|https://service.sap.com/sap/support/notes/1212310] for further reference.
Cheers! -
Visual Studio 2005 deploy Crystal Report to Windows Server 2008 64-bit
I've read a lot of posts here regarding deploying on a 64-bit server, but I'm still confused.
We use Visual Studio 2005 to develop on a Windows XP machine. We use the built-in version of Crystal that comes with VS2005.
We want to deploy the runtime to a Windows Server 2008 running 64-bit. We want to deploy using the msi runtime components and not the merge modules.
We end up with the message "An error has occurred while attempting to load Crystal Reports".
So, the question is, can we build & deploy a 64-bit version, and if so, what are we doing wrong here ? At first glance, I don't see VS 2005 as listing Windows 2008 as a supported platform, so am I dead in the water right there ? If that's the case .... then what are my options ?
Any help or pointing me in the right direction would be greatly appreciated !
Thank You,
WayneIn a nut shell, the only two 64 bit versions of Crystal Reports are 10.2 (bundles with .NET 2005) and 10.5 (bundles with .NET 2008). All other versions of Crystal Reports are 32 bit only. For more info see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article.
Ludek -
DateTime issue in Windows Server 2012 R2
Hi all,
I have created a web application. Its working fine in Windows server 2008 R2. I have used Report Server 2005 & Report Viewer 2005 SP1 for reporting. Reporting is working fine in Windows Server 2008 R2. But when I try to run reporting in Windows server
2012 R2 system I am getting error "start/end date can not be set to a future date". The screen shot is given below:-
How should I resolve this issue. Any help in this regard would be highly appreciated.
Thanks.Hi Vishwajeet,
I have tested on my local environment and can't reproduce the issue.
Could you please check another report with the start data and end date in the report of Report Server 2005 in Windows server 2008 R2 and then run the report in Windows server 2012 R2 to see if you will also got the issue.
If you only got the issue when running this report, I suggest you to open and edit the report in designer of the Windows server 2012 R2 to delete and re-create the two parameters to see if the problem will be resolved.
Please also try to run this report in other broswer to have a check.
If you also got the issue in other report.
I recommend you that submit this suggestion at https://connect.microsoft.com/SQLServer/
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
SAP Crystal Report 2013 on Windows 2012 and Lotus Notes Databases
Hi everybody, does someone already try to use version 2013 of Crystal Report to report Lotus Notes databases content?
We have been used older version for about 10 years without any difficulties as a native driver exist for Lotus Notes.
But installing the version 2013, we have discovered that lotus Notes is not anymore present int the list of database to connect to...
Can anyone provide sonme help?
Many thank in advance
Dominique Anderegg
Insentia SA
Lausanne - Switzerland
[email protected]See the SAP Crystal Reports 2013 Product Availability Matrix (PAM), page 9 and download the doc linked to there. According to that doc, Lotus Notes is now only supported via ODBC only.
Also, the search string 'lotus crystal 2013' (search box in top right corner) brings up the following KBA:
1238167 - Cannot create new report off the Lotus Notes Domino native driver in Crystal Reports
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Oracle client 32/64 bit on Crystal Server 2013 and Windows Server 2012
I'm getting the error "Unknown Database Connector Error" when I run report on the server and it works OK on crystal designer 2013.
Been reading this thread 32&64 bit Oracle Client but not much help there.
Here are the details
System
Windows Server 2012
Crystal Server 2013 SP5
Crystal Server has been installed and appears to work fine. I was able to develop a brand new report locally and saved it to the server and it displays ok. Of course when I click on refresh on the report, it will error out due to database connection it looks like.
We have installed both oracle client drivers 64 and 32. 64 was installed first and then 32.The path has been modified so that the 32 shows up first.
I even ensure oracle_home and oracle_home32 are specified and restarted the server. I still get the same error.
The tns entries are also located in both installs of oracle client...
What might be the issue?Oracle Database Client 12.1.0.2.0 (32-bit and 64-bit installed)
Installation Type: Custom
COMPONENTS INSTALLED:
SQLPLUS
ORACLE NET
We are currently not using an ODBC connection.
We installed Crystal 2013 Server SP05. This is the sole package installed (believe it's the latest version) without any extra patch package installed (believe no patch needed as it's the latest version). -
SAP Crystal Report Server 2008 SP4
Where can I find SAP Crystal Report Server 2008 SP4 to download?
It is 32bit but runs on 64bit (eg. Windows) also as long as the required 32bit libraries are available on the machine.
Regards,
Stratos -
Windows 8.1 is throws error when displaying SAP Crystal Reports 10.5
Hi there,
On windows 8.1 – 64 bit SAP Crystal Reports fails to work (even empty report):
“Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version 10.5.3700.0, culture=neutral, PublicKeyToken=blahblah' or one of its dependencies. The system cannot find the file specified.”
Project that run SAP Crystal Report was compiled as 64 bit & 86 bit & ANY CPU, but all displayed the same error message. Is windows 8.1 64 bit missing any *.dlls? Or is there compatible CRRuntime engine with windows 8.1 64 bit?
I had this problem before on windows 7 but by changing solution Platform and Target CPU – solved the problem, however windows 8.1 seems to have a bug!
More Info about app:
VisualStudio2010
SAP BusinessObjects XI 4.0
Support Pack (several been tried): crruntime_64bit_13_0_7.msiPost Author: JonathanP
CA Forum: .NET
Are you simply viewing the report, or exporting it?
The error doesn't tell us much. A windows application should not need any special permissions. Try giving the user full rights to the temp directory, as the report engine does need to write seme files there. -
SAP Mobile Platform 3 compatibility with windows server 2012
Dear All,
As per SAP release notes Window Server 2012 is compatible with SMP 3.0 but after installation i see that the SMP3 Services are always into the hung state meaning they neither start nor stop. They are always in the starting state. Whereas it runs fine with Windows Server 2008 R2. When we force kill all the process running with SMP3 Service we can stop it but it doesn't start at all.
Has anyone faced this issue till now.
ThanksHi Rakshit,
I guess Eric Solberg, Mustafa Saglam can answer better.
Rgrds,
JK
PS: Raise a SAP ticket.
Message was edited by: jitendra kansal -
Report Viewer control issue in Windows Server 2012 R2
Hi,
I have a reporting application (web) and it is using the Microsoft.ReportViewer.WebForms.dll (version 11.0.3366). While deploying I have kept all the Reporting Viewer related dll's into the bin directory and things are working fine in the below combinations.
1) Windows Server 2008 R2 , SQL Server 2008 R2 SP2
2) Windows Server 2012 and SQL Server 2012
Today I have installed the same setup into the Windows Server 2012 R2 (with SqlServer 2012) machine and I am facing the some issue. The Print icon and find/next options are not visible in the Report Viewer . I am not sure what was the cause for this.
Then I have installed the Report Viewer 2012 runtime on the Windows Server 2012 R2 machine and things are working fine. So , I am wondering how the same setup worked fine in other two combinations with out installing Report Viewer 2012 runtime.
Did any one have idea/suggestion on this.
Thanks in advance!
Best Regards
MuthurajaHave you verified that the runtime assemblies are not on those servers? Maybe someone else added them. There are numerous other possibilities such as code refactoring that moved these elements from to other assemblies (unlikely) or that there was some other
difference in your installation that you overlooked. I am glad that you were quickly able to resolve your issue however and may help others if they experience the same problem.
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek. -
Report Viewer error in Windows Server 2012 & Windows Sever 2012 R2
Hi,
I have created an application with .net & C#. I have used Report viewer 2008 for generating report. Now I am trying to use this application on Windows Server 2012 & Windows Server 2012 R2. But I am getting the error related to assembly not getting
loaded.
I am clueless why this is happening.The same application is working fine in Windows server 2008 R2. The error which I am getting is:-
Please help me with this and suggest me how to resolve above error and any workaround for this.
Thanks for help.Hi
Vishwajeet (MCA,MCP,MCTS,MCITP),
Like your title mentioned, your case related to Report Viewer, For case related to
Report Viewer should be posted in
Other Forums> Visual Studio Report Controls
forum. That describers:
Discuss reporting functionality including the integrated report designer and viewer controls for adding rich data reports to Windows Forms and ASP.NET applications.
Visual C# forum is Discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.
Now I will move your thread to Visual Studio Report Controls forum for better support.
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
How can i transfer fotos from my pc to my ipad?
Not all my pics from my pc...just some...but i cant!!! help me
-
Airport Time Capsule as a Internet Server
Please, has anyone here formatted the Time Capsule as a internet server? Is the a special way to format the Time Capsule for, Macintosh Pro 5.1 Quad Core OS Mountain Lion 10.8, with Airport Extreme base station? Thank you in advance for any shared i
-
IDOC DELVRY05 - What structure for multi-level packing?
Hi All I am creating DELVRY05 idocs via WE19. I am using handling materials, and packing my materials into handling units, which are in turn packed in a further level of handling unit. So we have eaches packed in boxes, and boxes packed in a contain
-
I bought a film on my iPhone with a gift card. But I now want to download it on my iPad, will this cost me again?
-
How to Find and Restore Itunes Mini Lost music library?
Is there a way to retrieve my Itines music library? I have a Ipod mini. I deleted Quick time before having my computer hard drive cleaned of most programs. I then downloaded the new version of I tunes 7.1 which won't sync. It tells my I have a anothe