Skip to Content
0

Browser crashes when a ReportDocument object is created

Feb 08, 2017 at 04:30 PM

136

avatar image

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" %>

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Don Williams
Feb 09, 2017 at 04:30 PM
-1

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

Share
10 |10000 characters needed characters left characters exceeded
Don Williams
Feb 08, 2017 at 04:32 PM
0

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

Don

Share
10 |10000 characters needed characters left characters exceeded
Markus Busch Feb 09, 2017 at 04:29 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Markus Busch Feb 10, 2017 at 10:24 PM
0

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

:-)


fehlermeldung.jpg (51.5 kB)
Share
10 |10000 characters needed characters left characters exceeded
Don Williams
Mar 21, 2017 at 06:26 PM
0

Don't use this:

Imports System.IO Imports CrystalDecisions.CrystalReports.Engine

Go to Project and add the .NET Assemblies:

Don

Share
10 |10000 characters needed characters left characters exceeded