on 02-08-2017 4:30 PM
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
Don't use this:
Imports System.IO Imports CrystalDecisions.CrystalReports.Engine
Go to Project and add the .NET Assemblies:
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Knowledge base Article, search for it, top right corner, click on the magnifying glass icon. enter in the number and search
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See KBA 1215387 on how to use Sessions and PostBack methods to keep the report in scope.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.