VS2008/VS2005 and Crystal Reports 2008 Developer

Hi,
1.) I am using VS2008 and Crystal Reports 2008 Developer. Are there any issues I need to consider when developing using both of the above? (or with VS2005)
2.) The confusion for me is in regards to the SDK. From what I understand from articles etc is that using CR 2008 dev we can use the .NET SDK or RAS SDK for development purposes?
3.) So downloaded the sample code for RAS .NET from [here|https://www.sdn.sap.com/irj/boc/businessobjects-samples?rid=/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375] and tried "DatabaseLogon_CS" example, as the option. It automatically opened in VS2005 (no problem) however it would not run.
I would get an error :
Failed to connect to server "localhost".
Error returned from Windows Sockets API : 0.
and line causing this is >>> rcd.Open(ref path, 0);
Code below:
        string sampleReportPath = @"C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\Samples\en\Reports\Demonstration\World Sales Report.rpt";
        object path = (object)sampleReportPath;
        // Create an instance of the ReportClientDocument.
        ReportClientDocument rcd = new ReportClientDocumentClass();
        // Set the location of the RAS server.
        rcd.ReportAppServer = "localhost";
        // Use the Open() method of the ReportClientDocument to open the report.
        rcd.Open(ref path, 0);
I have been able to open the RPT file by itself. So it does 'see' the database.
Reason why it would not run?
Any help would be appreciated. Thanks

If you're using the sample code from our website, make sure you have uncommented the InprocRAS option in the ConfigureCrystalReports method (see below). From your error description it seems like you're using the unmanaged RAS option, which requires a RAS server.
private void ConfigureCrystalReports()
        /* The following methods implement the same sample functionality in three different RAS
         * scenarios. Uncomment the method you would like to use.
         * - inprocRAS() logs onto a databse using RAS and SQL authentication.
         * - managedRAS() logs onto a database using RAS and SQL authentication from a managed RAS server.
         * - unmanagedRAS () logs onto a database using RAS and SQL authentication from an unmanaged RAS server.
         * Undocument the call to the method which applies to your appropriate RAS settings.
        DatabaseLogon_inprocRAS();
        //DatabaseLogon_managedRAS();
        //DatabaseLogon_unmanagedRAS();

Similar Messages

  • Integrating Crystal Report 2008 Developer with Visual Studio 2008 Standard

    I have Crystal Reports 2008 Developer version 12.0.0.683 on my computer. I also have Visual Studio 2008 Standard. I know the standard edition of VS 2008 does not have the bundled crystal reports, but since I bought the full version of CR 2008 separately, I figure I should be able to use CR within VS 2008. The problem I am facing is integrating Crystal Reports with Visual Studio, so I can create reports from within visual studio.
    Crystal Reports was installed first and then Visual Studio. As per suggestions on this and other forums, I repaired my installation of Crystal Reports, but that did not help. I then ran Visual Studio integration manager, but when I run it, it only detects Visual Studio as the currently installed IDE, but does not detect CR 2008. I downloaded service pack 2 for CR, but have not installed it yet. I do not want to install it if it is not going to help. I would also like to avoid uninstalling my copy of CR if at all possible.
    I am a newbie at development in visual studio. Any help will be highly appreciated.
    Thanks,
    Rajib

    Don't want to go against what Jason said as it may be correct - if we go strictly by the documentation provided (sorry Jason, Dan says...). However, here is something to try;
    Uninstall CR. Look for any left overs; c:\program files\business objects\... and delete all of that.
    Look in the registry for HKLM\software\business objects and remove the business objects entry.
    Download CR 2008 from here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    That is a trial version and I believe it is already at SP 1. Use your keycode to install. Once this is done, you should have the ability to use CR in .NET. I'd recommend you do apply sp 2 now also.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • SAP B1 Crystal Reports Add On and Crystal Report 2008

    Hi,
    I have posted the question at SAP Reporting Forum, but not much luck.
    The following reports is created in Crystal report 2008.
    From  http://help.sap.com/businessobject/product_guides/cr2008V1/en/CR2008_SP2_Fixed_Issues_en.pdf, I tnocie there could be moemry leak for Sybase Connectivity, but we are using ODBC.
    My client is using SAP 2007 SP00 PL49, SAP Crystal Report Add on is 2.0.0.7 and they have Beas 6.70.07
    They have encountered problem "The request cannot be submitted for background processing" after printing about 8 times of the same reports consecutively.  It is a work order reports which my clients prints for one operations at a time, with each operations generated 8 pages of output.  There are 5 jpeg on the report, which is not huge.
    Yes, I am aware there could be any problem related to that.
    What I notice is, on the workstation with SAP Business One client running, whenever user print a report named "Work Order", in the temp folder it creates one .rpt and 26 tmp files (Note that I have made up the number)
    Work Order {C0ECP901-C6F6.......}.rpt
    ~cpe{51DD9109........}.tmp
    ~cpe{71DD9109........}.tmp
    ~cpe{52DD9109........}.tmp
    ~cpe{53DD9109........}.tmp
    ~cpe{54DD9109........}.tmp
    At the moment, for a temporary solutions, everytimes when the error comes up, my client have to log off from SAP Business One, clear the temp folder and then relogin before they can print the same report.
    Anyone encounter the problem and manage to resolve. it.
    Edited by: Shwu Hua Gan on Aug 12, 2010 8:43 AM

    In case anyone is interested.
    I managed to drill down and get around with the following solutions.  Still in progress of monitoring, but seems to solve part of the problem.
    1. Open up the JPEG in Accessories--> Paint and notice that the JPEG is too big and cannot be seen without adjustting the scrolling bar.  Reduce the image size seems to work.
    2. The report is using dynamic graphic and reading JPEG path from a UDT with column 'type' and 'path'.  Subreport is used with record selection Type='Precheck'. When there was no Precheck type JPEG, it seems to crash.  We have asked client to add in type='precheck' and hyphen in path when it is not applicable.  In that sense, it will return something to the report.
    3. We also have subreport that read material issues.  when there was no material issue in the subreport, it crash.  So, we do the following:
    - section express - tick suppress blank section
    - right click subreport, tick suppress blank subreport.
    - in Subreport, at report option, we select suppress printing when no records.
    Note that workaround in point 3 does not seem to work for pictures.  So, it might be worth suppressing with formulas.

  • Crystal Report Server xi and Crystal report 2008 Barcode

    Hi, I have a crystal report server running (version xi) and have designed some reports using crystal report 2008.
    My problem is that I have used barcodes in the new reports and the server throws up an error about the barcode dll.
    Error message is
    Unable to retrieve Object.
    Error in File Report: Error in formula . 'BarcodeC39ASCII( ToText(CurrentFieldValue) )' UFL 'u2lbcode.dll' that implements this function is missing.
    Can I copy this dll to the server so that it runs ?
    Also, is there a crystal report server 2008, I dont see an install option on my CD?
    Is my only option to purchase Crserver 2008 ?

    Hi Philip,
    If you check in Crystal Reports designer when you created your formula,  you will notice in the 'Function Tree' of the Formula editor the DLL that responsible for 'Barcode39ASCII'.  The DLL is u25azalea.dll.
    Since this DLL was only shipped for CR2008 and not Crystal Reports XI there may be other dependencies.  As far as the location where it should be placed for CRS-XI,  it would most likely need to reside in:
    \Program Files\Business Objects\common\3.x\bin
    Regards,
    Wallie

  • Question - Best practice data source for Vs2008 and Crystal Reports 2008

    I have posted a question here
    CR2008 using data from .NET data provider (ADO.NET DATASET from a .DLL)
    but think that perhaps I need general community advise on best practice with data sources.
    In Crystal reports I can choose the data source location from any number of connection types, eg ado.net(xml), com, oledb, odbc.
    Now in regard to the post, the reports have all been created in Crxi 6.3, upgraded to Crystal XI and now Im using the latest and greatest. I wrote the Crystal Reports 6.3/ XI reports back in the day to do the following: The Reports use a function from COM Object which returns an ADO recordset which is then consumed fine.
    So I don't want to rewrite all these reports, of which there are many.
    I would like to know if any developers are actually using .NET Class libraries to return ADO.NET datasets via the method call or if you are connecting directly to XML data via whatever source ( disk, web service, http request etc).
    I have not been able to eliminate the problem listed in the post mentioned above, which is that the Crystal Report is calling the .NET class library method twice before displaying the data. I have confirmed this by debugging the class lib.
    So any guidance or tips is appreciated.
    Thanks

    This is already being discuss in one of your other threads. Let's close this one out and concentrate on the one I've already replied to.
    Thanks

  • Crystal Report 2008 SP3 and BO XI 3.1 conflict

    Hi every body,
    We have a BOE system:
    BO XI 3.1
    Oracle db 10g
    All running successful and can create some types of WebI report.
    But we also want reports with Crystal Report.
    1> So we install Crystal Report 2008 SP3 (without knowing the conflict error between BO XI 3.1 and Crystal Report 2008 SP3 and overwrite some .dll file). After installing, we can not create WebI report any more. And a error message box display: "DBDriver failed to load: C:\Program File\Business Objects\BusinessObjects ENterprise12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll ".
    2> We uninstall Crystal Report SP3. But this is not the solution. Still error because of missing .dll files.
    3> We open BO XI 3.1 setup and repair BO XI 3.1. Even we uninstall BO XI 3.1, delete all of its components and delete in regedit key. We install BO XI 3.1 again. Now we have full .dll file, not missing them any more. But when we open universe and click on Table browser, cannot fetching any tables.
    We set rights for Oracle DB user again. But still error: cannot fetching.
    4> We searched the solution for this problem on the internet. But not worked, no answer.
    Can somebody help me bring back the BOE system state again ? pls   :"<
    T______T

    Hi Paul,
    I hope I read your question right!
    Yes, It is possible to run XIR2 and 3.1 on the same server although it's not recommended by BO. You will need to make sure they are both pointing to different CMS databases and different FRS repositories, like you already mentioned you will need to specify different ports for the CMS db and Tomcat.
    Why not uninstall Business Objects XI R2 in your BO development environment or a spare server (if you have one), and do a clean install of XI 3.1 SP3.
    Tip: If you were already having performance issues with your XI R2 environment, I would seriously consider upgrading the hardware. XI 3.1 needs a bit more RAM and CPU than XI R2
    Regards
    Rim Geurts

  • Crystal Reports 2008, mySQL, JDBC, and ODBC

    Hello everyone.
    I have just spent a very challenging few days getting Crystal Reports 2008 Developer (advanced version) working with a mySQL data source.  I fell into several pits and narrowly escaped being eaten by monsters. I thought I'd share my experience to spare others the same trouble.  All the stuff I'm writing about here applies to the runtime as well as the Developer UI.
    I'm working on Windows Server 2008 R2, 64 bit, standard edition.  The mySQL server is 5.1.42. The mySQL ODBC connector is version 5.1.6.  You need the 32-bit version of this connector, even if you're on a 64-bit machine.
    Lessons learned:
    1. JDBC connectivity in Crystal Reports doesn't work correctly.  It consumes excessive memory when a report  requires lots of rows from a data base.  Don't even think about using it.
    2. Crystal Reports has a problem with ODBC for mySQL in which it sometimes gives a dialog box with these words in it.
    The alias requested 'SOME_TABLE_NAME', contains a combination
       of characters which is not considered to be valid.
    This error message come up when using items on Crystal's "Database" menu like "Set Datasource Location..."
    To fix this you need to make a registry change.  As far as I know this has to be done for each account on each machine running the Crystal Developer. (insert usual warning about registry editor). Find the key named:
    [HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports\Database
    Create a new string value named InvalidAliasCharList Give it this value:
    .:{}()@&$#^!*~|%\\\"
    Notice that the last two characters are backslash double-quote.
    Good luck.  It actually works pretty well now that it's working.
    If any other community member can offer corrections or better ways of coping with this stuff, please do!

    Good morning,
    I was wondering if I may ask some additional help...
    We're on version 14.0.4.738 RTM and we are having the same issue.... need to enter the alias as table name with a backslash, ie serparate_work_orders\ for login credential reasons, but all the regedits listed seem to refer to locations in the registry that dont exist.
    Version 14 have two "database locations" from what i can see called...
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseOptions
    and
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseServer
    I've applied the patch to both these locations and still no joy, same error message!
    Any ideas?

  • Crystal Report 2008 doesn't set  page size when export to excel file

    Hi,
    I am using Crystal Report 2008 Developer edition.
    At Crystal report design time setting the below page setup:
    Page Options -
       to A3(297X420 mm)
    Orientation --- Landscape
    and using the following code in .net (c#)
    I am using below format options to export in excel in .net 2005
    ReportDocument oReport = new ReportDocument();
    oReport.FormatEngine.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
    oReport.FormatEngine.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA3;
    if (aParamlist.ReportFormat == ReportFormatEnum.MicrosoftExcel)
    ExcelFormatOptions excel = new ExcelFormatOptions();
    excel.ExcelUseConstantColumnWidth = false;
    // Use detail section one as a guideline to determine column width
    excel.ExcelAreaGroupNumber = 1;
    //excel.ExcelAreaType = AreaSectionKind.Detail;
    excel.ExcelAreaType = AreaSectionKind.Detail;
    // Prepare exporting options
    ExportOptions export = oReport.ExportOptions;
    export.FormatOptions = excel;
    export.ExportFormatType = ExportFormatType.Excel;
    oReport.Export();
    when export to excel it doesn't set the Paper Size to  A3(297X420 mm).
    Is there any way to set the paper size while export to excel or in other formats also????
    Thanks & Regds,

    Hi,
    thanks for your email.
    This is not happening in development environment.It is setting the paper size anf paper orientation properly.
    this is happening in the production environment where only redist installation is done.
    thanks

  • How to overcome the Memory leakage issue in crystal report 2008 SP2 setup.

    I have developed the small windows based application tool with help of  Visual studio 2008 for identify the memory consumption of crystal report object. It helps to load the crystal report objects in the memory and then released the object from the memory. The tool simply does the u201CLoading and Unloadingu201D the objects in the memory.
    The tool will be started once u201CTest_MemoryConsumption.Exeu201D executed. The u201CTest_MemoryConsumption.Exeu201D consumes u201C9768 KBu201D memory before load the crystal report object in memory. It means, 9768 KB is normal memory consumption for run the tool.
    Crystal report object initiated by the tool and object help to load the report in memory once the tool initiated the crystal report object. Now u201CTest_MemoryConsumption.Exeu201D consumes u201C34980 KBu201D memory during the crystal report object creation and report load process. The actual memory consumption of crystal report object is 34980u20139768=u201C25212u201DKBu201D. 
    The memory consumption u201C34980 KBu201D will be continued till the end of the process. The memory consumption will be reduced to u201C34652 KBu201D from u201C34980 KBu201D once report load process completed. It means, u201C328 KBu201D memory only released from the memory consumption. Tool enables the Release command for the crystal report object. But crystal report object does not respond to the command and will not release his memory consumption.
    The memory consumption u201C34652 KBu201D will be stayed in the memory once job ends.  If i again initiate the crystal report object then it crystal report object start to consume the memory from 34652 KB.
    Database objects and crystal report objects are properly used in the tool. The object release commands properly  communicated to crystal report setup. But the u201CCrystal report service pack 2u201D setup unable to respond the commands which has enabled from .Net Tool.  Crystal report objects are properly initiated and disposed in the tool. But the crystal report unable to release from the server.
    The memory consumption will be reduced once the server restarted or kill the application.
    Crystal report 2008 and crystal report 2008 SP2 setup available in the server.
    Microsoft .Net Framework 2.0 SP2, Microsoft .Net Framework 3.0 SP2 and Microsoft .Net Framework 3.5 SP1 are available in the server,
    Could you please suggesst how to avoid the memory consumption keep increasing and  how to release the memory consumption  once the crystal object disposed???

    Hi Don..
    My case is different one. I hope, the problem with Run time Installation setup file (Crystal report 2008 Serivce Pack2 installer) which we installed in the server.
    Let me explain with Live scenario which our client faced in crystal report 2008 Service pack2 Installer.
    Our client is using a application to help to print their reports. The application is developed with Windows service.
    Windows service keep on running in the server. Windows service executes the client 's crystal reports( Labels Report, Stock  report) which designed for clients need and the reports will be printed from printer. 
    10 Same type report (Label Report) will be printed in 1 minute. Reports are not printing during non business hours. But the windows service keep on running.  Memory cosumption of application will be 160 MB in business hours.
    For Example, On Monday the application memory consumption starts with 160 MB. The Memory consumption will be reached 165 MB  in peak business hours. Then the memory will be ended in163 MB in the End of Monday. It means, The memory consumption will be in 163 MB during the non business hours. Reports will not be printed in non business hours.
    On Tuesday, the application memory consumption starts with 163 MB and it will be reached 168 MB during the peak hours. The Memory consumption will be ended in 165 MB in the end of Tuesday.  The same process contiues till friday. End of friday, the memory consumption of the application will be ended with 170 MB.
    Application Memory Consumption slowly increasing in the server. In 5 days, Memory consumption reached Threshold value (170 MB) of the server. Application gets hanged up once the memory consumption reached 170 MB. We got the error messages as "Attempted to read write protected memory " / "Not Enough memory for process".  If we restart server / If we restart the service then memory consumption of application get reduced to 160 MB.
    From the above scenario, We came know that the either the problem with Application object or the problem crystal report object. In the application, We have checked dispose methods of application objects completly. I am sure that  application objects are properly disposed in the application. I hope the problem not with application objects. The problem with Crystal report objects.
    Application properly communicates the dispose methods to crystal report objects. Crystal report objects are not released from
    the memory.
    Crystal report 2008 Serive Pack 2 setup installed in the server. 
    As you said, If Crystal report runtime is not released from memory then memory consumption keep increase???  In service oriented architecture application, how to unload the crystal report runtime??
    Do you any fix for this kind of issue??
    Willl Crystal report 2008 service pack 3 help on this issue??

  • Error in Crystal Reports 2008 Runtime Version = 12.2.3.467

    Dear Support Team
    <br />
    <br />
    I am making the setup for our application using InstallShield 2010.
    <br />
    <br />
    I recently updated the crystal reports 2008 runtime to version = 12.2.3.467.
    <br />
    <br />
    Based on this article
    <br />
    <br />
    <br />
    <br />
    Topic of the week (October 15, 2009)  
    <br />
    Date time field is blank when using ADO .NET dataset and Crystal Reports 2008, Service Pack 2.0
    <br />
    This is a new issue, very specific to CR 2008 and SP 2. Date time fields are stripped out of a report (or not
    <br />
    visible), if a report is consuming a .NET dataset which contains a date time field. A technical escalation has been
    <br />
    submitted and a work-around is detailed in note number 1392258
    <br />
    <br />
    <br />
    Since DateTime Column was not getting displayed in the deployment machine when running the report.
    <br />
    <br />
    So I downloaded the Crystal Report 2008 FP2.3 and merge module for the same and installed on my development machine
    <br />
    <br />
    where I am making the Setup.
    <br />
    <br />
    I am able to make the setup successfully without errors, but when I try to install the setup on the deployment machine I am getting
    <br />
    the errors as
    <br />
    <br />
    Error 1904.Module C:\Program Files\BusinessObjects\BusinessObjects Enterprise 12.0\win32_x86\CEReportSource.dll
    <br />
    failed to register
    <br />
    Same message pops up for N number of Crystal Dlls with message failed to register.
    <br />
    Even though as per article in your forums I am doing everything right.
    <br />
    I have correct Dll for VC++ 2005
    <br />u2022
    <br />
    Microsoft_VC80_ATL_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_CRT_x86.msm version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_MFCLOC_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_MFC_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_OpenMP_x86.msm; version 8.0.50727.762 
    <br />
    <br />
    With exactly same versions as mentioned in the article.
    <br />
    <br />
    I followed the article in your forum
    <br />
    Building a deployment project with Crystal Reports 2008 (12.1.0.892) SP1
    <br />
    Posted on Mar. 09, 2009 08:22 AM in Business Objects
    <br />
    The same sort of errors is coming but I am doing everything right as per that article.
    <br />
    <br />
    To Inform you further before updating crystal reports 2008 runtime to version = 12.2.3.467.
    <br />
    <br />
    Everything was working fine, only problem was that Date Time column was not displaying at runtime on the deployment
    <br />
    <br />
    machine.
    <br />
    <br />
    With Regards
    <br />
    Arshad
    Edited by: arshhb on Dec 29, 2009 7:11 AM

    Dear Mr. Williams
    I dont think this is the issue related to MS Installer. Still based on your suggestion I downloaded the latest MS Installer from Microsoft Website and Installed on my setup machine and made the new setup with zero errors and warning.
    The deployment machine is having full rights and so there is no security issues  related to installation even though to clear the confusion I installed the setup on three other xp machines the result was same even after installing the latest MS installer on those machines as well.
    I wanrt to remind it again since I was facing the DATE TIME column Issue problem in reports on deployment machines so I updated the Crystal Reports TO CRFP 2.3 EXE AND MSM as mentioned in your forums regarding this known bug that if datetime column is getting from dataset then that column was not getting displayed.
    From that time onwards I am unable to install the setup on the deployment machines and I am getting errors unable to register errors crystal reports dlls.
    Apart from that I downloaded Crystal Reports 2008 Fix Pack 2.3 - Redist Install  (cr2008_fp23_redist.zip)  from the download page but i can't open it I am gettinig the error message doesnt appear to be a valid archive.
    Please help me and provide me some solution regardeing the issue I am stuck with.
    With Regards
    Arshad

  • Crystal Reports 2008 in Windows Vista x64 + IIS7 DOESNT WORK!!!!!! HELP!

    Hi,
    I´m developing an application with Microsoft Visual Studio 2008 and Crystal Reports 2008 Professional
    (i´m not using the Crystal Reports 2008 for .Net basic)
    As I have Windows Vista x64, my ASP.NET applications run under IIS7, but for my surprise, Crystal doesn´t work under Vista x64 + IIS7. I got the following error:
    An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    When I run the same routine in an Windows Application the error doesnt occur. It only happens under Web Applications.
    I tested in a Windows Vista 32 bit and there´s no error....
    Crystal Reports 2008 does not work in II7 x64 ?
    Is there any solution?
    Please.... help me!!!!!

    Hi Fernando,
    Please read and follow the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] for future topic posts as yours violates the current policy.
    You will need to build your application to run in 32 bit only mode. This note explains how to do it:
    [Set app to 32 bit mode|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Jason

  • Internet Explorer7 Blocking Crystal Reports 2008 CrystalReportViewer Export

    Visual Studio 2008 (VS 2008)
    Crystal Reports 2008 (CR 2008)
    Production Server: Windows Server 2003
    Internet Browser: Internet Explorer 7 (IE7)
    Crystal Reports Version: 12.0.2000.0  on both development and production
    IE7 message: To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options.
    I am in the process of updating my websites from Visual Studio 2005 and Crystal Reports.NET 2005 to Visual Studio 2008 and Crystal Reports 2008.
    In VS 2005, when creating a PDF or exporting from the CrystalReportsViewer, IE7 does not block the creation/download of the PDF, nor the download of an export.
    Whereas, with VS 2008 and CR 2008 using the CrystalReportViewer  in IE7 blocks the creation/download of the PDF, and the download of an export.
    The message returned in the yellow box at the top of IE7 display window:   To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options.
    If I select down Download Fileu2026  from the options, I must restart the PDF or export. 
    If I show another report, I have the same problem, even if I have stated to download the fileu2026.
    1. What is different between the CrystalReportViewer versions?
    2. What is recommended to avert this problem without having users change their IE7 settings?
    I found this settings change at: http://support.dell.com/support/topics/global.aspx/support/dsn/en/document?journalid=63F807B28AEC39CEE040AE0AB6E15FC5&docid=182320
    Turn off the Information Bar for file downloads
    This procedure will allow Web sites to automatically prompt you when downloading files, bypassing the Information Bar.
    1. Open Internet Explorer.
    2. Click Tools on the menu bar.
    3. Click Internet Options...
    4. At the Internet Options window, click the Security tab.
    5. Click the Custom Level... button.
    6. Security Settings window Security Settings window, scroll down to Downloads in the Settings: list.
    7. Click to select Enable under Automatic prompting for file downloads.
    8. Click the OK button.
    9. At the Warning! message, click the Yes button to change the security settings for the zone.
    10. Click the OK button.
    You will now receive prompts directly from a Web site if it needs to download a file to your computer.

    Hi Don:
    Yes, this is an https:// site.
    This is using X500 accounts for security. Once logged in, the site is running on an anonymous local user account.
    On Internet Options | Security | Internet | Setting the security level as medium  on (the lowest I was able to go) in  IE7 does not allow the user to download without the message coming up. It even states on the side (- Prompts before downloading potentially unsafe content)
    Workaround has been:
    1. Set the site as a trusted site (Internet Options | Security | Trusted Sites | Sites | Add )
    2. On the Trusted Sites Zone | Security level of this zone | Custom levelu2026
    3. Downloads | Automatic prompting for file downloads u2013 change to Enable
    Thanks for your input.  I would like to resolve this issue. CrystalReportsViewer - Crystal Reports Exports/Printing methodology has been changed since Visual Studio 2005 .NET version. 
    Thank you for your input.
    Patti

  • Deploying Crystal Reports 2008

    Hi,
    I have both Visual Studio 2008 and Crystal Reports 2008 installed on my development PC.   I'm having issues deploying my applications since I installed Crystal Reports 2008. 
    Installing on x86 PCs, customers are having to install both:
        CRRedist2008_x86.msi
        CRRuntime_12_0_mlb.msi
    on 64-bit PCs, no matter what I try I can not get the reports to generate without an error of missing files or incorrect versions.
    I've tried CRRedist2008_x64.msi, (and practically every other possible download of service packs, install MSI files, etc, etc.)
    I also can't seem to get any version of merge modules working.  I get all kinds of errors like:
    "...Error merging 'CRRuntime_12_2.msm': Unable to merge data from the merge module because it conflicts with existing data in the package.  MergeModule: table='Directory' row='DesktopFolder' Database: table='Directory' row='DesktopFolder'     C:\Projects\iEnergy\Setup\Setup.vdproj     Setup ..."
    It seems having both Crystal Reports 2008 (version 12.x), and Visual Studio 2008 (version 10.x) has really messed things up.  There must be a simple way to deploy this on x86 and 64-bit PCs.  
    Telling customers to install multiple exe/msi files doesn't fly either.
    If someone could help clear all this up, I would be really grateful.
    Thanks,
    Glen.

    Hi Glen,
    Use the same Patch version of the redist packages as what you have installed on your DEV PC.
    You should search here first also, lots of help on distributing which should answer all of your questions also.
    First - CRRedist2008_x86.msi is for CR Basic for VS 2008. Not required.
    Second - CRRuntime_12_0_mlb.msi is the original release of CR 2008 runtime.
    Then your error indicates you are trying to install Service Pack 2.
    Check your project, all of the References should be Version 12.x.x.x. The second x indicates the service pack level so this must match with your DEV PC is also using.
    Second major change is in your Projects Properties change the CPU to x86 Only. CR 2008 does not have any 64 bit runtime, only 10.2 and 10.5 for VS but it's limited in what it can do in it's API list.
    Again search for 64 bit in this forum and you'll find lots of links on how to....
    Do not use the MSM's, if you do you also must also include the Windows C++ distribution packages.
    Bottom line is search here and you'll find all of your answers.
    Thank you
    Don

  • Using MS Access to Pull Up the Report Viewer - Crystal Reports 2008

    We recently purchased Crystal Reports 2008 Developer so that we can create standardized and feature rich reporting solutions for our company. Many of our current applications are developed in MS Access XP. It has been quite some time since I have worked in Crystal Report and it seems a lot has changed.
    One thing I remember is that there was an ActiveX control that could be added to an Access application, giving the application the ability to pull up a report in a separatre Crystal Viewer. I am having difficulties is finding an object in Access for Cyrstal Reports 2008 (Crystal 12) for the Report Viewer. Is there still such an ActiveX object available for MS Access applications?

    Thanks. I got it now.
    Now my problem is getting the crpe32.dll registered. I keep getting an error and the CrystalVCL example application fails due to not beign able to fnd the correct version.
    You'll have to treat me like I'm stupid on this one. I usually work in the over simplified Access application "development". So dealing with any real object oriented environment and any complex dll registering is a bit beyond me at this point. But I'm learning.
    I have two crpe32.dll's on my computer one is in C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
    And another is in C:\Program Files\Common Files\BusinessObjects\3.0\bin
    I have tried registering both of these and neither one will work. So, maybe that means that the're not supposed to be registered through regsvr32?

  • Crystal Reports 2008 - CR Runtime 12 issue

    We are developing our applications using VS 2008 and I also install the Crystal Reports 2008 developer edition. My project references all DLL's from Crystal Reports 2008 runtime (BusinessObjects\Common\4.0\Managed\dotnet2) to display CR reports in our GUI.
    However, I run into following problems when we walk through the assembly dependencies (our code traverse the dependency tree):
    - The dependency on BusinessObjects.Enterprise.Sdk, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304 cannot be found, which is referenced by CrystalDecisions.Enterprise.Framework
    - Some dll are reported to be using .NET 1.1 runtime (e.g. "BusinessObjects.Licensing.KeycodeDecoder.dll v1.1.4322").
    Where could I find the missing dependencies?
    We are targeting customer installing on .NET 2.0 framework. How could we get around those v1.1.4322 dependencies (through I believe that the Crystal Reports Runtime 12 might install those into our clients)
    Thanks
    Sai-Kit

    First, I never DIRECTLY reference those .NET 1.1 DLL's in my project.
    - understood and expected
    The CrystalDecisions.CrystalReports.Engine.dll however will try to load them as dependencies when my application is run. There is no way not to referencing CrystalDecisions.CrystalReports.Engine.dll.
    - no the CrystalDecisions.CrystalReports.Engine.dll ; will not try to load those assemblies. You can remove those assemblies from GAC. Your app will work just fine. I recommend you try this once you have removed the assemblies from your project..
    We need to deploy the application to our customer. If they only install .NET 2.0, they will ask why .NET 1.1 dll are installed into their computer (of course, as part of CR 12 runtime instead of our application). Also, why CR 10.5 is .NET 1.1 clean and CR 12 goes back to .NET 1.1??? My customer will have that concern after their upgrade.
    - As I mentioned twice now. The CR runtime (msm and / or msi files) do not install those assemblies. So your customer will not even get them installed. I recommend you try the install on a clean computer to see what actually gets installed.
    Ludek

Maybe you are looking for