Crystal Report Error with VB Studio.

Getting the following errors when Publishing my Project
Error     2     The install location for prerequisites has not been set to 'component vendor's web site' and the file 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0.msi' in item 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' can not be located on disk. See Help for more information.     c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets     3939     9     HellerMain
and
Error     3     The install location for prerequisites has not been set to 'component vendor's web site' and the file 'Crystal Reports for .NET Framework 4.0\CRRuntime_64bit_13_0.msi' in item 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' can not be located on disk. See Help for more information.     c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets     3939     9     HellerMain
I have a work around I copy the MSI to each machine however I want to include in the publishing of the program
Any Help?
Jim

Thanks Ludek,
Thanks I did that and now I get the following:
Warning     1     The value of the 'PublicKey' attribute in 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' does not match that of file 'C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0.msi'.     c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets     3939     9     HellerMain
and
Warning     2     The value of the 'PublicKey' attribute in 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' does not match that of file 'C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\Crystal Reports for .NET Framework 4.0\CRRuntime_64bit_13_0.msi'.     c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets     3939     9     HellerMain
any suggetsions?
Jim

Similar Messages

  • Crystal viewer is empty (Crystal Report Server with Visual Studio)

    Hello everyone,
    I've some issues to display a basic report from a Crystal Server 2013 and Visual Studio 2010
    Below, the code:
    WebForm1.aspx.cs
    CrystalReport's DLL are in revision 14.0.3500
    using CrystalDecisions.Enterprise;
    using CrystalDecisions.Enterprise.Viewing;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    SessionMgr sessionMgr = new SessionMgr();
    string username = "Administrator";
    string password = "password";
    string server = "server-name";
    string auth_type = "secEnterprise";
    EnterpriseSession enterpriseSession = sessionMgr.Logon(
                     username, password, server, auth_type);
    EnterpriseService enterpriseService = enterpriseSession.GetService("InfoStore");
    InfoStore infoStore = new InfoStore(enterpriseService);
    enterpriseService = enterpriseSession.GetService("RASReportFactory");
    Object psrfObject = enterpriseService.Interface;
    ReportAppFactory psReportFactory = (ReportAppFactory)psrfObject;
    string queryString = "Select * From CI_INFOOBJECTS "
                    + "Where SI_PROGID='CrystalEnterprise.Report' "
                    + "And SI_NAME Like 'TestRapportTexte'";
    InfoObjects infoObjects = infoStore.Query(queryString);
    InfoObject infoObject = infoObjects[1];
    ReportClientDocument client = new ReportClientDocumentClass();
    client = psReportFactory.OpenDocument(infoObject.ID, 0);
    CrystalReportViewer1.ReportSource = client;
    WebForm1.aspx
    <CR:CrystalReportViewer  ID="CrystalReportViewer1" runat="server" AutoDataBind="True"
                            Height="550px" Width="1300px" BestFitPage="False"/>
    The project has 7 references from Crystal:
    CrystalDecisions.CrystalReports.Engine
    CrystalDecisions.Entreprise.Framework
    CrystalDecisions.Entreprise.InfoStore
    CrystalDecisions.Entreprise.Viewing.ReportSource
    CrystalDecisions.ReportAppServer.ClientDoc
    CrystalDecisions.ReportAppServer.Controllers
    CrystalDecisions.Web
    Actually, I have no error and no exception but the 'CrystalReportViewer' is always empty.
    In the C# file, ReportClientDocument client seems OK with the ID and the name of the report.
    Thanks for your feedback

    Hi Marie
    As you are using RAS I'd like you to have a look at a sample application called "NET-CS2003 RAS-Managed BE115 Add Tool-Tip" available for download from here:
    Look at the code as used in the viewer.espx.cs page and pattern your code on that.
    For a summary listing of more sample apps, please see:
    Sample Applications for Business Intelligence Software Developer Kits
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    https://twitter.com/SAPCRNetSup

  • Crystal Reports Bundeled With Visual Studio 2008

    We are currently using the version of Crystal Reports that comes with Visual Studio 2008.  Many reports have 5-10 sub reports.
    We are running a ASP.NET application and this application passes to the reports a XSD File as the data source. It can take up to 5 minutes sometimes for a report to process.
    A couple of questions.
    1. Is there a concurrent user limit (I have read 3 or 5)
    2. Do the reports get queued up if more than 3 users are running a report?
    3. If we have sub reports does each report count as a "user" for example if we have one user on the machine and they run the report that has 10 sub reports, would that be hitting a user limit?
    3. Would upgrading to the 2008 version help us at all?
    Any other recommendations?
    Thank in advance!

    1. Is there a concurrent user limit (I have read 3 or 5)
    concurrent user limit is 3
    2. Do the reports get queued up if more than 3 users are running a report?
    + Yes. If you go to the Event viewer, you should be bale to see messages along the lines of; license not found, waiting x seconds+
    3. If we have sub reports does each report count as a "user" for example if we have one user on the machine and they run the report that has 10 sub reports, would that be hitting a user limit?
    + There are two distinct counts. Users, and print jobs. The print engine, can process 3 concurrent users. A print job, consists not only of the report, but also it's subreports. A page through is a print job. A search through the report is a print job. Print job limit is set in the registry and by default it is set to 70. The upshot of this is; if you have one report and one subreport in the detail section and the detail section has 100 records, you will run 1001 print jobs.
    4. Would upgrading to the 2008 version help us at all?
    Probably not. The same structure exists in CR 2008. Now, you say that you pass an XSD file to the report. Are you actually passing and XSD or a Dataset?_
    Finally, remember that if you have 10 subreport in a report, you are running 11 print jobs right there. If one or more of those subreports are in the detail section, the number of print jobs increases accordingly.
    For more information see the article [Crystal Reports Maximum Report Processing Jobs Limit  v2.doc|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Edited by: Ludek Uher on Dec 16, 2009 10:06 AM

  • Using Crystal Reports XI with Visual studio 2008 C#

    Hi,
    I am trying to add some reports which have been created to a C# web application using the Crystal Reports web viewer in Visual Studio 2008. The reports use SQL authentication instead of integrated authentication.
    Everytime the page with the report viewer is loaded, im prompted for my logon details. I dont want the end users to be doing this. How do i integrate the logon details into my application so that it doesnt keep prompting using C#?? Also i have parameters which produce a drop down box of available values...this does not work within the web application but does in Crystal Reports.
    Any help would be good with examples in C# please. Ideally i would like to hold the connection info in the web.config however i dont know if this is possible.
    Thanks
    Vish

    Hi Vishal,
    Here's a link to the platforms for SP5:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/907e6412-a7ac-2b10-23a8-f837fcc78a37
    If the link doesn't work then go to this one: Articles
    And select the the CR version and look for the specific patch level. If you don't have patches installed I would suggest downloading and installing to get up to SP5.
    It does not indicate .NET 2008 so it's not been tested, it may work but if you run into any issues we don't have an escalation path to get it fixed.
    Thank you
    Don

  • Crystal Reports 10 with Visual Studio 2010

    We have Crystal Reports 10, which I have installed. The viewer provided with the install runs fine. We have an application that has an embedded viewer.
    Then I'm just trying to get the simple C# sample code to run in VS2010, which is just a form with the viewer component reading an existing .rpt file. But I get a "Load report failed" error with no other details. Seems like it really should be simple. Any idea what I might be doing wrong?
    I'm running Win7 64, but compiling in x86 mode.

    Well, you have two options;
    1) Go with the version of CR that bundles with .NET2005 (CR 10.2)
    2) Go with CRVS2010 and VS2010
    CR10.0 is not supported in either .NET2005 or .NET2010. See [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/WhichCrystalReportsassemblyversionsaresupportedinwhichversionsofVisualStudio+.NET] wiki for more info.
    There are no work-arounds, no nothing that I can help with or recommend.
    - Ludek

  • An error in Crystal Reports Basic for Visual Studio 2008

    Greetings from Peru,
    We have a problem with one of the Crystal Reports products weu2019d like you to help us with. We work with Crystal Reports Basic for Visual Studio 2008.
    The error weu2019ve detected is in one of our systemu2019s reports; this report shows data inside frames. When the content to show is larger (in height) than the space left in the page, the container object of the report makes a line break keeping the title and the frame empty at the end of that page, but  the information is shown in the next page. What we need is that not empty frame is displayed.
    Weu2019ve tried to solve this problem by adjusting the report in different ways (by programming coding), but unfortunately this problem is related to how much data is displayed, because if this data fit in the space left in the page, the line break would not occurs and the data is shown at the end of the same page.
    We hope you can help us with this issue.  I look forward to your comments.

    All I can think of is trying CR 2008 (v.12.x). You can obtain an eval copy from here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    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 report error on Target Machine

    We have to provide application exe to our clients. The application is developed in Visual Studio.Net 2010 and by using SAP crystal report CRforVS_13_0. Client must be able to fire reports on their target machine on which the Dot Net framework and u201CCRforVS_redist_install_64bit_13_0_1u201C run time utility is installed. But it gives a crystal report error on the target machine.
    Our development and target machines have Win 7 Professional, 64-bit OS installed.
    Kindly provide us with an appropriate run time version for target machine in order to fire reports or any other solution in order to make our project work on target machine.
    Thanks!

    Thanks a lot Don for your valuable suggestions.
    We have already taken care of the points which you mentioned in your reply on development side. Also, we have downloaded crystal report from the link which you posted but on DEPLOYMENT side we are unable to run reports from our application.
    It gives the notification when we try to install crystal report on a target machine as "You must have visual studio 2010 installed in order to install the crystal report".
    The DEPLOYMENT problem we are facing is in RUNTIME environment on TARGET machine.  Our TRAGET machine has properly installed Win 7 Professional 64 bit,  .NET Framework Ver 4 and CRforVS_redist_install_64bit_13_0_1 . We also have properly installed application on this machine. We got no errors while installing any of the above. The problem starts when we fire a report on target machine from the application.
    We get the error as "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception"
    So, we are looking for an appropriate RUN TIME version of Crystal Report which can be installed on the target machine to fire reports (where visual studio 2010 is not installed).
    Please help suggest an exact version to download for target machine and the steps if it has a specific procedure.
    Thank you!
    Ruchir

  • Crystal Reports 2008 SP3 &VS Studio 2008

    Hi,
    i'm trying to use Crystal Reports 2008 with SP3, Visual Studio 2008 and OS Windows Server 2003 (I use this Server OS because i'm developing for Microsoft SharePoint).
    Before upgrading to Crystal Reports SP3 i could not set a basic Visual Studio C# Dataset as the Datasource of my Report. Everytime i get the following Error:
    Unknown Database Connector Error - Error in file temp_GUID.rpt
    Then i read theis forum and it was mentioned that maybe SP3 could solve this problem. But after applying CR 2008 SP3 the following Error occur (VS cancel the debug mode and this error is logged to the Windows Server-Log):
    Message: Could not load file or assembly 'crdb_adoplus, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)
    I'm using the following Code-Snippet:
    CrystalReport1 report = new CrystalReport1();
    NewsDataSet nds = new NewsDataSet();
    DataRow r;
    r = nds.Tables[0].NewRow();
    r["Title"] = "Title";
    r["Body"] = "Body";
    nds.Tables[0].Rows.Add(r);
    //Now the exception will be thrown
    report.SetDataSource(nds.Tables[0]);
    Maybe someone can help me to solve this problem.
    Thanks in Advance!
    Christian

    Well guys,
    i spent the whole day with installing and uninstalling the CR2008 Service Packs with no success. My opion was that eventually the " CR2008 SP3 Full Build" from this download site
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    causes the error, but after applying SP1 the same error occurs.
    As a reminder the error text:
    Message: Could not load file or assembly 'crdb_adoplus, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)
    or
    Exception: System.UnauthorizedAccessException
    Message: Access to the path 'C:\WINDOWS\TEMP\temp_51231be7-4c43-40f1-b0ee-67e76414e046.rpt' is denied.
    StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.Delete(String path)
       at CrystalDecisions.CrystalReports.Engine.ReportClass.Dispose(Boolean bDisposeManaged)
       at CrystalDecisions.CrystalReports.Engine.ReportClass.Finalize()
    Maybe its a permission problem, but the ServiceAccount which performs the action has full control on the temp and CrystalReports Installation folder, so i don't know what to do else.
    Then i tried to  resolve the error, which occurs without any Service Pack:
    Unknown Database Connector Error
    Error in File temp_184c79e9-4eeb-41dd-9043-582b30ac7281 {82AF1B98-C271-4007-B793-723CCFD63FFD}.rpt:
    Unknown Database Connector Error
    Also with no success. I'm using the following Code-Snippets:
    Simple XML-Schema (xsd) because i don't use a Database and the data is generated dynamically:
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema id="NewsSchema"
        targetNamespace="http://tempuri.org/NewsSchema.xsd"
        elementFormDefault="qualified"
        xmlns="http://tempuri.org/NewsSchema.xsd"
        xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
    >
      <xs:element name="News">
        <xs:complexType>
         <xs:sequence>
            <xs:element name="Title" type="xs:string" />
            <xs:element name="Body" type="xs:string" />
          </xs:sequence>
        </xs:complexType>
    </xs:element>
    </xs:schema>
    Then i add this as an ADO.NET (XML) connection an i'm able to integrated the two fields in the report.
    Then i try to call the report with the following C#.Net Code:
    +DataSet ds = new DataSet();
    DataTable t = new DataTable("News");
    +DataColumn title = new DataColumn("Title");+
    +DataColumn body = new DataColumn("Body");+
    +title.DataType = Type.GetType("System.String");+
    +body.DataType = Type.GetType("System.String");+
    +t.Columns.Add(title);+
    +t.Columns.Add(body);+
    +ds.Tables.Add(t);+
    +DataRow drDataRow;+
    +drDataRow = t.NewRow();+
    +drDataRow["Title"] = "My Title";+
    +drDataRow["Body"] = "My Body";+
    +t.Rows.Add(drDataRow);+
    //the exception is thrown here
    report.SetDataSource(ds);
    Now i'm really frustrated because i don't know what to do to resolve this problems and i stuck with this errors for a couple of days now. Any further help or suggestions would be great.
    With kind regards,
    Christian
    Edited by: C.Kaiser on Oct 5, 2010 5:07 PM

  • Crystal Report: Error while Export to Excel

    We are using combination of Crystal Report 10 With
    J2EE, Below source code is working fine While
    exporting to PDF, MSWord, RTF format.
    if(selectedFormat.equals("MSWORD"))
    exportOptions.setExportFormatType(ReportExportFormat.MSWord);
    if(iPageFrom>0 && iPageTo>0)
    RTFWordExportFormatOptions RTFExpOpts=new
    RTFWordExportFormatOptions();
    RTFExpOpts.setStartPageNumber(iPageFrom);
    RTFExpOpts.setEndPageNumber(iPageTo);
    exportOptions.setFormatOptions(RTFExpOpts);
    But am getting following error while exporting report
    to Excel
    com.crystaldecisions.report.web.viewer.ReportExportControl
    Invalid post back event : {0}
    We would like to know, Is SDK feasible for exporting
    to excel or not ?
    If yes! then Please suggest us for same.
    Thanks In advance :)

    I will make sure that I am on the latest patch ie SP4
    https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
    You can find the rumtimes here:
    MSI:
    https://smpdl.sap-ag.de/~sapidp/012002523100008782532011E/cr2008sp4_redist.zip
    MSM:
    https://smpdl.sap-ag.de/~sapidp/012002523100008782522011E/cr2008sp4_mm.zip
    ClickOnce
    https://smpdl.sap-ag.de/~sapidp/012002523100008782442011E/cr2008sp4_clickonce.zip
    Recompile the app and then deploy.
    What is the .NET Framework used by the application?
    Method of deployment?
    OS where app is deployed, x86 or x64?
    Are you able to export the report from designer ie CR2008 Standalone?
    - Saurabh

  • Crystal Reports, version for Visual Studio 2010 Problem

    Dear all,
    I encounter a problem after installed the crystal report version for Visual Studio 2010. Once I call                              
                           ReportDocument.PrintToPrinter(1,False, 0, 0)
    The error message prompt:
    Report is unavailable(Index was out of range. Must be non-negative and less than the size of the collection. Parameter name:index)
    If I try
                             ReportDocument.PrintToPrinter(1,False, 1, 1)
    It can print the 1st page of the report.
    I also try to create a simple report. It works.
    After installed this version, my reports also encounter the same problem in Visual Studio 2008.
    My report has sub-reports. My PC is Windows XP.
    Anybody has idea on this issue!?

    Now you can set the various printer options using the PrintOutputController. I'm using a UI box to select the printer but your developer should be able to figure this out. If not you can include him in the e-mail, it would be fine to go direct. Of course you will stay in the thread:
         private void btnSetPrinter_Click(object sender, System.EventArgs e)
              System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
                CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptionsClass();
              // Use the next line if you need to, you'll ahve to test. Depends on how the reports were saved.
                //CrystalDecisions.CrystalReports.Engine.PrintOptions.DissociatePageSizeAndPrinterPaperSize = true;
                //CrystalDecisions.ReportAppServer.ReportDefModel.ISCRPrintOptions.DissociatePageSizeAndPrinterPaperSize = true;
                //pDoc.DefaultPageSettings = pgSettings;
                PrintDialog dlg = new PrintDialog();
                dlg.Document = pDoc;
                if (dlg.ShowDialog() == DialogResult.Cancel)
                    MessageBox.Show("Cancel Button clicked", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                else
                    CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions MYPRTOpts = new PrintOptionsClass();
                    if (rdoCurrent.Checked)
                        pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
                   // the next 3 lines may not be necessary.
                        MYPRTOpts.PrinterName = cboCurrentPrinters.Text;
                        MYPRTOpts.PaperSize = (CrPaperSizeEnum)
                            pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
                        MYPRTOpts.PaperSource = (CrPaperSourceEnum)
                            pDoc.PrinterSettings.PaperSources[cboCurrentPaperTrays.SelectedIndex].Kind;
                        MYPRTOpts.PaperOrientation = CrPaperOrientationEnum.crPaperOrientationLandscape;
                        //MYPRTOpts.PageMargins.Bottom = .1;
                        //MYPRTOpts.PageMargins.Top = .1;
                        //MYPRTOpts.PageMargins.Left = .1;
                        //MYPRTOpts.PageMargins.Right = .1;
                    else
                        pDoc.PrinterSettings.PrinterName = cboDefaultPrinters.Text;
                        MYPRTOpts.PrinterName = cboDefaultPrinters.Text;
                        MYPRTOpts.PaperSize = (CrPaperSizeEnum)
                            pDoc.PrinterSettings.PaperSizes[cboDefaultPaperSizes.SelectedIndex].Kind;
                        MYPRTOpts.PaperSource = (CrPaperSourceEnum)
                            pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
                    rptClientDoc.PrintOutputController.ModifyPrintOptions(MYPRTOpts);
                    //MessageBox.Show("Printer set.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
                    //MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    Thank you
    Don

  • Deploying crystal reports basic for visual studio 2008 for VB6

    My application has a module in .net and other in vb6.
    I have a problem on deploying crystal reports in client machines, for module in vb6.
    The vb6 application uses crystal viewer control obtained from crystal reports basic for visual studio 2008.
    What type of deployment should I use?
    Currently, I have a setup with prerequisite "crystal reports basic for visual studio 2008".
    But I think it misses the dlls crviewer.dll and craxddrt.dll, so I put them in setup and with the register COM options, and it works, but it's not working very well.
    When I open a form that uses crystal viewer, the setup (I have created) is lunched and says that have to restart machine. Then it opens the report, but the next time I use the application it does the same thing.

    Ok, thank's for the posts, they help so much.
    So I'm going to discard vb6 and move to .NET, but... there is a problem:
    Many reports have parameters that are asked before showing the report.
    The Crystal Viewer that is used in VB6 version isn't the same used in .NET.
    The viewer of VB6 asks the parameters in the way we want, however the .NET crystal viewer ask's the parameters in way that we don't like, because we have to do next -> next -> next...
    The links above show the diferences:
    VB6 ->  http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249249283702618322
    .NET -> http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249246459437178242
    There is a way to configure Crystal Viewer, so that parameters asking form will work like the vb6 away?

  • Keycode missing in Crystal Reports Basic for Visual Studio 2008

    I just upgraded from Visual Studio 2005 Professional to Visual Studio 2008 Professional (with SP1 installed also).  Crystal Reports Basic for Visual Studio 2008 is listed as installed under the VS Help dialog, but no key code is shown.  And when I attempt to open a Crystal Report, I get a dialog saying 'Please wait while Windows configures Crystal Reports Basic', which eventually terminates with an 'Invalid Keycode' message.
    I've tried repairing the Visual Studio install, and even uninstalling and reinstalling the whole thing.  To no avail.
    Other facts: My VS 2005 version still works with its version of Crystal Reports.  I am running Vista Professional.  Looking in the registry, under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | VSNET | Keycodes | CR9 NET, I see a Type REG_SZ with a data value in the form xxxxxx-xxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxx [6 chars-7 chars-26 chars].
    Help! How do I get Crystal Reports Basic for Visual Studio 2008 to work?

    Hi Elaine,
    Thanks for your response.  I do have versions of Visual Studio 2003 and Visual Studio 2005 on my machine, and the earlier versions of Crystal Reports worked with these versions.  In addition to the registry key I cited earlier (which I now understand is a VS 2003 version), there is an entry under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | 10.2 | Crystal Reports | KeyCodes | CR Ent.  I see that you are correct, and this corresponds to my VS 2005 installation (which still works).  However, there is NO entry under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | 10.5 (the CR  Basic for Visual Studio 2008 path you indicated).  There is an entry under HKEY_LOCAL_MACHINE | SOFTWARE | Business Objects | 10.5 | Crystal Reports, but it has only keys for ChartSupportPath, CommonFiles, DisablecheckForUpdates, and Path.
    The Windows\assembly folder has 25 files that are CrystalDecisions.xxx, version 10.5.3700.0.  This is consistent with my seeing 'Crystal Reports' listed as installed in VS 2008 Help.  But no KeyCode!
    I tried a complete uninstall and reinstall of VS 2008, without luck.  I can't clean my system of earlier verions of Crystal Reports, because I am still supporting a body of work that I did under VS 2005, and I can't convert all this stuff to 2008 -- at least until I have a fully working VS 2008 suite.  After this experience, I fear that if I were to uninstall an earlier version, i might never get it back!
    I've spend quite a few hours on this with no luck, so any help would be enormously appreciated.

  • Crystal Report Error while doing Email Billing

    After emailing approx. 497 invoices utilizing MS Dynamics, we are getting the following errors; In addition, we have to respond to numerous printing prompts presented by Crystal Report, v11.
    Error in ASI_SEND_MAIL_WITH_Outlook.
    Error: Object require error number: 424
    Error in ASI_OpenReport.
    Error: Invalid TLV record.
    Error Number: -2147206429
    What is causing the program to abort with the above Crystal Report errors?

    Hello,
    This may be caused by load. Where one report is not complete before the next one is called.
    It would be difficult to determine without having access to the source code.
    The trouble-shooting should be done by MS Dynamics since it is coming from inside their application and they can involve Business Objects if they have questions.
    Elaine

  • How to integrate Crystal Report 2008 with java

    Currently we are using Crystal Report XI with our application, it is working fine. Now we are updating to Crystal Report 2008.
    We have build our application in enterprise archive file. There is a web archive file(.war) file in the EAR file which contains the crystal report. Inside the .war file we have reports folder which contain jsps and rpt folder. the jsps folder contains the crystalreportviewers12 folder and .jsp files. The rpt folder contain the.rpt files. The WEB-INF which is at the reports folder leavel contains the classes and lib folder.  The crystal report jars are in the lib folder and the CRConfig.xml file inside the classes folder.  I replaced all the crystal report jar with Crystal Report 2008 jars, modified the web.xml and the CRConfig.xml file accordingly. When I opened the report it gave me an error.
    When the following line was execuated in the jsp:
    reportClientDocument.open(report, 0);
    it gave me following error:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: There is no server specified.---- Error code:-2147217390 Error code name:serverNotFound
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.do(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         at com.ibm._jsp._MessageStatusRpt.jbInit(_MessageStatusRpt.java:196)
         at com.ibm._jsp._MessageStatusRpt._jspService(_MessageStatusRpt.java:313)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:524)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:818)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
    [1/15/10 17:37:40:703 IST] 00000026 ServletWrappe E   SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /reports/jsps/MessageStatusRpt.jsp. Exception thrown : java.lang.NullPointerException
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.f(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.getReportSource(Unknown Source)
         at com.ibm._jsp._MessageStatusRpt._jspService(_MessageStatusRpt.java:314)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:524)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:818)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
    [1/15/10 17:37:40:703 IST] 00000026 WebApp        E   [Servlet Error]-[/reports/jsps/MessageStatusRpt.jsp]: java.lang.NullPointerException
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.f(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.getReportSource(Unknown Source)
         at com.ibm._jsp._MessageStatusRpt._jspService(_MessageStatusRpt.java:314)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:524)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:818)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)

    Hello Ted,
    As per the samples in the link provided by you I identified that the following statement was missing.
    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
    After adding this statement the jsp was not able to compile, it gave me an error:
    ReportClientDocument.inprocConnectionString cannot be resolved
    Now my queries are:
    1. What is Report Application server(RAS)?
    2. Is it required to set Report application server in JSP page? It was not required in Crystal Reports XI. If YES, then how to configure RAS inside our applications WAR file?
    3. I am using WebSphere Application Server for deploying the WEB Archive file (WAR file). The Crystal Reports 2008  library (JARS) are embedded inside the WEB-INF/lib folder. How to specify the RAS server inside thhe WAR file? Is it some XML configuration file which we have to keep at WEB-INF level? Or we have to modify the existing CRConfig.xml file?
    4. I would like to mention here that we have bundled crystalreportviewers12/ folder in our WAR file at the same level where reports JSP pages exits.
    Thanks in advance.

  • Crystal Report 11 with JSP

    Hi....
    Presently i am working on Crystal Report 11 with JSP. I am using the following code. But getting some error with this code. Please me about this error.
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page import="com.crystaldecisions.reports.sdk.*"%>
    <%@page import="com.crystaldecisions.sdk.occa.report.reportsource.*"%>
    <%@page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%
    String reportName="report1.rpt";
    try
         Object reportSource=session.getAttribue("reportSource");
         if(reportSource==null)
              ReportClientDocument oReportClientDocument=new ReportClientDocument();
              oReportClientDocument.open(reportName,0);
              reportSource=oReportClientDocument.getReportSource();
              session.setAttribute("reportSource",reportSource);
              response.sendRedirect("CrystalReportViewer.jsp");
         catch(ReportSDKException e)
                   out.println(e);
    %>
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 6 in the jsp file: /c.jsp
    Generated servlet error:
    The method getAttribue(String) is undefined for the type HttpSession
    An error occurred at line: 6 in the jsp file: /c.jsp
    Generated servlet error:
    ReportClientDocument cannot be resolved to a type
    An error occurred at line: 6 in the jsp file: /c.jsp
    Generated servlet error:
    ReportClientDocument cannot be resolved to a type
    Thanks & Regards
    Rama Rao

    Hi Debbie,
    Moved your post to the Legacy forum. Search here for more info. Lots of links and info for Delphi and what is no longer supported...
    Thank you
    Don

Maybe you are looking for