web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Business Portal Crystal Reports ASP.Net Error

(0) ShareShare
ReportReport
Posted on by

Environment: SharePoint 2010 hosting Business Portal for Dynamics SL 2011 FP1

Area of Business Portal: BP Project Center - Reports - Report Viewer of Crystal Report as deployed by Report Scheduler

Error in Windows Application Log on the server:

Log Name:      Application

Source:        ASP.NET 2.0.50727.0

Date:          3/20/2013 1:48:08 PM

Event ID:      1309

Task Category: Web Event

Level:         Warning

Keywords:      Classic

User:          N/A

Computer:      [SHAREPOINTSERVER.DOMAIN].local

Description:

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 3/20/2013 1:48:08 PM

Event time (UTC): 3/20/2013 5:48:08 PM

Event ID: 28f9d1f784614e828e40762df5aaca4a

Event sequence: 1318

Event occurrence: 7

Event detail code: 0

Application information:

   Application domain: /LM/W3SVC/378755435/ROOT-1-130082715602781516

   Trust level: WSS_Minimal

   Application Virtual Path: /

   Application Path: C:\inetpub\wwwroot\wss\VirtualDirectories\sharepoint.[DOMAIN]80\

   Machine name: ETGSP1

Process information:

   Process ID: 5640

   Process name: w3wp.exe

   Account name: [DOMAIN]\[APP POOL ACCOUNT FOR BP WEBSITE]

Exception information:

   Exception type: TargetInvocationException

   Exception message: Exception has been thrown by the target of an invocation.

Request information:

   Request URL: http://[DOMAIN]/BusinessPortal/Executable/ReportViewer.aspx?id=242&center=Project

   Request path: /BusinessPortal/Executable/ReportViewer.aspx

   User host address: XXX.XXX.XXX.XXX

   User: [DOMAIN\USERNAME]

   Is authenticated: True

   Authentication Type: NTLM

   Thread account name: [DOMAIN]\[APP POOL ACCOUNT FOR BP WEBSITE]

Thread information:

   Thread ID: 6

   Thread account name: [DOMAIN]\[APP POOL ACCOUNT FOR BP WEBSITE]

   Is impersonating: False

   Stack trace:    at System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)

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

  at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)

  at System.Runtime.Serialization.ObjectManager.DoFixups()

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

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

  at System.Web.Util.AltSerialization.ReadValueFromStream(BinaryReader reader)

  at System.Web.SessionState.SessionStateItemCollection.ReadValueFromStreamWithAssert()

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

  at System.Web.SessionState.SessionStateItemCollection.get_Item(String name)

  at System.Web.SessionState.HttpSessionStateContainer.get_Item(String name)

  at System.Web.SessionState.HttpSessionState.get_Item(String name)

  at Microsoft.BusinessPortal.ReportsPages.CR.ReportViewer.Page_Load(Object sender, EventArgs e)

  at System.Web.UI.Control.OnLoad(EventArgs e)

  at System.Web.UI.Control.LoadRecursive()

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

When a user attempts to navigate the Group Tree or click on an expandable item within the report, the Report Viewer hangs with a message box stating: "Please wait while the document is being processed." and the error above is registered in the Windows Application Log.

Also, when a user attempts to export the report, the error is logged as well and an ASP.NET error is displayed within the Report Viewer web part:

Server Error in '/' Application.

--------------------------------------------------------------------------------

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) +396

[CrystalReportsException: Deserialization failed.  You need to run "rassdk://E:\Program Files\Microsoft Dynamics\Business Portal\Applications\ReportsCatalog\SampleReports\87163c56-92a6-43a7-80f0-f0a0e517a124.rpt" on a Report Application Server.]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  Microsoft.BusinessPortal.ReportsPages.CR.ReportViewer.Page_Load(Object sender, EventArgs e) +186

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

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

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

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.5466; ASP.NET Version:2.0.50727.5456

Any insight would be most welcome.

-Casey

*This post is locked for comments

I have the same question (0)
  • Carolyn Kolpien Profile Picture
    on at

    Hi Casey,

    I see that you opened a  service request with support for this issue.  Perhaps when you get a resolution, please post it here so that it will help other users who might have the same issue in the future.  Thanks.

  • Community Member Profile Picture
    on at

    Carolyn,

    I will do so when we resolve the issue. Thank you for the follow up and hopefully I can pass on the information to help others as well.

    -Casey

  • chimera Profile Picture
    5 on at

    maybe something to do with a bad hotfix support.microsoft.com/.../941386

  • Community Member Profile Picture
    on at

    My support request resulted in determining that the 3rd party workflow software we installed created the problem because the issue started after its installation.

    I finally got a test copy of my environment set up and have tested removing the 3rd party software that was installed before this error started. However, that did not fix the issue.

    Chimera, thank you for the suggestion. I will check that out as soon as I get a chance.

    The other path I am going to try is re-installing .Net Framework 2.0.

    I will update this posting with my findings.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans