SAP Knowledge Base Article - Preview

1637455 - Conversion.ToReportClientDocument throws error "Attempted to read or write protected memory"

Symptom

  • Using the RAS .NET SDK Conversion.ToReportClientDocument()
  • Getting error "Attempted to read or write protected memory"

 

Inner Exception
---------------
Type : System.AccessViolationException, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Attempted to read or write protected memory.
This is often an indication that other memory is corrupt.
Source : CrystalDecisions.ReportAppServer.XmlSerialize
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite :
CrystalDecisions.ReportAppServer.XmlSerialize.ISPersistXml
CreateObjectFromString(System.String)
Stack Trace : at
CrystalDecisions.ReportAppServer.XmlSerialize.XmlSerializerClass.CreateObjectFromString(String bsXmlData) at
CrystalDecisions.ReportAppServer.Utilities.Conversion.ToReportClientDocument(String sObject) at
Drn.Portal.WebSite.PortalWeb.Reports.ASCX.ReportViewer.BuildReportDocument() at
Drn.Portal.WebSite.PortalWeb.Reports.ASCX.ReportViewer.OnInit(EventArgs
e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Read more...

Environment

  • Windows Server 2003 SP2
  • BusinessObjects Enterprise XI 3.1, SP2
  • Visual Studio 2008
  • RAS .NET SDK

Product

SAP BusinessObjects Enterprise XI 3.1

Keywords

KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.