Crystal reports viewer will not prompt for parameters

Help,
I can not get crystal report viewer to prompt for parameters when called from IIS 8 on Server 2012 r2
I can get crystal report viewer to prompt for parameters when run from vs 2010 built in web service.

Thanks,
The solution for me was to uninstall the latest crystal reports runtime 13.10.x and install 13.6.x instead.
Thanks anyway.

Similar Messages

  • Crystal reports 2008  will not allow multiple exports in a row

    I recently had service pack 3 and fix pack 3.3 updated to my system ( crystal 2008) to help correct a issue with mapi not populating addresses from outlook when trying to export a report.  I have a new issue. - sort of???
    Now when I try to export multiple reports in a row I still have the same issue. I can send 1 report out. But if i try to send another report out i have the same issue that I had with  mapi not populating the addresses field from outlook.
    To get past this I shut down crystal and then bring it back up and I can send (ONE) report again before the same thing happens. Does anyone know if there is  fix for this issue?

    Im not sure I agree with you designation that this report should be in the report DESIGN forum.  I
    My problem has nothing to do with report design in my OP.  The MAPI function (in crystal reports itself) will not populate addresses once I export 1 report.  When I try to export a second report that is when it quits works.  This is basically the same problem that a hot fix or fix pack corrected but now instead of now working at all. I can only export 1 report before the same mapi issue happens????

  • HT1595 Will not prompt for new password, if invalid password was entered

    Will not prompt for a new password after an invalid password was entered

    I am installing a Apple TV, when I select my router from the list it prompted me for the password. I entered an old password in error, so it would not connect. Now when I reselect my router it does not prompt for a new password, it uses the old incorrect one and does not connect. I need to be able to re-enter the correct one.

  • Report does not prompt for parameters when SeparatePages=False

    Hi all. We are using CR2008 Basic w/SP1 along with VS2008. Within our application, reports pull up fine and prompt for parameters using the CrystalReportViewer against the web service. SeparatePages is set to True. We want to change SeparatePages to False, but when I do that any report that should prompt for parameters is not.
    The reports were created in CR 8.5. We have upgraded them to CR2008 (open, refresh, save) which has greatly increased performance. With some further testing, I've discovered that if I take a report that doesn't currently have any parameters and add one via VS2008 report designer, it WILL prompt for the parameter when I run it in our application with SeparatePages=False.
    So I'm leaning that the problem has to do with the reports originally being created in 8.5. I've tried modifying an existing report with parameters, deleting parameters and re-adding, but I still can't get these to prompt for parameters with SeparatePages=False.
    Again, these same reports prompt for parms and work fine as long as SeparatePages=True.  I'm hoping someone might be able to shed some light on this. There are over 400 reports so re-creating them from scratch under CR2008 will be a painful option
    If I need to provide any additional information just let me know. Thank you!
    Sheila

    We are still working to resolve this issue. Testing has shown that for reports that don't return a lot of data, the prompt for parameters will display. But for larger reports, we just see the hour glass and the parameter prompt never displays. It's almost like the reports are trying to return the full dataset without any paramters being passed BEFORE it will prompt for parameters. This would explain why smaller reports will prompt and larger reports never will (?). Not sure that is what is happening.  Again, with SeparatePages=True we are immediately given the parameter prompt. With SeparatePages=False we run into the issue of no prompts.
    Here's the code behind if it help:
    ReportDocument report = new ReportDocument();
    try
        String rptFileName = @"App_Data\Reports\" + Request.QueryString.GetValues(0).GetValue(0).ToString();
        log.writeLog("Loading Report: " + rptFileName);
        String rptFile = Server.MapPath(rptFileName);
        report.Load(rptFile);
        report.Refresh();
        ConnectionInfo crConnectionInfo = new ConnectionInfo();
        log.writeDebugLog("ServerName : " + rProperties.ODBCSource);
        crConnectionInfo.ServerName = rProperties.ODBCSource;
        log.writeDebugLog("DatabaseName : " + rProperties.ODBCSource);
        crConnectionInfo.DatabaseName = rProperties.ODBCSource;
        log.writeDebugLog("UserID : " + rProperties.ODBCUser);
        crConnectionInfo.UserID = rProperties.ODBCUser;
        log.writeDebugLog("Password : " + rProperties.ODBCPassword);
        crConnectionInfo.Password = rProperties.ODBCPassword;
        foreach (CrystalDecisions.CrystalReports.Engine.Table table in report.Database.Tables)
            TableLogOnInfo crTableLogOnInfo = new TableLogOnInfo();
            crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
            table.ApplyLogOnInfo(crTableLogOnInfo);
    catch (Exception err)
        log.writeLog("Error Loading Report: " + err.ToString());
        this.lblError.Text = err.ToString();
        this.ErrorTable.Visible = true;
        this.ReportTable.Visible = false;
        return;
    CrystalReportViewer1.HasCrystalLogo = false;
    CrystalReportViewer1.ReportSource = report; // _serverFileReport;

  • Crystal report viewer does not observe the PaperSize and PageOrientation setting

    Hi:
    My application is a 3 tier application, where the WinForm client is connected to the WCF Services hosted in IIS server.
    The report is generated on server side using WCF service, and export as.rpt with data, the .rpt file is then sent to the WinForm client, the Crystal Report viewer is used to load the .rpt file for preview and print.
    On server side I've Microsoft XPS Document Writer installed and set as default printer. On the client side if the default printer is XPS or Nitro PDF creator, the report can be view and print correctly, report design in landscape will be able to show in the landscape in CR viewer, report design using custom paper size (e.g. Half Letter), CR viewer able to show it in Half Letter.
    The problem that I'm facing is when the default printer is set to HP LaserJet P1120 or others (I've tried Epson ESC/P Standard driver), the report is always shown in the portrait, and it will not be able to show in custom paper size either. Here is my code:
         Dim settings As New System.Drawing.Printing.PrinterSettings
         Dim rep as New ReportDocument
         rep.Load(sOutputFileName)     'The report is download from server and save in sOutputFileName
         SetReportPaperSize(rep, sPaperSizeName, False, settings) ' sPaperSizeName store the name of the custom paper used in the report
         CrViewer.ReportSource = rep
       Public Shared Sub SetReportPaperSize(rep As ReportDocument, paperSizeName As String, isHardCopy As Boolean, settings As Printing.PrinterSettings)
          Dim installedPrinters As Printing.PrinterSettings.StringCollection = Printing.PrinterSettings.InstalledPrinters
          Dim printers As New List(Of String)
          Dim sPrinter As String
          If installedPrinters.Count = 0 Then
             Return
          End If
          SetPrinterDefaultPaperSize(rep.PrintOptions, paperSizeName, settings)
          With rep.PrintOptions
             .PrinterName = settings.PrinterName
             .PaperSource = PaperSource.Auto
             If paperSizeName.Trim.Length > 0 Then
                .PaperSize = DirectCast(GetPapersizeId(paperSizeName, settings, rep.PrintOptions.PaperSize), CrystalDecisions.Shared.PaperSize)
             End If
          End With
       End Sub
       Public Shared Sub SetPrinterDefaultPaperSize(printOptions As PrintOptions, paperSizeName As String, settings As Printing.PrinterSettings)
          With settings.DefaultPageSettings
             If paperSizeName.Trim.Length = 0 Then
                . PaperSize = GetPaperSize (printOptions.PaperSize, settings)
             Else
                For Each size As Printing.PaperSize In settings.PaperSizes
                   If size.PaperName.EqualsTo(paperSizeName) Then
                      .PaperSize = size
                      Exit For
                   End If
                Next
             End If
             .Landscape = printOptions.PaperOrientation = PaperOrientation.Landscape
             .Margins.Top = printOptions.PageMargins.topMargin
             .Margins.Left = printOptions.PageMargins.leftMargin
             .Margins.Bottom = printOptions.PageMargins.bottomMargin
             .Margins.Right = printOptions.PageMargins.rightMargin
          End With
       End Sub
       Public Shared Function GetPaperSize(paperSizeId As Integer, defaultPrinterSettings As Printing.PrinterSettings) As Printing.PaperSize
          Dim settings As Printing.PrinterSettings = defaultPrinterSettings
          Dim result As Printing.PaperSize
          If settings Is Nothing Then
             settings = New Printing.PrinterSettings
          End If
          ' Default paper Size defined in the printer
          result = settings.DefaultPageSettings.PaperSize
          For Each size As Printing.PaperSize In settings.PaperSizes
             If size.RawKind = paperSizeId Then
                result = size
                Exit For
             End If
          Next
          Return result
       End Function
       Public Shared Function GetPapersizeId(paperSizeName As String, defaultPrinterSettings As Printing.PrinterSettings Optional defaultpaperSizeId As CrystalDecisions.Shared.PaperSize = CrystalDecisions.Shared.PaperSize.DefaultPaperSize) As Integer
          Dim settings As Printing.PrinterSettings = defaultPrinterSettings
          Dim result As Integer = defaultpaperSizeId
          If settings Is Nothing Then
             settings = New Printing.PrinterSettings
          End If
          If Not String.IsNullOrEmpty(paperSizeName) Then
             For Each size As Printing.PaperSize In settings.PaperSizes
                ' Height and Width in Printing.PaperSize is measure in hundredths of an inch
                If size.PaperName.EqualsTo(paperSizeName) Then
                   result = size.RawKind
                   Exit For
                End If
             Next
          End If
          Return result
       End Function
    Setting the PrintOptions.PaperSize and PageOrientation seem like no effect on the viewer. My code to load the report to CR viewer is much more complicated than the code I show above, I've a background worker thread to download the report, and when the worker thread finished download the report from the server, it will assign the report to CRViewer. Do the changes in report PrintOption before assign to CRViewe and after assigning to CRViewer make any different?
    I'm using VS2010, CR XI R2 (Version 11.5.3700.0). Please Help. Thanks
    Regards
    JC Voon

    Hi JC,
    CRXI R2 is a no go with VS 2010, these two are not compatible.
    With CR 11.5 use VS 2005.
    Or Use VS 2010 and CR for VS 2010 (13.0)
    Once you have the supported / compatible conbination of CR and VS, use the In Proc RAS .NET code from below KBA.
    http://search.sap.com/notes?id=0001561333&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303031353631333333
    Also, see the KBAs returned by below search. The top right corner search box on this page is quite helpful.
    http://search.sap.com/ui/scn#query=crystal%252C+paper%252C+orientation%252C+.net%252C+sdk&startindex=1&filter=scm_a_site(scm_v_Site11)&filter=scm_a_modDate(*)&timeScope=all
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • Crystal XI viewer will not open in Internet Explorer

    I have a web site using ASP and we are using Crystal XI as our report program.  We developers have created the .msi file that is distributed to our QA and Production Servers so that all users can run reports and see them in Crystal Viewer using IE using any PC.
    The problem is that only we developers can see the viewer in IE.  Any client that runs the reports on a virgin machine (no Crystal loaded) only gets an IE window with a red "x" in the upper left hand corner.
    Does any one know why the viewer will not display?
    The .msi file I created holds these fiels:
    CrystalReports11_5_RDC_Licence.msm
    CrystalReports11_5_RDC_Runtime.msm
    CrystalReports11_5_RDC_ReportEngin.msm
    Microsoft_VC80_ALT_x86.msm
    Microsoft_VC80_CRT_x86.msm
    Plus a dll that is custom to us.
    Can anyone tell me what I'm missing?  As I said it works just fine (the viewer is show in IE) on any machine that has had Crystal Reports loaded prior to the run.

    Intermittent rights issues when trying to auto-deploy ActiveX controls on a machine is very onerous to resolve.
    Because of security concerns, typical corporate machines prohibit users from auto-downloading and installing ActiveX controls.
    When the ActiveX control is required on a machine that's locked down, the ActiveXViewer.cab file must be physically copied to the machine, and a user with administrator (preferrably local admin) rights must manually install the CRViewer.inf found in the cab file.
    CR.NET and Java Reporting Component has a HTML-based zero-client viewer, that do not encounter issues with ActiveX (unless the ActiveX print control need to be used for client-side printing).
    Sincerely,
    Ted Ueda

  • Infoview not prompting for parameters

    Hi all,
    quite basic question but I have spent hours on this now so decided to ask.
    I have a Crystal report based on BW query which has date range as mandatory variable.
    How do I control whether the Crystal report promts for that variable or not when opening. When I open the Crystal Report from INfoview it does not prompt for this parameter, although it did so previously.
    Is the setting with the paramter in the CR or with report options?
    thanks

    Hi,
    can you please check if the option Save data with the report is selected? You will find this under the File menu in the CR designer. If the option is selected then the report will not try to fetch data from the database when opened and therefore will not prompt you for the date variable. In this case you will have to refresh the report explicitely in the InfoView
    Regards,
    Stratos

  • The "next" button of crystal report viewer does not work

    hi
    I use crystal report viewer control to show my crystal report on my aspx page.
    like:
    <CR:CrystalReportViewer id="CRViewer" runat="server" HasRefreshButton="False" PrintMode="ActiveX" DisplayGroupTree="False"
    AutoDataBind="True"
    SeparatePages="TRUE"
    Height="520px"
    Width="900px">
    </CR:CrystalReportViewer>
    however when I try to navigate to next page by click "Next" arrow button on the crystal report viewer toolbar, it only can navigate to the page 2, whatever I click the "Next" button, it still stay on page 2,
    actually this report has 10 pages.
    On the other hand, if I input the page number, such as 5 on the "goto" textbox, it will jump to page 5 correctly.
    Could you give me any good advices to solve this problem?
    Thanks.

    There are a few threads discussing the issue in this forum. See if these provide some guidance:
    "Next Page" wont go beyond page 2 in Html Viewer (Crystal.NET for VS 2008)
    Re: Crystal Reports .NET Visual Studio 2005
    Problem in CrystalReportViewer
    Ludek

  • Crystal report viewer do not show on client computer installation

    hi
    hope all you are fine
    i develop a simple project that show "Hello word My First Crystal Report" on crystal report viewer. after this i add new project "setup and deployment". In Setup Project I add 4 files of .msm for show crystal report.
    1. CRRuntime_13_0_tr.msm  2. Microsoft_VC100_ATL_x86.msm
    3. Microsoft_VC100_CRT_x86.msm
    4. Microsoft_VC100_MFC_x86.msm 5. Microsoft_VC100_OpenMP_x86.msm
    when i install on developer computer. it runs successfully. when i install on client computer, software runs fine but crystal report did not show and having error "METHOD NOT FOUND VOID CrystalDecision.WINDOWS.FORMS.CrystalREPORTViewer.SET_CACHEDPAGENUMBERPERDOC(INT32)"
    i install .net frame work and CRforVS_13_0_9.exe on client computer but .net frame work show form but crystal report did not show. 
    Please Help

    Hello,
    For Crystal repot related question ,please consult on SAP Crystal report forum instead of here.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Not Prompting for Parameters in .jsp page

    Post Author: montgomm
    CA Forum: General
    We have defined an input parameter to our report and it will successfully prompt for the input parameter within the designer preview.  However, once we build a .jsp page to contain the report and load it to our server, when we run it, it never prompts for any parameters. It does display the report in the .jsp, but it appears to be always running for the last parameters that we entered for the report in the designer.Any suggestions on correcting this?Is there any good documentation on parameter passing in .jsp pages?

    Yes.
    You can create a form in one jsp and have it's value sent in a parameter key to another jsp file identified as the action target.
    Here is code for first jsp file (i.e. first.jsp). This will give you a text input box and a submit button labeled sendit.
    <form action=second.jsp>
    <input type=text name=filename>
    <input type=submit name=Submit value="SendIT">
    </form>
    Here is code snibit to get the param in the second jsp file (ie. second.jsp)
    StringBuffer theparam = new StringBuffer();
    theparam.append(request.getParameter("filename"));
    out.println("The second jsp got param=" +theparam);
    Hope you get it workin'
    Gregg

  • Crystal report Viewer Session times out for more data in Portal

    Hi All,         
         I am using below java SDK code to render a report in crystal report viewer. When i refresh report with more data(more parameter value) the server session times out in portal. Is there any way to fix this issue. The report loads data and then displays in Crystal report viewer, When more data is there the server times out as the server time is set to 60 sec. Is there any way to open the crystal report viewer as and when the report loads data to avoid server time out isse.
    Please help . Please let me know if I am missing something.. Thanks in Advance!!!
    CODE;
    <%@page language="java" contentType="text/html; charset=ISO-8859-1"
           pageEncoding="ISO-8859-1" session="false"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ParameterFieldController"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKException"%>
    <%@page
           import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
           <%@page import="com.crystaldecisions.report.web.viewer.*"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%>
    <%@page import="java.io.Writer"%>
    <%@page import="java.io.IOException "%>
    <%@ page import="com.crystaldecisions.report.web.viewer.ReportExportControl" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat" %>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.DatabaseController"%>
                  <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportSaveAsOptions"%>
           <% response.setHeader("pragma","no-cache");//HTTP 1.1
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.addDateHeader("Expires", -1);
    response.setDateHeader("max-age", 0);
    //response.setIntHeader ("Expires", -1);
    //prevents caching at the proxy server
    response.addHeader("cache-Control", "private"); %>
    <%
           String reportPath,Sharedpath;
           ReportClientDocument reportClientDocument;
                ParameterFieldController parameterFieldController;
                try{
                    reportPath = "reportlocation";
                 Sharedpath = "Target Location";
                    reportClientDocument = new ReportClientDocument();
                    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
                         reportClientDocument.open(reportPath, OpenReportOptions._openAsReadOnly);
                         reportClientDocument.getDatabaseController().logon("Dbname", "dbpassword");              
                         System.out.println("Connecting...");
                       parameterFieldController = reportClientDocument.getDataDefController()
                   .getParameterFieldController();
                    parameterFieldController.setCurrentValues("", "param 1",
                         new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29});
    parameterFieldController.setCurrentValues("", "Param 2",
                  new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23});
    reportClientDocument.saveAs("Target Report Name","Target Location", ReportSaveAsOptions._overwriteExisting);
           reportClientDocument.close();
           System.out.println("Finished...");              
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setPrintMode(CrPrintMode.ACTIVEX);
    viewer.setReportSource(Sharedpath);
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
                  System.out.println("Finished...");
           }  catch (ReportSDKException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
    %>

    Hi All,         
         I am using below java SDK code to render a report in crystal report viewer. When i refresh report with more data(more parameter value) the server session times out in portal. Is there any way to fix this issue. The report loads data and then displays in Crystal report viewer, When more data is there the server times out as the server time is set to 60 sec. Is there any way to open the crystal report viewer as and when the report loads data to avoid server time out isse.
    Please help . Please let me know if I am missing something.. Thanks in Advance!!!
    CODE;
    <%@page language="java" contentType="text/html; charset=ISO-8859-1"
           pageEncoding="ISO-8859-1" session="false"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ParameterFieldController"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKException"%>
    <%@page
           import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
           <%@page import="com.crystaldecisions.report.web.viewer.*"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase"%>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%>
    <%@page import="java.io.Writer"%>
    <%@page import="java.io.IOException "%>
    <%@ page import="com.crystaldecisions.report.web.viewer.ReportExportControl" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat" %>
    <%@page
           import="com.crystaldecisions.sdk.occa.report.application.DatabaseController"%>
                  <%@page
           import="com.crystaldecisions.sdk.occa.report.application.ReportSaveAsOptions"%>
           <% response.setHeader("pragma","no-cache");//HTTP 1.1
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.addDateHeader("Expires", -1);
    response.setDateHeader("max-age", 0);
    //response.setIntHeader ("Expires", -1);
    //prevents caching at the proxy server
    response.addHeader("cache-Control", "private"); %>
    <%
           String reportPath,Sharedpath;
           ReportClientDocument reportClientDocument;
                ParameterFieldController parameterFieldController;
                try{
                    reportPath = "reportlocation";
                 Sharedpath = "Target Location";
                    reportClientDocument = new ReportClientDocument();
                    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
                         reportClientDocument.open(reportPath, OpenReportOptions._openAsReadOnly);
                         reportClientDocument.getDatabaseController().logon("Dbname", "dbpassword");              
                         System.out.println("Connecting...");
                       parameterFieldController = reportClientDocument.getDataDefController()
                   .getParameterFieldController();
                    parameterFieldController.setCurrentValues("", "param 1",
                         new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29});
    parameterFieldController.setCurrentValues("", "Param 2",
                  new Object[] {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23});
    reportClientDocument.saveAs("Target Report Name","Target Location", ReportSaveAsOptions._overwriteExisting);
           reportClientDocument.close();
           System.out.println("Finished...");              
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setOwnPage(true);
    viewer.setPrintMode(CrPrintMode.ACTIVEX);
    viewer.setReportSource(Sharedpath);
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
                  System.out.println("Finished...");
           }  catch (ReportSDKException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
    %>

  • Conversion from VS2003 to VS2005 Crystal Report View is not compatible

    I am trying to migrate an application from VS2003 to VS2005.  I am trying to run it locally, using the localhost method.  I am getting a parser error: The base class includes the field u2018CrystalReportViewer1u2019 but itu2019s type (CrystalDecisionsWeb.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer)
    I have a tried a number of solutions, including removing and then readding Crystal Report references (picking the 10.2.3600 ones).
    I also created a websetup project, trying either the windows installer and the merge modules.  Those both gave me the error "The setup requires Internet Information Server 4.0 or higher and Windows NT 4.0, Windows 2000 or higher.  This setup cannot be installe don Windows 95, Windows 98, or Windows ME.  Please install Internet Information Server and run this setup again." so I guess I don't understand how localhost works, but I know it's not a true web server.
    I also followed a post to delete the assembly information that was in my web.config, which was      <add assembly="CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.ReportSource, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    and expected it to be readded when I re-added my references and rebuilt but there is now just an empty <assemblies></assemblies> tag.
    Note that I have VS2003, VS2005 and VS2008 all installed on my computer as we have application in various stages of conversions.  I think I just downloaded SP1 for Crystal Reports for VS2005 but it doesn't specify when I do Help-About in VS so maybe I didn't.
    I have spent so many countless hours and only just found this forum buried under the rather confusing SAP website.
    Thank you SO much for any help,
    Penny

    removing all of the references and adding the 10.2 references is a good start.  the problem is most likely that you still have a 9.1.5000 reference to CrystalDecisions.Web in the HTML source of your web form with a viewer control on it.  Easiest way to upgrade that is to delete the viewer control and drag a new one on from the toolbox.  the drag and drop of the viewer control is what will populate your "add assembly" tags.
    Dan

  • Crystal report on VB 6 prompting for Login even when logged on to SQL Server.

    Hi,
    I am migrating crystal report 8.5 to 11 in VB 6. I have used the following code.
    Components Used: Crystal ActiveX Report Viewer Library 11.0
    References Used: Crystal ActiveX Report Viewer Library 11.0 & Crystal Reports ActiveX Designer Design and Runtime Library 11.5
    Dim app As New CRAXDDRT.Application
    Dim rpt As New CRAXDDRT.Report
    Set rpt = app.OpenReport("C:\creditrisk.rpt")
    rpt.ParameterFields(1).AddCurrentValue (Now)
    rpt.ParameterFields(2).AddCurrentValue (Now)
    CrystalActiveXReportViewer1.ReportSource = rpt
    rpt.Database.LogOnServer "p2sodbc.dll", "AURORA_DB", "DATABASEMAIN", "userId", "xxxxxxxx"
    CrystalActiveXReportViewer1.EnableInteractiveParameterPrompting = False
    Me.Left = 0
    Me.Top = 0
    Me.Height = Screen.Height
    Me.Width = Screen.Width
    Me.WindowState = vbMaximized
    CrystalActiveXReportViewer1.ViewReport
    I am using the existing reports that has been designed to use ODBC connection DSN Name AURORA_DB. Even though i supply the logon credentials crystal reports still prompts the logon dialog box.
    Any help will be highly appreciated.

    Issue is you are using the old DB driver p2sodbc.dll, change this to crdb_odbc.dll and it should work for you.
    Also check the samples for new Database connection info and methods.

  • Crystal Report Viewer is not appearing after hosting on server

    Dear Friends
    I developed a web application in Visual Studio 2010, and my Database is SQL Server 2008 R2.
    I created reports using Crystal Report 13 in Visual Studio and my Operating System is Windows 7 32-Bit.
    All reports are running fine at my machine.
    When I copied published folder into "wwwroot" folder and hosted, all reports are working Good.
    Here i have my web application in "Default Web Sites" in IIS.
    Then After I added a new website in IIS with a port No. and created a virtual folder and hosted my web application.
    The application is running fine, But the problem is Reports are not appearing on Web Page.
    I have created an toolbar to export the report. And when I am exporting the report to PDF, It is working well and reports are exported successfully.
    I didn't understand why this is happening?
    Is this a problem of  port no. ?
    or
    Is this a problem of IIS?
    or
    Is this a problem of Browser?
    or
    Is this a problem with CrystalReportViewer?
    or
    something else?
    In fact I have the folder for  "C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13". for crystal reports.
    Dear All kindly help me in this issue, it is disturbing me since 5 days.
    All helps are appreciable.
    Thank you.

    Enter the following:
    viewer blank net crystal
    into the search box in the top right corner. You should get a number of hits (Kbases and articles) that should point you to a solution.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Crystal HTML viewer will not show embedded image from Infoview image store

    I am having an issue with the html and dhtml viewers not showing an image I have embedded inside a crystal report.  The image has been stored in infoview and embedded into the report from that source.  Using the Crystal ActiveX viewer works fine in this case and shows the image.  The html viewers however show the blank box with the red X in the top left corner when Internet explorer can't find an image.
    Now, if I right click on the image and get it's properties I get this URL:
    http://vsx2af0x/crystalreportviewers115/imagehandlerdotnetbridge.aspx?dynamicimage={B8FDE586-08D3-4A14-896C-0FE19AC3DB90}.png
    If I take that url and try to load it directly through Internet explorer I get the following error:
    Exception of type 'System.OutOfMemoryException' was thrown.
    The file is small and only about 20k in size.  If someone can help that would be greatly appreciated.
    Thanks

    Unfortunately I have been unable to remove the plug-in. The files is not locked, or shared, but my operating systems thinks it is.
    What happens, when you try?
    When I try to delete the plug-in from
         /Library/Application Support/Aperture/Plug-Ins/Google/Analog Efex Pro/
    with ⌘⌫, I simply get the pop-up panel to enter my administrator password, and the plug-in will be moved to the Trash:
    Don't forget to quit Aperture, before trying to remove the plug-in and to log off and on.

Maybe you are looking for