Loading of crystal report
Experts,
I have created one form in SAP B1 Screen painter where there is a button called "Preview Report", on clicking of that I want one rpt to be opened. Any code is available for same? please help
you just comment out following lines.
oForm1.Items.Item("1").Click()
oForm1.Items.Item("1").Visible = False
oForm1.Items.Item("2").Click()
thanks & regards
B.Lakshmi narayanan
Similar Messages
-
An error has occurred while attempting to load the Crystal Reports runtime in deployed applications
My reports use to work but now i'm getting the following error on all reports in all the applications on my server
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.Hi Willingtolearnja,
This forum is for TFS, I'd like to know whether you use TFS and your question is related to TFS. It would be better to let us know more details about your scenario if it's related to TFS. If not, you might need to open a new thread in the proper tech forum
that your project related for a better response.
However, from the error message, you might use the wrong configuration for x86/x64 mode. Please change the configuartion and try again. Check the links below for more information:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/82e23647-7116-424b-b437-df0cb2be083d/an-error-has-occurred-while-attempting-to-load-the-crystal-reports-runtime?forum=vscrystalreports
http://stackoverflow.com/questions/19286630/an-error-has-occured-while-attempting-to-load-the-crystal-reports-runtime
Best regards,
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. -
Load Balancing Crystal Reports 10
Is load balancing Crystal Reports 10 supported? I have heard that it isn't and wanted to either confirm or un-confirm that statement.
If Load Balancing is supported what are the scenarios that would be supported?
Thanks.CR 10 is out of support and not enough info.
Why would you want to load balance Crystal Reports? Only one user can open the Report Designer to edit a report. Or have you figured out how to have more than one person using one computer at the same time? If so then refer to the licensing PDF file, each user must have his own copy of Crystal Reports installed or a keycode per user.
So No, Crystal Reports does not support load balancing.
But of course my answer is only answering what you asked.... which is likely not what you mean.
Please see the Rules of Engagement on how to submit a question.
Thank you
Don -
An error has occurred while attempting to load the Crystal Reports runtime.
Server Error in '/' Application. 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
Crystal Report is not working on webServer but It is working on local Saver
on Server i m getting this error
Message was edited by: Ludek UherIf you have your AppPool set for 32 bit then install the 32 bit runtime, if it's set for 64 bit then install the 64 bit runtime.
Try searching, lots of posts on this subject.
Don -
BW Query does not load to Crystal Report
Hi,
I'm trying to create a Crystal Report based on existing SAP BW queries. I followed the steps provided after installing the SAP Integration Kit. Checked 'Use MDX driver with support for multiple structures'.
On SAP menu > Create New Report from a Query.
Managed to login to the SAP server using my Logon credentials. Select the BW query and click OK.
The problem I have here is that the query never loads into Crystal Report with the Field Explorer. The cursor shows that the query is loading. I've tried on two different queries and it never loads unfortunately.
Please let me know if I missed out any steps or there are some issues with the connectivity. Any suggestions or ideas are appreciated. Thank you.Also you can view
Re: Function module "/CRYSTAL/MDX_GET_STREAM_INFO" not found.
Preview error function module "CRYSTAL/MDX_GET_STREAM_INFO" not found
Hope it helps.
Regards
Lalit k Tyagi -
Very slow loading time - Crystal Reports Viewer 2008
Hi,
I search this forum to find another thread regarding this issue. Since I've found nothing in particular, I started this one.
We are currently developping a new report engine based on the .Net Crystal Report Viewer. This engine will be used in our applications to show, print and export reports. We based the engine on the Crystal Report 2008 version (12.0.2000). The code is in C#, targeted on the Framework 3.5 SP1. For the CR runtime, we tested on machines with the SP2 and SP3 versions, as well as on a computer with Crystal Report Developper installed (v12.3.0.601) with no runtimes. Since the runtime is in x86 only, the engine is compiled in x86 (not ANY CPU)
When we try to open a report in an application, the first report loading is unusally slower than the others. If I open a report, close it and open it a second time, the second time is much faster than the first. While reading the threads, I realized that the first load implies some assembly loading from the Framework (which is normal).
But since i can take as long as 20-30 seconds to load the first report, I ran some test. Using the System.AppDomain.CurrentDomain.AssemblyLoad event, I've tracked the assemblies being loaded when opening the report and the start time of the loading. I've discovered that, while most of the CR assemblies takes less than 500 milliseconds to load, there is one that takes at least 3 seconds (20 seconds sometimes) to load : BusinessObjects.Licensing.KeyCodeDecoder. Each time I ran the tests, it is the assembly that is the slowest (and by far) among them all.
Prior to this, we were using Delphi with the Crystal Report 10 runtime. We never had such issues. Now, some customers are complaining about this behavior.
For you information, we are using the ReportDocument.Load() method to load documents. Our reports are all dynamically linked to the database with the DataSourceConnections.SetConnection() method. The report is being loaded in the viewer using the CrystalReportViewer.ReportSource property.
Why does it takes so long to load/execute ? Is there something implied with registry keys or Internet access ? Is there a way to speed up things ?
Thanks !Thanks for your help Don ! :o)
I know that the CR10 runtime was built on win32 and while I knew that the .Net version of the runtime would be slower due to the Framework and .Net architecture, we did not expect such differences between the two methods.
You are right that the hardware could play a great factor here, but since I work on this machine for a few years now and I saw the performance from the old CRPE32.dll and the new .Net counterpart, I am really surprised that there is such a difference. Most of our customers have entry-level desktops and our application always ran well on it, until now.
So, if it is the way that the CR 2008 runtime works, do you know if your developpers optimized this part with the next version (CR 2010) or it is based on the same engine ?
Thanks again for your time ! -
Crystal reports 2008 sp3 : An error has occurred while attempting to load t
Hello,
Please forgive me for posting in the CR .NET forum because we are using the full Crystal Reports 2008 product and I did not see a category for it. If there is a better forum for this question, please let me know or feel free to move it.
We are having trouble deploying our crystal reports 2008 reports to a Windows Server 2008 R2 server in an aspx application...
I have been working on this issue for 4-days and cannot seem to make any progress, so I would really appreciate your help.
Our Environment:
Development Computer (32-bit, WinXP)
VS2008 (fully updated, was not installed with its Crystal Reports feature)
Crystal Reports 2008 SP3 (downloaded and installed "cr2008_sp3_fullbuild")
Database Server (64-bit)
"SERVER2" is a Microsoft SQL Server 2008 server, fully updated
Web Server (64-bit)
"SERVER3" is a Microsoft Server 2008 R2 Web server.
We have an application that is installed on the Web server and it pulls data from the database server.
The webpages are accessing the database properly. There is a ShowReport.aspx webpage that has the
CrystalReportsViewer on it. We send parameters and logon information to ShowReport.aspx. ShowReport
works properly on our development computer and the report looks good, but it fails on the web server.
We downloaded CRRuntime_12_3_mlb.msi (X86) from SAP/CR and installed it on the web server without any issues.
Our application pool on the web server for this application is set to 32-bit mode. When I launch the
application, it works properly with the database and displays data on web pages, but when I try to
view a report on ShowReport, I get the following error message:
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) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium) that is required.
According to everything that I have read, I have properly matched the DLLs: On the development computer, "cr2008_sp3_fullbuild" was installed; On
the web server, "CRRuntime_12_3_mlb.msi (X86)" was installed. They are both Crystal Reports 2008 and not .NET. CR.NET was not installed on our development computer, so our application was built with full Crystal Reports 2008 SP3. On our development computer, .ENGINE is 12.0.2000.0 and
the same version is on the web server.
So, I am completely at a loss as to why we are encountering this error. Help, Please!!!
Thank you in advance,
MikeHi Mike,
Did you set your project for X86 mode only? If not do so and rebuild and deploy your app.
Thank you
Don -
Error while trying to load Crystal report via Windows service
Hi,
I am trying to generate PDF file using crystal reports. I have developed a console application which works absolutely fine, however when I converted the code to work as windows service (wcf hosted in Windows service), this below error I see from stack trace:
Load report failed.
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 AtDataWindowsService.GetData.generatePDF(DataTable dt)
The code used is:
CrystalDecisions.Shared.ExportFormatType exportFormat;
ReportDocument reportObj = new ReportDocument();
exportFormat = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;
//Load the Crystal Report
reportObj.Load("CrystalReport.rpt");
reportObj.SetDataSource(dt);
What might be going wrong here?Hello,
Thank you for your post.
Based on your description, I am afraid that the issue is out of support of VS General Question forum which mainly discusses
WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
I suggest that you can consult your issue directly on SAP Crystal Reports:
http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
for better solution and support.
Best regards,
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. -
Failed to Load database information - Crystal report with XML as datasource
Hello Friends:
I am getting the attached error when i try to load the Crystal Report with XML as data source.
I have designed the crystal report with the sample XML provided with XSD schema (PFA I have attached the XML and XSD). It is working as expected on design time. But it is failing when I load it from C# code.
Note: I have referred the following DLLs of version 13.0.2000.0 in my sample application.
CrystalDecisions.CrystalReports.Design.dll
CrystalDecisions.CrystalReports.Engine.dll
Please let me know what should be done in order to resolve this.
Thank you!All I know is that you are using 'SAP Crystal Reports, Developer Version for Visual Studio .NET". No idea what service pack or what version of .NET...
So. make sure you are on SP 9:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
Search for KBA 1525432 (search box is in top right corner) and follow the instructions there.
Remove your reference to CrystalDecisions.CrystalReports.Design.dll
Add the following references:
CrystalDecisions.Shared
CrystalDecisions.ReportSource
CrystalDecisions.Web (if web app)
CrystalDecisions.Windows (if win app)
I'd also recommend commenting out the export code for now; one step at a time. Get it to work in the viewer, then move on... No Big Bangs
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Needs a solution for loading Crystal Report
Hi.....
I have already desiged & loaded crystal reports through SAP B1 Main Menu.
But I need help (Code in C#.Net) for loading a crystal report template(already created) for a System form (eg; A/R Invoice) immediately after the form load by a menu click(means through UI interface)
and report generated by identifying the Forms Document Number.HI...
See this following link
https://www.sdn.sap.com/irj/sdn/businessone?rid=/webcontent/uuid/807d22cb-cb1d-2b10-8794-fb76d7feca88#section2
Regards
Billa 2007 -
Slowness in Loading Crystal Report
Hi Experts,
We are using Crystal Report 2008 with SAB B1 - 2007 B PL 13.
The Loading of Crystal report viewer and criteria window is too slow.
When we loads CR viewer for the first time it takes 30-40 secs to load. Criteria window takes another 20 secs.
For subsequent loading, Viewer takes 15-20 secs and criteria window takes another 15 secs.
Is this normal ?
If it is not what should be the normal?
Is there any tips to improve the performance?
Thanks and regards
Ajith GThanks Gordon,
We found out the real bottle neck. That was the Cytrix server.
By default there is a delay for CR to start for the first time. This attributes to loading of .Net dll files and connection to DB
Thanks and regards
Ajith G -
Crystal Report Viewer Not Releasing Oracle Database Connections
I have a very simple vb.net 3.5 web application that uses the Crystal Report viewer 2008 to open a report. My requirements are as follows:
1. Reports are built by another company and provided to us and used in a web environment
2. All reports contain parameter fields
3. The web application must be generic enough that a report can be added to a list and the user simply selects the report and provides database login information. The Crystal report viewer with handle the request for parameter values and prompt the user for their values.
4. All reports connect to an Oracle 10g server.
The above requirements have been meet and we have an extremely simple web application that runs the reports. It is working very well other than the crystal report viewer is not releasing the database connections. This is bad because the credentials are on a per user basis and that same user must login to a different oracle application simultaneously. They are being denied access because the credentials are already in use. We do not have control nor influence over the policies in use on the Oracle server. Ideally we would like to control the Crystal Report viewer so that it closes connections after use.
The web application code is:
Private Sub viewReports_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
If Not IsPostBack Then
ConfigureCrystalReport()
End If
End Sub
Private Sub ConfigureCrystalReport()
'Load the Crystal Report viewer with a report.
Try
Dim reportPath As String = Server.MapPath(Session("reportname"))
crViewer.ReportSource = reportPath
Catch ex As Exception
Response.Write(Server.MapPath(Session("reportname")) & "
" & ex.Message.ToString & "
" & ex.StackTrace.ToString)
End Try
End Sub
Can anyone shed some light on this topic? Thank youHello, Timothy;
By default, having the report in session will hold it open for 20 minutes.
If you create the report as a ReportDocument object you can take it out of session and release it more efficiently. That will release the connection.
Private Sub ConfigureCrystalReports()
If (Session("hierarchicalGroupingReport") Is Nothing) Then
hierarchicalGroupingReport = New ReportDocument()
hierarchicalGroupingReport.Load(Server.MapPath("Hierarchical Grouping.rpt"))
Session("hierarchicalGroupingReport") = hierarchicalGroupingReport
Else
hierarchicalGroupingReport = CType(Session("hierarchicalGroupingReport"), ReportDocument)
End If
myCrystalReportViewer.ReportSource = hierarchicalGroupingReport
End Sub
In the Form Unload of the Viewer:
'Take the report out of session
Session("hierarchicalGroupingReport") = Nothing
Session.Contents.Remove("hierarchicalGroupingReport")
'Clean up the ReportDocument object
hierarchicalGroupingReport.Close
hierarchicalGroupingReport.Dispose()
hierarchicalGroupingReport = Nothing
GC.Collect()
Elaine -
Ok - so i have developed a lot of reports with CRXI, SP2 in VS2008
I deploy these to the windows 2008 machine which has the _2005 MSI redistribution packages installed
If i'm on the machine (Terminal server into it), I get the reports -
If I use the web browser from my dev machine (or any others for that matter) I get these messages - what permissions do i need to set on IIS 7 to make these work????????????????
Sandy
Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 11/16/2009 12:47:20 PM
Event ID: 1334
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: xxx.xxx.com
Description:
An unhandled exception occurred and the process was terminated.
Application ID: DefaultDomain
Process ID: 3688
Exception: System.Runtime.Serialization.SerializationException
Message: Type 'CrystalDecisions.CrystalReports.Engine.LoadSaveReportException' in Assembly 'CrystalDecisions.Shared, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is not marked as serializable.
StackTrace: at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object obj, MemoryStream stm)
at System.AppDomain.Serialize(Object o)
at System.AppDomain.MarshalObject(Object o)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="49152">1334</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-11-16T19:47:20.000Z" />
<EventRecordID>910</EventRecordID>
<Channel>Application</Channel>
<Computer>xxx.xxx.com</Computer>
<Security />
</System>
<EventData>
<Data>An unhandled exception occurred and the process was terminated.
Application ID: DefaultDomain
Process ID: 3688
Exception: System.Runtime.Serialization.SerializationException
Message: Type 'CrystalDecisions.CrystalReports.Engine.LoadSaveReportException' in Assembly 'CrystalDecisions.Shared, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is not marked as serializable.
StackTrace: at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object obj, MemoryStream stm)
at System.AppDomain.Serialize(Object o)
at System.AppDomain.MarshalObject(Object o)
</Data>
</EventData>
</Event>
Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 11/16/2009 12:26:27 PM
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: xx.xxx.com
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/16/2009 12:26:27 PM
Event time (UTC): 11/16/2009 7:26:27 PM
Event ID: 17d6ffed2446461b9324cbea1c57fad6
Event sequence: 41
Event occurrence: 3
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/3/ROOT-1-129028729994690502
Trust level: Full
Application Virtual Path: /
Application Path: \
Machine name: xxxxxxxx
Process information:
Process ID: 3688
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: LoadSaveReportException
Exception message: 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.
Request information:
Request URL: https://172.16.0.185:443/Common/Reports/OrderReportAdmin.aspx
Request path: /Common/Reports/OrderReportAdmin.aspx
User host address: 172.16.0.6
User: 666666666
Is authenticated: True
Authentication Type: Forms
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 5
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
Custom event details:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-11-16T19:26:27.000Z" />
<EventRecordID>909</EventRecordID>
<Channel>Application</Channel>
<Computer>x.com</Computer>
<Security />
</System>
<EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>11/16/2009 12:26:27 PM</Data>
<Data>11/16/2009 7:26:27 PM</Data>
<Data>17d6ffed2446461b9324cbea1c57fad6</Data>
<Data>41</Data>
<Data>3</Data>
<Data>0</Data>
<Data>/LM/W3SVC/3/ROOT-1-129028729994690502</Data>
<Data>Full</Data>
<Data>/</Data>
<Data>C:\cccccccccc\</Data>
<Data>ttttt</Data>
<Data>
</Data>
<Data>3688</Data>
<Data>w3wp.exe</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>LoadSaveReportException</Data>
<Data>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.</Data>
<Data>https://172.16.0.185:443/Common/Reports/OrderReportAdmin.aspx</Data>
<Data>/Common/Reports/OrderReportAdmin.aspx</Data>
<Data>172.16.0.6</Data>
<Data>xxx.com</Data>
<Data>True</Data>
<Data>Forms</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>5</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>False</Data>
<Data> at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
</Data>
</EventData>
</Event>ok - i've changed the references to 10.5.xxx and have posted to the server
and web.config doesn't have references to 11.3 or 11.5 anywhere and installed cr2008.net merge modules
but i'm still getting
Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 11/20/2009 6:16:02 AM
Event ID: 1334
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: xxxx.com
Description:
An unhandled exception occurred and the process was terminated.
Application ID: DefaultDomain
Process ID: 1924
Exception: System.Runtime.Serialization.SerializationException
Message: Type 'CrystalDecisions.CrystalReports.Engine.LoadSaveReportException' in Assembly 'CrystalDecisions.Shared, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is not marked as serializable.
StackTrace: at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object obj, MemoryStream stm)
at System.AppDomain.Serialize(Object o)
at System.AppDomain.MarshalObject(Object o)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="49152">1334</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-11-20T13:16:02.000Z" />
<EventRecordID>966</EventRecordID>
<Channel>Application</Channel>
<Computer>xxxx.com</Computer>
<Security />
</System>
<EventData>
<Data>An unhandled exception occurred and the process was terminated.
Application ID: DefaultDomain
Process ID: 1924
Exception: System.Runtime.Serialization.SerializationException
Message: Type 'CrystalDecisions.CrystalReports.Engine.LoadSaveReportException' in Assembly 'CrystalDecisions.Shared, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is not marked as serializable.
StackTrace: at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object obj, MemoryStream stm)
at System.AppDomain.Serialize(Object o)
at System.AppDomain.MarshalObject(Object o)
</Data>
</EventData>
</Event>
and
Log Name: Application
Source: Crystal Reports
Date: 11/20/2009 6:17:58 AM
Event ID: 4096
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: xxxx.com
Description:
The description for Event ID 4096 from source Crystal Reports cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
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.
the message resource is present but the message is not found in the string/message table
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Crystal Reports" />
<EventID Qualifiers="0">4096</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-11-20T13:17:58.000Z" />
<EventRecordID>967</EventRecordID>
<Channel>Application</Channel>
<Computer>xxxx</Computer>
<Security />
</System>
<EventData>
<Data>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.
</Data>
</EventData>
</Event>
and
Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 11/20/2009 6:17:58 AM
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: xxxxxx.com
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/20/2009 6:17:58 AM
Event time (UTC): 11/20/2009 1:17:58 PM
Event ID: dd62de5b26e240ae9032798ed72bcef5
Event sequence: 15
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT-1-129031966481291828
Trust level: Full
Application Virtual Path: /
Application Path: C:\inetpub\CVIPhase4\
Machine name: SWCVI1
Process information:
Process ID: 1772
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: LoadSaveReportException
Exception message: 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.
Request information:
Request URL: https://172.16.0.105:443/CheckOut/quote.aspx
Request path: /CheckOut/quote.aspx
User host address: 172.16.0.106
User: xxxxxxx
Is authenticated: True
Authentication Type: Forms
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 6
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
Custom event details:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-11-20T13:17:58.000Z" />
<EventRecordID>968</EventRecordID>
<Channel>Application</Channel>
<Computer>xxxxxx.com</Computer>
<Security />
</System>
<EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>11/20/2009 6:17:58 AM</Data>
<Data>11/20/2009 1:17:58 PM</Data>
<Data>dd62de5b26e240ae9032798ed72bcef5</Data>
<Data>15</Data>
<Data>1</Data>
<Data>0</Data>
<Data>/LM/W3SVC/2/ROOT-1-129031966481291828</Data>
<Data>Full</Data>
<Data>/</Data>
<Data>C:\inetpub\CVIPhase4\</Data>
<Data>SWCVI1</Data>
<Data>
</Data>
<Data>1772</Data>
<Data>w3wp.exe</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>LoadSaveReportException</Data>
<Data>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.</Data>
<Data>https://172.16.0.105:443/CheckOut/quote.aspx</Data>
<Data>/CheckOut/quote.aspx</Data>
<Data>172.16.0.106</Data>
<Data>222222.com</Data>
<Data>True</Data>
<Data>Forms</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>6</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>False</Data>
<Data> at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
</Data>
</EventData>
</Event> -
Crystal Reports 2008 Redistribution on 64 Bit Server
I have a small application that uses Crystal Reports 2008 in not-integrated mode. Meaning that the .rpt files are seperate from the web application and the web application has to know the absolute path to the .rpt files before it can run them. My question is how do I deploy Crystal Reports 12 to a windows server 2003 x64 server? I have installed the redist.msi and the reports won't work I keep getting the following error:
Server Error in '/imacs' Application.
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.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: 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.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[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.]
CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +411
CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +220
[TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
imacs.imacs.viewPrint.lnkView_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\imacs\imacs\viewPrint.aspx.vb:186
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +131
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +140
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +39
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3215
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
My only guess is that there is some configuration I am not doing on the server. Can someone help me?I think the frustration is coming more from the combination of lack of support for x64 (quite surprising for such an established product) combined with a site that's very difficult to navigate and use (the BusinessObjects site).
We ourselves have also just invested a great deal of time in building some Crystal Reports for a pilot system for a large US Insurance Company and cannot choose to avoid a 64-bit target server. We deploy at the end of next week and though we can compile deliberately for 32 bit as outlined in your post, this causes all sorts of other issues with other assemblies we are using that are not binary compiled for a specific platform and that we cannot ourselves recompile.
To be concise, your posted solution is not really a solution unless a number of other assumptions are true that we all know in practical terms to be unrealistic for anything but the simplest of apps.
For us, pulling Crystal at this point is embarassing for the customer (they specifically requested that we use it) and for Business Objects, and creates a deadline crunch in our project plan as we convert to Telerik or some other x64 solution.
We will certainly follow up with phone support to see if there are other choices (doubtful), but given that you offer a trial version of Crystal 2008 I think it's remiss that there are no clear guidelines in a publicly-reachable forum that discuss in detail how to deploy completely to x64 including ensuring that other related issues to using a 32-bit compilation on x64 are mentioned/covered. I certainly can see that even an advanced developer would continue to hold out hope that there is some configuration option combination that will work.
Finally, can you provide any guidance on when Crystal Reports will catch up to Windows 2000, 2003 and 2008 and provide a 64-bit runtime? -
Changing the Crystal Report dependency from 10.2 to 11.5 using config file
Hi,
We have an windows application in .net 2.0, which refers to Crystal Report 10.2 version. Now the dependency was being upgraded to 11.5. But we do not have the exact source code for the executable to change the dependency from 10.2 to 11.5.
I have installed the CR 11.5 to the testing machine and tried to open the appilcation. it failed saying CR 10.2 dlls were missing
Then I changed the .net config files to change the dependency assembly as follows
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.ReportSource" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.Windows.Forms" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Now the application launched with out any issues. I thought the problem was sorted out.
But when I tried to generate the report, there comes the problem
During the report generation, I am getting the following error
Crystal Reports
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.
OK
I do not want to install the 10.2 redistributable in teh machine also do not want to re-compile the sources changing the dependency
Is there any way to achieve this ?
Any help is much appreciated.
Thanks
Edited by: Balaji Narasimhan on Aug 3, 2009 5:28 PMNo way that I know of. I believe once you change the dependency, you will have to recompile the project. Installing CR 10.2, may get this to work, but the app will most likely use the 10.2 references. Let's see if anyone else has any ideas.
Ludek
Maybe you are looking for
-
Here at KeySpan we are in the process of upgrading to Oracle 11i. We are also evaluating software packages for calculating sales and use tax in conjunction with Oracle Purchasing and Payables modules. How are other organizations doing this? Did you u
-
Can't drag clips into timeline (newbie warning)
I'm sure that this has been discussed previously on this board, but I couldn't find a post. Back to my problem: All of a sudden, the current project that I'm working on will not let me drag clips into the timeline. The clips turn to a "lite" color of
-
Is there a zoom SLIDER anywhere in Lightroom 5?
When developing photos, I want to be able to more gradually zoom in and out. Am I missing where there is a zoom SLIDER in Lightroom 5? (The stepped zoom is driving me crazy -- it's not subtle enough!) Thanks! C.H.
-
Patch set for oracle-8.1.5
Hi, Does anyone know where can i get patches for bug:883333 ==> import error where schema contains synonym. FYI, I'm currently using Oracle8.1.5 on AIX4.3.3. I'm already report this problem to Metalink but they still not upload the patches. TQ
-
Adobe Presenter 8 crashes on publish
When I try to publish my powerpoint in adobe presenter 8, I get an error that says PowerPoint has experienced a serious problem with adobe presenter add-in. I've seen several others having this issue and I have tried all of the things that have been