cancel
Showing results for 
Search instead for 
Did you mean: 

Browser crashes when a ReportDocument object is created

Former Member
0 Kudos

Sorry for my bad English, I come from Germany

System:

Windows Server 2012 R2

Visual Studio 2010,

CRforVS_redist_install_32bit_13_0_19 installed

Source website:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<%@ Register assembly="CrystalDecisions.Web, Version=10.0.3300.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> Hello world</div>

<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" />

</form>

</body> </html>

Code Behind (VB):

Imports System.IO Imports CrystalDecisions.CrystalReports.Engine

Imports CrystalDecisions.Shared

Partial Class _Default

Inherits System.Web.UI.Page

Protected Sub Page_LoadComplete(sender As Object, e As System.EventArgs) Handles Me.LoadComplete

Dim tmpRD As New ReportDocument

End Sub

End Class

Description:

I make a new website with VS 2010.

I add the source you see above. No error message!

I press F5.

The browser opens, then comes a German message, which says: "WebDev.WebServer40.exe no longer works". I can then choose between 3 possibilities.
- Search for a solution online and close the program
- Close the program
- Debug program

I've searched the net a lot, nothing helped.
Many thanks in advance.

Markus Busch

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Don't use this:

Imports System.IO Imports CrystalDecisions.CrystalReports.Engine

Go to Project and add the .NET Assemblies:

Don

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello Don,

if you mean with KBA 1215387 this site https://apps.support.sap.com/sap/support/knowledge/public/en/1215387

I think, that is not my problem.

I made a screenshot from the message.

I have now even deleted the CrystalReportViewer from the site.

So it's a completely blank website.

In CodeBehind I simply instantiated the ReportDocument object with New.

Nevertheless, the error message comes.

If I leave the New, the error does not occur.

Best regards

Markus

PS

Could I have asked my question in German?

Do not worry, in this thread I stick to English.

There is indeed the Google translator

🙂

0 Kudos

Knowledge base Article, search for it, top right corner, click on the magnifying glass icon. enter in the number and search

Former Member
0 Kudos

Hello Don,

thank you for your answer.

I am very new here.

What means "KBA 1215387". I don't find anything here about this.

Best regards

Markus

0 Kudos

See KBA 1215387 on how to use Sessions and PostBack methods to keep the report in scope.

Don