Skip to Content
0
Former Member
Mar 03, 2009 at 04:10 AM

Not able to see crsytal report preview in Distributed Environment, Gettin e

83 Views

Hi All,

I developed CR report using CR 2008, and integrated it with .Net 2.0, Its working fine in all the environments that we have except one environment. I'm not able to See the preview of Crystal report in that Environment but able to export the report to PDF format.

Details Of the Error is mentioned bellow:

My Application is working fine in In-Proc session, here we can see the preview, export to PDf format.

But when we are trying to See the report in Production Environment u2013 WebFarm (NT Cluster+SQL Cluster) which run in SQLSession. i'm not able to see the preview option. But when i'm exporting the same report to PDF format its working fine. Bellow is the error i got while i try for the preview options. kindly tell me solutions for this.

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

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: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

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:

[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]

CrystalDecisions.ReportAppServer.XmlSerialize.XmlSerializerClass.CreateObjectFromString(String bsXmlData) +0

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Deserialize(SerializationInfo info, StreamingContext context) +165

[CrystalReportsException: Deserialization failed. You need to run "rassdk://C:\FIFA\FIFAUI\CrystalReports\GTSRequestedTransportSummaryReport.rpt" on a Report Application Server.]

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Deserialize(SerializationInfo info, StreamingContext context) +309

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor(SerializationInfo info, StreamingContext context) +51

CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor(SerializationInfo info, StreamingContext context) +200

[TargetInvocationException: Exception has been thrown by the target of an invocation.]

System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context) +0

System.Reflection.RuntimeConstructorInfo.SerializationInvoke(Object target, SerializationInfo info, StreamingContext context) +108

System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context) +273

System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder) +49

System.Runtime.Serialization.ObjectManager.DoFixups() +223

System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) +188

System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) +203

System.Web.Util.AltSerialization.ReadValueFromStream(BinaryReader reader) +788

System.Web.SessionState.SessionStateItemCollection.ReadValueFromStreamWithAssert() +55

System.Web.SessionState.SessionStateItemCollection.DeserializeItem(String name, Boolean check) +281

System.Web.SessionState.SessionStateItemCollection.get_Item(String name) +19

System.Web.SessionState.HttpSessionStateContainer.get_Item(String name) +13

System.Web.SessionState.HttpSessionState.get_Item(String name) +13

FIFAUI.Reports.CrystalReportDisplay.Page_Load(Object sender, EventArgs e) +142

System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14

System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35

System.Web.UI.Control.OnLoad(EventArgs e) +99

System.Web.UI.Control.LoadRecursive() +50

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

________________________________________

Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082